Skip to content

Hyphens ignored in script_block_text field - Powershell Logs #1776

@w0rk3r

Description

@w0rk3r

Fields that contain the information from PowerShell Script Block Logging events collected by the Windows integration currently use the Standard Analyzer/Tokenizer, which causes hyphens to be ignored.

This makes the following query (And any other that search for cmdlets) powershell.file.script_block_text : "Get-ChromeDump" to not work as an exact match, as shown in the following:

Should match:
image

Should not match:
image

Metadata

Metadata

Assignees

Labels

Integration:windowsWindowsbugSomething isn't working, use only for issues

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions