<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Frequency of Universal forwarder in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Frequency-of-Universal-forwarder/m-p/44084#M10417</link>
    <description>&lt;P&gt;please check the checkmark on the left to accept it, it will make it easier for other people to find relevant answers.&lt;/P&gt;</description>
    <pubDate>Mon, 26 Nov 2012 18:41:34 GMT</pubDate>
    <dc:creator>yannK</dc:creator>
    <dc:date>2012-11-26T18:41:34Z</dc:date>
    <item>
      <title>Frequency of Universal forwarder</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Frequency-of-Universal-forwarder/m-p/44078#M10411</link>
      <description>&lt;P&gt;I have installed Universal forwarder to send the log files to my Splunk storm project. &lt;BR /&gt;
My question is how frequently the forwarder checks whether the log file is updated or not? Does universal forwarder continuously monitor the files or it does in some interval? Can I configure the interval?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Nov 2012 16:41:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Frequency-of-Universal-forwarder/m-p/44078#M10411</guid>
      <dc:creator>jimiparekh123</dc:creator>
      <dc:date>2012-11-23T16:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Frequency of Universal forwarder</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Frequency-of-Universal-forwarder/m-p/44079#M10412</link>
      <description>&lt;P&gt;The Splunk forwarders actively monitor the file in the scope of the paths. There is no interval to control it.&lt;BR /&gt;
If the number of file is very large, it will have to cycle between them.&lt;/P&gt;

&lt;P&gt;What is your goal exactly : monitor faster, or slower, or one time only ?&lt;/P&gt;

&lt;P&gt;If the forwarding speed seems slow, you may want to increase the thruput speed (see &lt;A href="http://docs.splunk.com/Documentation/Storm/latest/User/Setupauniversalforwarderonnix#Remove_the_default_network_throughput_limit"&gt;http://docs.splunk.com/Documentation/Storm/latest/User/Setupauniversalforwarderonnix#Remove_the_default_network_throughput_limit&lt;/A&gt; )&lt;/P&gt;</description>
      <pubDate>Sat, 24 Nov 2012 05:09:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Frequency-of-Universal-forwarder/m-p/44079#M10412</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-11-24T05:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Frequency of Universal forwarder</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Frequency-of-Universal-forwarder/m-p/44080#M10413</link>
      <description>&lt;P&gt;I want to monitor an application log file which is continuously being updated. Once the size of that file reach its max. limit, it gets copied to a back up file and is replaced by new blank file. This process is done in no time. I just want to make sure that all the content which is stored to the backed up file is read by the forwarder before its backed up.&lt;BR /&gt;
Whats the best way to eunsure this? &lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2012 15:17:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Frequency-of-Universal-forwarder/m-p/44080#M10413</guid>
      <dc:creator>jimiparekh123</dc:creator>
      <dc:date>2012-11-26T15:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Frequency of Universal forwarder</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Frequency-of-Universal-forwarder/m-p/44081#M10414</link>
      <description>&lt;P&gt;I want to monitor an application log file which is continuously being updated. Once the size of that file reach its max. limit, it gets copied to a back up file and is replaced by new blank file. This process is done in no time. I just want to make sure that all the content which is stored to the backed up file is read by the forwarder before its backed up.&lt;BR /&gt;
Whats the best way to eunsure this?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2012 15:32:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Frequency-of-Universal-forwarder/m-p/44081#M10414</guid>
      <dc:creator>jimiparekh123</dc:creator>
      <dc:date>2012-11-26T15:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Frequency of Universal forwarder</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Frequency-of-Universal-forwarder/m-p/44082#M10415</link>
      <description>&lt;PRE&gt;
let's say the orignal filename is 
/var/log/mylog.log

and the rotated files
/var/log/mylog.log.1
/var/log/mylog.log.2
/var/log/mylog.log.3.gz
/var/log/mylog.log.4.gz
...
&lt;/PRE&gt;

&lt;P&gt;And let's imagine that Splunk reached the line 99 of the original file, then a new line is added, and the file rotate to mylog.log.1&lt;/P&gt;

&lt;P&gt;the solution is to monitor all the files.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[monitor:///var/log/mylog*]&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Splunk will check the crc of the first 256 chars and detects that a file is a rotated version of a file that was indexed.&lt;BR /&gt;
Then will continue where it was (on line 99), while indexing the new file. Also Splunk can read compressed files.&lt;/P&gt;

&lt;P&gt;In your case, if the files are backed up out of the server, and rotate very often, you may want to keep some first rotated versions on disk.&lt;/P&gt;

&lt;P&gt;see details &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.1/Data/HowLogFileRotationIsHandled"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.1/Data/HowLogFileRotationIsHandled&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2012 17:59:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Frequency-of-Universal-forwarder/m-p/44082#M10415</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-11-26T17:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Frequency of Universal forwarder</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Frequency-of-Universal-forwarder/m-p/44083#M10416</link>
      <description>&lt;P&gt;Thats exactly what I wanted and your answer solved it.&lt;BR /&gt;
Thanks !!!&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2012 18:38:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Frequency-of-Universal-forwarder/m-p/44083#M10416</guid>
      <dc:creator>jimiparekh123</dc:creator>
      <dc:date>2012-11-26T18:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Frequency of Universal forwarder</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Frequency-of-Universal-forwarder/m-p/44084#M10417</link>
      <description>&lt;P&gt;please check the checkmark on the left to accept it, it will make it easier for other people to find relevant answers.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2012 18:41:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Frequency-of-Universal-forwarder/m-p/44084#M10417</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-11-26T18:41:34Z</dc:date>
    </item>
  </channel>
</rss>

