Answer the question
In order to leave comments, you need to log in
logstash. How to accept logs from different services for their further filtering?
There is a logstash receiving server on port n. All syslog's are poured there from all clients, including Apache, asterisk, postfix.
The udp listener listens and accepts the syslog type, which seems logical, but how can I then separate the type of received logs in order to further parse through grok? Pseudoconfig as I want:
input { udp {port ... type = syslog}}
filter {
if type == ["syslog"]
....
if type == ["asterisk"]
....
if type == ["postfix"]
....
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question