You are not logged in.
Pages: 1
Hi here,
I want to sent log on remote syslog server:
Client is connect to Server with tunnel.
I have a specific port on client (1515) on localhost to sent log.
I use logger and i have config rsyslog:
:msg,contains,"CLILOG" @@127.0.0.1:1515
Logger command:
echo CLILOG,SYSTEM,1,BOOTING,BOOTING | logger
Logger sent log on journalctl, is not working to remote.
But if i test with telnet on localhost 1515 and enter message, the log is correctly receive on my Server Log.
What do you think and how to resolve my trouble.
Thanks,
Last edited by SpX91 (2018-01-17 23:49:04)
Offline
Update,
If i test with this command :
logger --tcp --server localhost --port 1515 CLILOG,SYSTEM,1,BOOTING,BOOTING
Is working !!!!!!!
So....how to config logger to use my rsyslog config....:(
Last edited by SpX91 (2018-01-06 17:56:01)
Offline
So...Well done i have find.
The solution is on this file :
uncomment and put to Yes => ForwardToSyslog=yes
on /etc/systemd/journald.conf
Offline
Ok, so i come back for my trouble.
Now i have double LOG send to my remote syslog server....
ALL log i use CLILOG condition with logger send double log to my remote syslog.
I have read a thing it's say to disable ForwardToSyslog=yes to no....but...if i do that...nothing it's send.
Have you an idea ?
Offline
Ok, so i come back for my trouble.
Now i have double LOG send to my remote syslog server....
ALL log i use CLILOG condition with logger send double log to my remote syslog.
I have read a thing it's say to disable ForwardToSyslog=yes to no....but...if i do that...nothing it's send.
Have you an idea ?
Did you ever figure out your double log problem?
Offline
Pages: 1