I'm working with Winlogbeat and I need event_data.CommandLine field to 'text' so I can run 'term' query on it and look for badness, I guess multi-fields is the way to go to add another field as text...
Trying to get my head around this without screwing up what I already have -
Why, even after running curl -XDELETE 'http://localhost:9200/winlogbeat-*'
are there still winlogbeat indexes in there from the last 3 days...
yellow open winlogbeat-2018.01.02 FcFuDnxrQBSs3FNOzxO9gQ 5 1 65529 0 72.6mb 72.6mb
yellow open winlogbeat-2018.01.03 W4Sk_zfqSlSp5L3yP_yAbg 5 1 89871 0 102.4mb 102.4mb
yellow open winlogbeat-2018.01.01 BulBR2ClQcqp3VOcVbXblg 5 1 12134 0 14mb 14mb
yellow open .kibana yPIY2NENSpOiseZ0JdrWwQ 1 1 17 9 80.1kb 80.1kb
Maybe it would make sense to officially change the event_data.CommandLine field to be a multi-field. I think most users would benefit from this change.
In Winlogbeat 6.x we generate the index templates for each specific ES version based on the data from fields.yml.
The fields.yml file is shipped in the root of the zip download package for Winlogbeat 6.x. Once the file is updated you can test the changes by looking at the generated index template by using:
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.