Log file alerts option

For those who have trouble installing LogMX

Moderator: admin

Post Reply
tvops
Posts: 2
Joined: Wed Jul 10, 2019 9:35 pm

Log file alerts option

Post by tvops » Wed Jul 10, 2019 9:38 pm

I have an alert setup to run a script when certain text is parsed. In the Program alert editor screen, I have the script set to run, with "%e" in the Parameters field. This outputs the entire line including entry ID, timestamp, level, emitter, and message, when I only want the timestamp and message to be sent to the script. Is this possible to do within LogMX?

admin
Site Admin
Posts: 507
Joined: Sun Dec 17, 2006 10:30 pm

Re: Log file alerts option

Post by admin » Thu Jul 11, 2019 1:39 am

Hello,

There is no such feature for now in LogMX, but it's a good idea. Maybe we can add an optional suffix to specify an individual log entry field: for example %e{message}, or %e{timestamp} (and of course we would keep the possibility to use just %e to output the complete log entry). What do you think?

Xavier

tvops
Posts: 2
Joined: Wed Jul 10, 2019 9:35 pm

Re: Log file alerts option

Post by tvops » Thu Jul 11, 2019 3:43 pm

That would be perfect. I was actually trying "%e message" and a few other variables to see if I was simply missing something.

admin
Site Admin
Posts: 507
Joined: Sun Dec 17, 2006 10:30 pm

Re: Log file alerts option

Post by admin » Thu Jul 11, 2019 11:54 pm

OK great, added to our backlog. We will post a message in this thread when the feature will be available.

Post Reply