Hello,

Thank you for your answer Botond.

I was not using properly bacreferences in my expression, now I understand how 
it works...

I put my config file below, it might be useful to someone a day :

<Input in>
    
    Module im_tcp
    Host 192.168.240.17
    Port 1514
    InputType Binary
    Exec    if $raw_event =~ /(NXLOG-\w+)\t(\w+)\t(.*)/ \
            {\
                $ProcessName=$1; \
                $ServerName=$2; \
                $raw_event=$3; \
            }\
            else \
            {\
                $ProcessName="ORPHAN"; \
            }\
                            
</Input>

<Output out>

    Module om_file
    File ("%OUTDIR%\\" + strftime(now(), "%Y%m%d") + "_" + $ServerName + "_" + 
$ProcessName + ".txt")
    
</Output>


<Route 1>
    Path in => out
</Route>


Next step, replace tcp by ssl
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
nxlog-ce-users mailing list
nxlog-ce-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users

Reply via email to