Forward Specific logs to another log destination
Posted: Wed Feb 16, 2022 12:00 pm
Hello!
I found the article about forwarding all logs to another destination via outputs and the following:
udp {
host => '192.168.1.190'
port => '514'
}
My question is, instead of forwarding everything, how can i forward specific logs? in example i have 10 log sources that i would like to specifically forward instead of everything? Can i do it by IP? would i have to filter instead? I would prefer to do it by source IP in the output config. HELP!
I found the article about forwarding all logs to another destination via outputs and the following:
udp {
host => '192.168.1.190'
port => '514'
}
My question is, instead of forwarding everything, how can i forward specific logs? in example i have 10 log sources that i would like to specifically forward instead of everything? Can i do it by IP? would i have to filter instead? I would prefer to do it by source IP in the output config. HELP!