For my use-case, I only need some specific fields (to the point where if I could, I would completely rewrite the mapping, but am leaving that as a last resort).
I tried removing some of the fields from the "dns.answers" array of objects, but what I did doesn't seem to have any effect:
Any ideas?
If rewriting the template/mapping of the index is the best choice, or perhaps using the Ingest Node Pipelines is a better approach, I'd love to hear it.
In addition, if you see I tried copying the "dns.answers.data" field to a separate field (like what is done in the dns.resolved_ip field), and this doesn't seem to work either.
The field configuration in the mapping is:
setup.template.overwrite: true
setup.template.append_fields:
- name: dns.txt_answers
type: text
level: extended
Also, here is the error I get:
Failed to copy fields in copy_fields processor: could not fetch value for key: dns.answers.data, Error: expected map but type is common.MapStr
I think it might have to do with the following issue:
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.