Hi,
NoCache just disables the SavePos globally, but affects all modules which
rely on this (e.g. im_msvistalog)
So if you want ReadFromLast to always read from the last position , then
SavePos should be set to FALSE. Be aware that this will mean lost messages
during restart/stop, but obviously this is what you want.
The other option is to remove the configcache.dat file before starting
nxlog. Since the saved file position won't be available , the im_file
module will then read from the last position (tail). If you want to read
from the start (which is the head), set ReadFromLast to FALSE and it should
read all the data.
Regards,
Botond
On Thu, Sep 5, 2013 at 10:53 PM, Shawn French <sfre...@jsitelecom.com>wrote:
> A few times now I’ve gotten in a situation where there are just too many
> logs to ship (usually because my receiver chain
> logstash/redis/elasticsearch have hit an issue).****
>
> ** **
>
> Most of my file inputs are using SavePos and ReadFromLast as True.****
>
> ** **
>
> In these cases, I’d like to instruct nxlog to just drop the
> queued/historical messages and start shipping from the “head” of the logs
> again. ****
>
> ** **
>
> Is there an easy way to do this? Or is it the NoCache directive that I
> should use and do a stop/re-configure with
> NoCache/start/stop/un-configure/start?****
>
> ** **
>
> Thanks!****
>
> Shawn****
>
>
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
> _______________________________________________
> nxlog-ce-users mailing list
> nxlog-ce-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users
>
>
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
nxlog-ce-users mailing list
nxlog-ce-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users