Greetings.
We have a firewall and some other sources sending data to our syslog
server and we would like to forward the original message from one of the
input sources to a supplemental log collector. In other words, I would
like to take logs from 192.168.1.1 and send it to two destinations.
You can do this pretty easily by having a ruleset with two actions in it, e.g:
ruleset ( name = dupe_logs ) {
action (
name = "send_to_file"
type = "omfile"
file = "/logs/mylog.log"
)
action (
name = "send_to_other_log_collector"
Thank you.
On 9/20/2017 1:28 PM, Andrew Griffin wrote:
You can do this pretty easily by having a ruleset with two actions in
it, e.g:
ruleset ( name = dupe_logs ) {
action (
name = "send_to_file"
type = "omfile"
file = "/logs/mylog.log"
)
action (
Dear community,
sorry if I'm re-posting here the GitHub issue
https://github.com/rsyslog/rsyslog/issues/1771 , I'm try to reach other
people that maybe had my same problem.
I'trying to build a centralized logging system using:
omkafka -> kafka -> imkafka -> omfile
The rsyslog sender
4 matches
Mail list logo