I'm setting up a centralised logging system, comprising two VM's.
- Logger, which acts as the central syslog collector (using rsyslog) and Logstash processor; and
- Searcher, which acts as the Elasticsearch and Kibana host.
I have syslogs from my Wifi controller sent to logger, and being filed in /var/log/remote/wificontroller/*.log
Logstash is processing these logs, and they appear in Kibana.
However, they all have the hostname 'logger' not 'wificontroller', when the logs appear in Kibana. How can I have them sent with the correct hostname?
Many thanks, James