Avihu Hagag via rsyslog
2018-10-24 03:49:28 UTC
Hi guys,
I hope this the right forum.
I’ve created a template in rsyslog to take each output over UDP to different log file by host name.
Im having a small issue, when im testing netconsole and im crashing one of the machine by “ echo c > /proc/sysrq-trigger” its redirecting the all output to correct file except for what there’s in “Call trace” after “code”, and creating different file for each output after “code” in “Call trace”
This the output in “Call trace” after code:
“00 01 04 05 0f 1f 25 31 34 39 41 44 45 47 48 4c 55 5d 65 75 81 89 9b NULL PMD PUD SMP Trigger ae be c0 c3 c7 db e2 e5 e8 eb ef f4 f7 f8 ff”
And I don’t know why but its creating for each one in this output different fine.
Here’s my rsyslog configuration:
$template RemoteHost,"/var/syslog/hosts/%HOSTNAME%.log"
$RuleSet remote
*.* ?RemoteHost
All the other outputs are stored correctly in files.
Somehow rsyslog think that each one of this word is a hostname.
Please advise.
Get Outlook for iOS<https://aka.ms/o0ukef>
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.
I hope this the right forum.
I’ve created a template in rsyslog to take each output over UDP to different log file by host name.
Im having a small issue, when im testing netconsole and im crashing one of the machine by “ echo c > /proc/sysrq-trigger” its redirecting the all output to correct file except for what there’s in “Call trace” after “code”, and creating different file for each output after “code” in “Call trace”
This the output in “Call trace” after code:
“00 01 04 05 0f 1f 25 31 34 39 41 44 45 47 48 4c 55 5d 65 75 81 89 9b NULL PMD PUD SMP Trigger ae be c0 c3 c7 db e2 e5 e8 eb ef f4 f7 f8 ff”
And I don’t know why but its creating for each one in this output different fine.
Here’s my rsyslog configuration:
$template RemoteHost,"/var/syslog/hosts/%HOSTNAME%.log"
$RuleSet remote
*.* ?RemoteHost
All the other outputs are stored correctly in files.
Somehow rsyslog think that each one of this word is a hostname.
Please advise.
Get Outlook for iOS<https://aka.ms/o0ukef>
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.