Correct. But don't forget to increase the number of replicas if, in future, you do add another Elasticsearch node.
Please don't post images of text, they're impossible to search, hard for those of us with screenreader to read, and I can't quote them in my responses.
I suspect these fields should be of type keyword instead of text. How are you trying to search them?
The field beat.name is a text field, but the same information is also being indexed as a keyword field under the name beat.name.keyword. I think you should be using beat.name.keyword rather than beat.name in the aggregation that your search is trying to perform:
i've tried to search with beat.name.keyword and event_data.targetusername.keyword and no result in return but if i search with beat.username not in long period this i don't have the message.
A friend suggest me to add fielddata : true on the mapping and reindex to resolv this message on long period search. it is a good idea ?
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.