Where can I find information on the filter syntax?

General discussions here

Where can I find information on the filter syntax?

Postby abefroman on Wed Jul 16, 2008 10:34 pm

Where can I find information on the filter syntax?

Example,
filter by date
filter by service (IE. ssh)
filter by date and service

TIA!
abefroman
Advanced
 
Posts: 34
Joined: Thu Jun 05, 2008 6:14 pm

phpLogCon professional services

  • Custom phpLogCon configuration?
  • Maintenance Contract?
  • Installation support?

Re: Where can I find information on the filter syntax?

Postby alorbach on Thu Jul 17, 2008 9:45 am

Hi,

it is supposed to find such information in our documentation wiki, but is still in the works.
You will find informations about the filtering and other things here:
http://wiki.rsyslog.com/index.php/PhpLogCon

For the time being, try to use the search page, it will create filters for you automatically.

best regards,
Andre Lorbach
User avatar
alorbach
Site Admin
 
Posts: 894
Joined: Thu Feb 13, 2003 11:55 am

Re: Where can I find information on the filter syntax?

Postby abefroman on Sat Jul 19, 2008 4:02 pm

Thanks!

Is there a way to get it to just show a message once?

IE. if i have crontab that runs every minute, it will display that 1440 times in a day.
abefroman
Advanced
 
Posts: 34
Joined: Thu Jun 05, 2008 6:14 pm

Re: Where can I find information on the filter syntax?

Postby rgerhards on Mon Jul 21, 2008 7:05 am

I think there currently is no way to suppress duplicate messages. However, I think this feature would be useful.

Andre: I also think it would be easy to implement, at least a subset of it. We could easily suppress two messages immediately following one after another. This could simply be done at the stream driver layer, without the upper peer even knowing that it happens. I don't know if that would server this use case here well, but I think there are a couple of use cases that could benefit from such logic. What do you think - should we give it a quick try in the next release?

Rainer
User avatar
rgerhards
Site Admin
 
Posts: 1667
Joined: Thu Feb 13, 2003 11:57 am

Re: Where can I find information on the filter syntax?

Postby alorbach on Mon Jul 21, 2008 9:54 am

This should be indeed not a big problem to implement. I am going to add it on the todo list for the next minor features.

regards,
Andre
User avatar
alorbach
Site Admin
 
Posts: 894
Joined: Thu Feb 13, 2003 11:55 am

Re: Where can I find information on the filter syntax?

Postby alorbach on Tue Jul 29, 2008 1:37 pm

FYI: The feature to suppress duplicated messages has been added into phpLogCon 2.5.1 (devel) and can be downloaded from here:
http://www.phplogcon.org/downloads
User avatar
alorbach
Site Admin
 
Posts: 894
Joined: Thu Feb 13, 2003 11:55 am

Google Ads



Return to General

Who is online

Users browsing this forum: No registered users and 0 guests

cron