Thanks romain for the quick response,
I actually running winlogebeat as a service, and I didn't change anything with the actual permission. I simply restarted the service after a few weeks to implement some modifications.
Yeah sure, here you have :
###################### Winlogbeat Configuration ##########################
#======================= Winlogbeat specific options ==========================
winlogbeat.event_logs:
- name: System
- name: Application
- name: Security
ignore_older: 1h
fields_under_root: true
fields:
env: OPERATIONNEL
processors:
- drop_event.when.not.or:
- equals.winlog.event_id: 6
- equals.winlog.event_id: 104
- equals.winlog.event_id: 1100
[…]
- equals.winlog.event_id: 4803
- name: ForwardedEvents
fields_under_root: true
fields:
env: OPERATIONNEL
ignore_older: 1h
forwarded: true
processors:
- drop_event.when.not.or:
- equals.winlog.event_id: 6
- equals.winlog.event_id: 104
- equals.winlog.event_id: 1100
[…]
- equals.winlog.event_id: 4803
#==================== Elasticsearch template setting ==========================
setup.template.settings:
index.number_of_shards: 3
#index.codec: best_compression
#_source.enabled: false
#================================ General =====================================
tags: ["winlogbeat"]
#----------------------------- Logstash output --------------------------------
output.logstash:
The Logstash hosts
hosts: ["XXX.XXX.XXX.XXX:5044"]
Optional SSL. By default is off.
List of root certificates for HTTPS server verifications
#ssl.certificate_authorities: ["/etc/pki/root/ca.pem"]
Certificate for SSL client authentication
#ssl.certificate: "/etc/pki/client/cert.pem"
Client Certificate Key
#ssl.key: "/etc/pki/client/cert.key"
#================================ Processors =====================================
Configure processors to enhance or manipulate events generated by the beat.
output.console:
pretty: true
output.file:
path: "C:\winlogbeat\data"
filename: winlogbeat_debug.txt
processors:
- add_host_metadata: ~
- add_cloud_metadata: ~
#================================ Logging =====================================
Sets log level. The default log level is info.
Available log levels are: error, warning, info, debug
logging.level: info
logging.to_files: true
logging.files:
path: C:\winlogbeat\data
name: log-winlogbeat
keepfiles: 30
At debug level, you can selectively enable logging only for some components.
To enable all selectors use ["*"]. Examples of other selectors are "beat",
"publish", "service".
#logging.selectors: ["*"]
Ok, i will test that in the day
Yes, but unfortunaltely it is not my choice to use this version, personally I would have probably used the last one
I actually thought about it right after I sent my message, by the way I have an other question about this. I specify events ID in configuration file, but I see there is an event always forwarded (EventID: 7036), and he is not on my list. I did something wrong ?
Regards,