Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Winlogbeat] "Microsoft-Windows-PowerShell/Operational" case sensitive issue #37101

Closed
kowalczyk-p opened this issue Nov 13, 2023 · 3 comments
Closed

Comments

@kowalczyk-p
Copy link

I found that just like reported in issue #36670 also "Microsoft-Windows-PowerShell/Operational" channel is sometimes written as "Microsoft-Windows-Power s hell/Operational". This is problem because routing pipeline for Winlogbeat runs valid sub-pipeline only if channel name matches "Microsoft-Windows-PowerShell/Operational" exacly (case sensitive). As result some of important events are not parsed.

Routing pipeline from version 8.8.2:

[
  {
    "set": {
      "field": "event.ingested",
      "value": "{{_ingest.timestamp}}"
    }
  },
  {
    "pipeline": {
      "name": "winlogbeat-8.8.2-security",
      "if": "ctx?.winlog?.channel == 'Security' && ['Microsoft-Windows-Eventlog', 'Microsoft-Windows-Security-Auditing'].contains(ctx?.winlog?.provider_name)"
    }
  },
  {
    "pipeline": {
      "name": "winlogbeat-8.8.2-sysmon",
      "if": "ctx?.winlog?.channel == 'Microsoft-Windows-Sysmon/Operational'"
    }
  },
  {
    "pipeline": {
      "name": "winlogbeat-8.8.2-powershell",
      "if": "ctx?.winlog?.channel == 'Windows PowerShell'"
    }
  },
  {
    "pipeline": {
      "name": "winlogbeat-8.8.2-powershell_operational",
      "if": "ctx?.winlog?.channel == 'Microsoft-Windows-PowerShell/Operational'"
    }
  }
]
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Nov 13, 2023
@elasticmachine
Copy link
Collaborator

Pinging @elastic/security-external-integrations (Team:Security-External Integrations)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Nov 15, 2023
@efd6
Copy link
Contributor

efd6 commented Nov 15, 2023

This should have been fixed by #36899. That has not been backported, but will be available in 8.12.

@ebeahan
Copy link
Member

ebeahan commented Jan 31, 2024

Issue reported as resolved in #36899 and released in 8.12. If the issue persists in testing with 8.12, please feel free to re-open.

@ebeahan ebeahan closed this as completed Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants