That is exactly right!  I had not written back to this post but discovered this 
last weekend.  Using this directive I am not receiving all logs from history.  
Thanks for the follow up!

-----Original Message-----
From: Botond Botyanszki [mailto:b...@nxlog.org] 
Sent: Monday, June 30, 2014 4:58 AM
To: nxlog-ce-users@lists.sourceforge.net
Subject: Re: [nxlog-ce-users] nxLog is ONLY reading the most recent file

Hi Rusty,

There is a ReadFromLast directive which defaults to TRUE and most likely this 
is the reason for only getting logs from the most recent file.
You may want to specify "ReadFromLast FALSE" so that all logs are read.

Regards,
Botond

On Fri, 27 Jun 2014 16:45:59 +0000
Rusty Chapin <rcha...@prepsportswear.com> wrote:

> Hi all!  Just joined so please pardon me if I don't obey conventions...
> 
> Question:
> Can nxLog read all files that match a wildcard mask or just the most recent 
> file?
> 
> Scenario:
> Nxlog.conf:
> # iis Log Files
> <Input in_iislog>
>                 Module im_file
>                 File "%IISLOG_PATH%\\u_ex*.log"
> </Input>
> 
> The directory contains 100 or more log files that match this criteria.  nxLog 
> appears to be reading ONLY the most recent file and starting from the current 
> time.  I would like for nxLog to read all files and save the position it last 
> read.  Once the files is read I will be archiving the files into ZIPs and 
> moving them offsite.
> 
> Setup:
> nxLog agent -> nxLog server -> logstash server -> elasticsearch server 
> <- kibana server

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse Turn 
processes into business applications with Bonita BPM Community Edition Quickly 
connect people, data, and systems into organized workflows Winner of BOSSIE, 
CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft 
_______________________________________________
nxlog-ce-users mailing list
nxlog-ce-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
nxlog-ce-users mailing list
nxlog-ce-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users

Reply via email to