Dear all,
So in short we want to avoid splitting the incoming logs between the program and message columns and also get rid of the program column from cacti view at all.
Any help would be appreciated.
Thanks in advance
We are trying to remove the program column from the cacti syslog view. The incoming logs are somehow split between the program and the message columns. We do not know how the splitting takes place, whether using a , : or space. how to get rid of syslog program column
Moderators: Developers, Moderators
Re: how to get rid of syslog program column
Your problem probably isn't in the display, Cacti isn't splitting the data to display it. It's not like its CSV file or any, each of those columns is a field in the DB. It's probably your script that is inputting the stuff into syslog_incoming where the problem lies.
Re: how to get rid of syslog program column
Thank you for the reply. You are right, it is not the display but the question is which script are we talking exactly about, where to find it and if the splitting happens by a , ; : or space?
Re: how to get rid of syslog program column
The script isn't part of Cacti itself, so it really depends on what syslog program you are using on your server. If its rsyslog, its probably in /etc/rsyslog.d/ somewhere. And again, even in the script, nothing splits along commas, spaces, etc... its not CSV data. The syslog format is very specific in how its data is structured.
https://datatracker.ietf.org/doc/html/rfc5424
https://datatracker.ietf.org/doc/html/rfc5424
Re: how to get rid of syslog program column
I will read what is there in the link and see if I could get this done.
Thank you so much for taking the time to reply.
Thank you so much for taking the time to reply.
Who is online
Users browsing this forum: No registered users and 0 guests