0
responses

I'm reading an log file and writing it into other file but the output is not written below is my file

## This is a sample configuration file. See the nxlog reference manual about the

## configuration options. It should be installed locally and is also available

## online at http://nxlog.org/docs/

## Please set the ROOT to the folder your nxlog was installed into,

## otherwise it will not start.

#define ROOT C:\Program Files\nxlog

define ROOT C:\Program Files (x86)\nxlog

AskedSeptember 15, 2016 - 9:19am
4
responses

Catch logging from Windows network drives issue

Hello everyone,

I would like to catch a log from windows network drives, but I cannot did it.

May I know it is supported by nxlog?  Would you please advise, thank you.

 

<Input filelogs>
    Module    im_file
    File    "\\\\192.168.1.1\\test\*"
    SavePos TRUE
    ReadFromLast TRUE
    PollInterval 5
    Exec $Message = $raw_event;
</Input>

AskedSeptember 15, 2016 - 5:52am
6
responses

parse_json, GELF and date conversion

Hi!

I'm using nxlog to parse a json file and transfer it to Graylog. When it transfer to Graylog the format of a timestamp is changed.

How can i prevent nxlog to change the timestamp format ?

Thanks in advance

AskedSeptember 13, 2016 - 5:53pm
1
response

Many IPs on input - How to avoid using if else chains?

Hello,

 

I'm new with NXLOG and I don't know how to configure the nxlog.conf file when having many IP entries from UDP sources.

 

I heritated an implementation that has too many ef and else because the IPs sources. I have some errors and with all those if and elses is pretty difficult to correct the problem.

Then I was wondering if ther is a way to separate the entries to avoid using if else if if else if every where.

AskedSeptember 12, 2016 - 9:01pm

Pages