Is there any solution how I could process multiple filds with a single processor using ingest node. For e.g. I would like to process
source.ip
dst.ip
ip
client.ip
I would like t process all of them using geoip and output to
David, one more question. foreach needs to receive an array field. Supposedly I want to process two fields source.ip and dest.ip - how do I provide it for foreach processor?
David, Thank you for this again - it seams to be a solution. However, Packetbeat returns fields in dot notation like dest.ip source.ip - once I use those fields - pipeline is failing - is there any way to convert dot notation in to something else? It would have to be done on Packetbeat level - unless I can convince ingest node to process dot notation fields.
" Expands a field with dots into an object field. This processor allows fields with dots in the name to be accessible by other processors in the pipeline. Otherwise these fields can’t be accessed by any processor."
I have tried rename but it had problem with dot notation also.
Below is a final pipeline which allow multiple use of the same processor and also allow processing of fields with dot notations like source.ip dest.ip as they come from Packetbeat.
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.