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

Powershell template for Winlogbeat #16018

Open
ChristopherKB opened this issue Jul 21, 2023 · 0 comments
Open

Powershell template for Winlogbeat #16018

ChristopherKB opened this issue Jul 21, 2023 · 0 comments

Comments

@ChristopherKB
Copy link

What?

A suggestion came from the community to add a sample winlogbeat template for Powershell to go along with the other templates we provide.

Why?

Agent templates make adding new log sources easier and reduce support requests both in the community and in commercial support channels. The more sample configurations available, the better. Customer submitted this configuration as a possible starting point.

# Needed for Graylog
fields_under_root: true
fields.collector_node_id: ${sidecar.nodeName}
fields.gl2_source_collector: ${sidecar.nodeId}

output.logstash:
   hosts: ["graylog_server_name:5044"]

path.data: C:\Program Files\Graylog\sidecar\cache\winlogbeat\data
path.logs: C:\Program Files\Graylog\sidecar\logs
path.module: C:\Program Files\Graylog\sidecar\module
 
winlogbeat.event_logs:

#PowerShell
   - name: Windows PowerShell
     event_id: 400, 403, 600, 800
     ignore_older: 48h
     processors:
      - script:
          lang: javascript
          id: powershell
          file: C:\Program Files\Graylog\sidecar\module\powershell\config\winlogbeat-powershell.js
     
   - name: Microsoft-Windows-PowerShell/Operational
     event_id: 4100, 4103, 4104, 4105, 4106
     ignore_older: 48h
     processors:
      - script:
          lang: javascript
          id: powershell
          file: C:\Program Files\Graylog\sidecar\module\powershell\config\winlogbeat-powershell.js

Your Environment

  • Graylog Version:
  • OpenSearch Version:
  • MongoDB Version:
  • Operating System:
  • Browser version:
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

2 participants