Can someone please help me on creating new Index name isntead of logstash-* or filebeat-*
Something like hashes-*.
I think I need to create my new mapping and then post it on elasticsearch? The thing happening here is since I already have logstash-* indices running creating new index name by creating fields in existing logstash indices.
May be I am wrong but I tried copying existing template from APImodifying it and trying to put using CURL but that is not happening. I am not so versed with MAPPING templates hence wanted to know what method I can follow to create my in index name so that fields won't get entangled in other indices.
That will work. It will only apply the default-dynamic mapping though.
If you want to use the same type of mapping that the logstash-* indices use, then you will need to copy the existing template and change it to match the new index pattern.
Also, please format your code/logs/config using the </> button, or markdown style back ticks. It helps to make things easy to read which helps us help you
Yep but I do have other indices running which is logstash-isnti-; now when I run logstash the fields from hashes- indices getting mingled in logstash-isnti-* indices.
I need to keep those completely separate and this is not happening.
Unfortunately this is not happening; since my data is being ingested by logstash the fields created by either of the indices are gettign appeared in both of the Indices.
Here is what I did -
Logstash is creating indices by name
isnti- [has fields "IOC","attack","Severity"]
and hash-* [has fields "hash","attack","Severity"]
Now Hash field is appearing in isnti indices as well and vice-versa. How to make them completely isolated?
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.