Re: tailing real files
8 Apr
2007
8 Apr
'07
10:31 a.m.
Hi there, On Sat, 7 Apr 2007 Balazs Scheidler wrote:
source s_tail { file("/var/log/apache/access.log" follow_freq(1) flags(no-parse)); }; ... * reads the access.log file (starting with the first line), * checks every 1 second to see if there are new records * notices when access.log gets renamed ... * remembers the last file position across restarts
Oh, cool! Thanks!! -- 73, Ged.
6712
Age (days ago)
6712
Last active (days ago)
0 comments
1 participants
participants (1)
-
G.W. Haywood