Sorry Harsh, I didn't put my question properly
all the data I get from packetbeat has IP addresses
I would like that to convert to Name and then put it in elasticsearch
You cannot directly replace IP addresses with names because fields like source.ip and destination.ip can only contain IP addresses due to how they have been defined in Elasticsearch.
You could use source.domain and destination.domain to hold the names. Then you can optionally delete the IP fields.
How do you want to map the IPs to names? Like is this data coming from a reverse DNS lookup? Or a static table?
I was just woundering if there is any dns filter which can convert this IP to name
for example each event will have source.id and destination.id
and I can do lookup for that IP and save that name.
replacement is not required but can create source.host and destination.host.
I show this filter on documentation but didn't made any sense on how to use it.
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.