I assume that your issue is with the Logstash Netflow Module. That module was based on the v1.0.0 release of the ElastiFlow solution. ElastiFlow is currently on v1.2.0 and includes a number of enhancements and fixes that aren't in the Logstash Netflow Module, including the fix for application_id. So the easiest solution to your problem is just to use ElastiFlow.
NOTE: While not directly related to your problem, I recommend keeping the Logstash Netflow Codec up to date, even if you are not updating Logstash itself. This is achieved with the following command...
I found out about ElastiFlow while googling for this issue. Unfortunately I'm not only collecting netflow data so I need to stick with Logstash.
I'm using the netflow codec 3.9.0 however data output is still 20:xxxxx for the application_id field.
I've tried changing the type from string to keyword (seems to be the issue?) in /usr/share/logstash/modules/netflow/configuration/elasticsearch/netflow.json but in stdout I still get the incorrect data.
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.