guide_lang_statement_if-1.conf 127 Bytes
Newer Older
NXLog CI User's avatar
NXLog CI User committed
1 2 3 4 5
<Input in2>
    Module  im_file
    File    '/var/log/messages'
    Exec    if not ($raw_event =~ /important/) drop();
</Input>