Is there a way to specify that filebeat use the local eth0 ip address as the source: field value instead of hostname? Right now I'm doing this by overwriting the field "source:" in each filebeat.input, but I'd like to reuse the same VM image for multiple instances and prebake filebeat in it (which prevents me from hardcoding the ip address using this work around I just mentioned).
@Kum No, but you could use an environments variables in the configuration, you will need to modify Filebeat startup script to populate this variable with the value of eth0 and filebeat will take the value from the environment.
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.