Multiple log format adding

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>

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

Yes added able to telnet also

Inputs have to have unique instance names.
https://nxlog.co/documentation/nxlog-user-guide#config_overview_modules

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