Host and syslogtag field report month and day?

You need additional help with phplogcon, then write into this forum.

Google Ads


Host and syslogtag field report month and day?

Postby tbadawy » Wed Sep 19, 2012 5:14 pm

Hi I'm logging syslog messages from an ASA but the HOST and SYSLOGTAG fields in the loganalyzer webpage show as Month and Day ie Sept(host) 19(syslogtag). If I tell the ASA to use emblem format the hostname is right but the syslogtag is jut a :. I get the message which is the important part but I need the host name and cant use emblem format from the ASA when using TCP and I don't want to use UDP. Also I have have tried templates found on the forum but cant get them to work. I dont get any messages when trying to use a template. I will give an example of the template and how I apply it:
$template cisco,"insert into SystemEvents (Message, Facility, FromHost, Priority, DeviceReportedTime, ReceivedAt, InfoUnitID, SysLogTag) values ('%msg%', %syslogfacility%, '%HOSTNAME%', %syslogpriority%, '%timereported:::date-mysql%', '%timegenerated:::date-mysql%', %iut%, '%syslogtag%')",SQL
*.* :ommysql:127.0.0.1,Syslog,rsyslog,password;cisco
Any sugestions on how to correct this and why templates don't work for me??
tbadawy
New
 
Posts: 1
Joined: Wed Sep 19, 2012 4:54 pm

Urgent Question?

  • Pulling out your Hair?
  • Wasting Time and Money?
  • Deadline Approaching?

Google Ads


Return to Help

Who is online

Users browsing this forum: No registered users and 0 guests

cron