Hi,

you could use Drools to write more complex filtering rules in 
Graylog: http://docs.graylog.org/en/1.3/pages/drools.html

In order to write filters or extractors in Python, you'd need to implement 
a filter plugin which utilizes and embeds Jython.


Cheers,
Jochen

On Wednesday, 23 December 2015 11:00:09 UTC+1, Toussaint OTTAVI wrote:
>
> Hi, 
>
> I'm a brand new user of Graylog, and it seems very amazing. Thank you 
> for the great work. 
>
> I'd like to set up a "conditional extractor", something like this : 
>
>    if pri=2 then 
>      priority="critical" 
>    else if pri=1 then 
>      priority "warning" 
>    else 
>      priority = "info" 
>
> Is there a way to do that ? 
>
> Moreover, I'd appreciate to be able to write some more specific 
> extractor code in Python. Is it possible to do that, via external plugin 
> ? If so, could someone point me out some useful links ? 
>
> Thank you in advance, 
>
> Kind regards 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/7f8d028f-3552-464d-977a-7fee07eca9ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to