1- winlogbeat.event_logs :
2- - name : Application
3- ignore_older : 72h
4- - name : Security
5- - name : System
6-
7- # ==================== Elasticsearch template setting ==========================
8- setup.template.settings :
9- index.number_of_shards : 3
10-
11- # ----------------------------- Logstash output --------------------------------
12- output.logstash :
13- hosts : ['{{ .IP }}:5044']
14- ssl.certificate_authorities : ['{{.CA}}']
15- ssl.certificate : ' {{.ClientCert}}'
16- ssl.key : ' {{.ClientKey}}'
17- ssl.verification_mode : none
18-
19- # ================================ Processors =====================================
20- processors :
21- - add_host_metadata : ~
22- - add_cloud_metadata : ~
1+ winlogbeat.event_logs :
2+ - name : Application
3+ ignore_older : 72h
4+ - name : System
5+ - name : Security
6+ - name : Microsoft-Windows-Sysmon/Operational
7+ - name : Windows PowerShell
8+ event_id : 400, 403, 600, 800
9+ - name : Microsoft-Windows-PowerShell/Operational
10+ event_id : 4103, 4104, 4105, 4106
11+ - name : ForwardedEvents
12+ tags : [forwarded]
13+
14+ # ==================== Elasticsearch template setting ==========================
15+ setup.template.settings :
16+ index.number_of_shards : 3
17+
18+ # ----------------------------- Logstash output --------------------------------
19+ output.logstash :
20+ hosts : ['{{ .IP }}:5044']
21+ ssl.certificate_authorities : ['{{.CA}}']
22+ ssl.certificate : ' {{.ClientCert}}'
23+ ssl.key : ' {{.ClientKey}}'
24+ ssl.verification_mode : none
25+
26+ # ================================ Processors =====================================
27+ processors :
28+ - add_host_metadata :
29+ when.not.contains.tags : forwarded
30+ - add_cloud_metadata : ~
0 commit comments