[syslog-ng] How to send test syslog message to a local log file

Lin, Victor victor.lin at rbc.com
Sat Mar 2 23:05:30 UTC 2019


Dear All,

  Could you please let me know can I  do this?

  Would like to insert the following  test syslog messages
Feb  5 10:16:03 10.2.3.4 2019 Feb  5 15:16:03.560 UTC: %AUTHPRIV-5-SYSTEM_MSG: New user added with username victor - securityd
Feb  5 10:16:03 10.2.3.4 2019 Feb  5 15:16:03.561 UTC: %AAA-6-AAA_ACCOUNTING_MESSAGE: update:10.24.3.46 at pts/0:syslogtest:added user victor
Feb  5 10:16:03 10.2.3.4 2019 Feb  5 15:16:03.561 UTC: %TACACS-6-TACACS_ACCOUNTING_MESSAGE: update: 10.24.3.46 at pts/0: syslogtest: added user victor


to a local log file
/MyApp/syslog-ng/output/test.log

Thank you so much for your help!

VL



_______________________________________________________________________
If you received this email in error, please advise the sender (by return email or otherwise) immediately. You have consented to receive the attached electronically at the above-noted email address; please retain a copy of this confirmation for future reference.  

Si vous recevez ce courriel par erreur, veuillez en aviser l'expéditeur immédiatement, par retour de courriel ou par un autre moyen. Vous avez accepté de recevoir le(s) document(s) ci-joint(s) par voie électronique à l'adresse courriel indiquée ci-dessus; veuillez conserver une copie de cette confirmation pour les fins de reference future.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20190302/c2fefc2c/attachment.html>


More information about the syslog-ng mailing list