Upgraded to elasticstack/Winlogbeats 7.2 and it's great! But I seem to have some conflicts in mapping somewhere and I'm not sure how to troubleshoot. In the past I could simply got to 'Index Patterns' hit the 'refresh field list' and everything worked. Now I'm not sure...
Once the template and everything was in place, I re-added logstash to the pipeline but in a very clear fashion..
Went ahead and created the index pattern and was good to go no conflicts...
So I went ahead and added logstash back to the pipeline but with a very simple...
input {
beats {
port => 5044
}
}
and an output
output {
elasticsearch {
hosts => ["ip_address:9200"]
user => "elastic"
password => "password"
index => "%{[@metadata][beat]}-%{+xxxx.ww}"
}
}
Now when I refresh the index pattern I created I get 3 conflicts
event.code
winlog.event.id
winlog.record_id
Soooo I had to delete the index pattern I created with just elasticsearch
and recreate one with the pipeline going through logstash.
winlog.event.id was a keyword in one and a long in the other??? I have no idea...
BUT it is all working now. Like my python coding... I have no idea why.
Assuming that you always install the index template prior to ingesting data from each new Winlogbeat version then this will ensure that you never run into mapping exceptions at ingest time due to schema changes.
It won't necessarily guarantee there are no conflicts in the Kibana index pattern, but I think there wouldn't be as many as you show above (particular for the new winlog fields which have not changed). You could delete the index pattern then recreate it with winlogbeat.exe setup --dashboards. The old fields that no longer exist won't be listed though. Another option is to delete the old indexes (or close them) and then refresh the index pattern.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.