Can you please format your configuration using the </> button so it's easier to tell how it is indented?
Which version of Packetbeat are you using?
The dns processor with type: reverse (currently the only supported type) will take a field whose value is an IP and perform a reverse DNS query to obtain the domain that resolves to that IP.
The fields mapping here will take each source IP field (server.ip and client.ip in this example) and resolve each IP storing the resulting domain in the mapped field (server.hostname and client.hostname, respectively).
When you say it doesn't work, do you mean that the hostname fields are not being created, or are you getting an error?
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.