Hi there,
Getting to know Elastic stack here and I noticed that normal TCP reliability is not enough for my usecase where the device will be powered off suddenly at at arbitrary times. It looks like rsyslog RELP protocol is the solution and logstash seems to have a plugin for that too.
But how is that supposed to be used? I first had "normal" syslog input, like:
input {
syslog {
type => syslog
port => 9998
}
}
and then I could use filter like this for example
filter {
if [program] == "temp_sensors" {
grok {
But now when I installed relp plugin and say
input {
relp {
type => syslog
id => relpinput1
port => 9998
}
}
filters do not match to anything and from elastic DB I can see that it has really parsed and found only the message
field. Looks like the whole syslog metadata; program, priorities, facility etc. are not there
So the question is: How should I use the relp plugin so that logs are parsed like the syslog plugin does?