We have an index with so many data form different application.
we are currently looking for a way like schema restriction and not allow people to generate new field.
Is there any way to use logstash to lookup on a list or sql data lookup, then remove all the other field not on the list.
We had look at prune plugin, but we have thousands field out there.
We cannot use logstash config to deal with thousands of field name
Let me know if you need more explain
Appreciate it.
If you are writing data to elasticsearch you could turn off dynamic mapping. If you need to do it in logstash you would have to write it in a ruby filter.
Dynamic mapping is good. but not in this case.
If we enable dynamic mapping, then it will create tons of field.
But it you disable it, it will drop the record even there only have one field you don't want to
Currently we already have more than 7000 field.
We are try to find a good way to control it.
But we dont want to manage it manually.
To manage the template with thousands of fields is terrible
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.