Multiple log format adding


(sateesh) #1

Hi,

I have installed on client side, nxlog.conf but not able to see any logs in Graylog web interface,
should i need to add any parameter in conf.

this is my conf

########################################
# Global directives                    #
########################################
User nxlog
Group nxlog

LogFile /var/log/nxlog/nxlog.log
LogLevel INFO

########################################
# Modules                              #
########################################
<Extension gelf>
    Module      xm_gelf
</Extension>

<Input in>
        Module  im_file
        File    "/var/log/text1/text1.log"
</Input>
<Input in>
        Module  im_file
        File    "/var/log/text2/text2.log"
</Input>
<Input in>
        Module  im_file
        File    "/var/log/text3/text3.log"
</Input>

<Output out>
    Module      om_tcp
    Host        x.x.x.x
    Port        12201
    OutputType  GELF_TCP
</Output>

########################################
# Routes                               #
########################################
<Route r>
    Path        in => out
</Route>

(Jan Doberstein) #2

and you have a GELF TCP Input listening on Graylog Port 12201?


(sateesh) #3

Yes added able to telnet also


(Jochen) #4

Inputs have to have unique instance names.


(system) #5

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.