Hello,
How can I change default name of Elasticsearch index in winlogbeat configuration?
I tried this but with no success:
winlogbeat.event_logs:
- name: MY-Log
ignore_older: 1h
processors:
- decode_xml:
field: message
target_field: xml_message
ignore_missing: true
ignore_failure: true
- drop_fields:
fields: ["host", "log", "event", "winlog", "message"]
setup.template.settings:
setup.kibana:
queue.mem:
events: 4096
flush.min_events: 500
flush.timeout: 10s
output.elasticsearch:
hosts: ["http://localhost:9200"]
output.elasticsearch.index: "customname-%{[agent.version]}-%{+yyyy.MM.dd}"