We are currently sending our HAProxy logs to a syslog server using the “log” option of HAProxy.
We use Logstash as our syslog server and it will send the logs to Elasticsearch which we can read from in Kibana.
I would like to be able to see which log level (emerg, alert, crit, err, warning, notice, info, debug) the log line is for so I can sort on that in Kibana.
Would it be possible to append the log level to the log line or is there any other way to make the Logstash server aware of the level?
Thank you for reading this.