<?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: How efficiently log files can be handled? in Installation</title>
    <link>https://community.splunk.com/t5/Installation/How-efficiently-log-files-can-be-handled/m-p/502420#M10452</link>
    <description>&lt;P&gt;Hi ansif,&lt;BR /&gt;
sorry, but I don't understand your question: Splunk reads logs from files, if you need to rotate files isn't a Splunk problem, when you rotate a file Splunk will start to ingest logs from the new one without ingesting the old logs.&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Wed, 16 Oct 2019 11:43:56 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2019-10-16T11:43:56Z</dc:date>
    <item>
      <title>How efficiently log files can be handled?</title>
      <link>https://community.splunk.com/t5/Installation/How-efficiently-log-files-can-be-handled/m-p/502419#M10451</link>
      <description>&lt;P&gt;We have spotlight which can write logs to a file. How can we manage log file size in Linux and Windows OS?&lt;/P&gt;

&lt;P&gt;Need to rotate log files in Linux and Windows without breaking events.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 11:23:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-efficiently-log-files-can-be-handled/m-p/502419#M10451</guid>
      <dc:creator>ansif</dc:creator>
      <dc:date>2019-10-16T11:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: How efficiently log files can be handled?</title>
      <link>https://community.splunk.com/t5/Installation/How-efficiently-log-files-can-be-handled/m-p/502420#M10452</link>
      <description>&lt;P&gt;Hi ansif,&lt;BR /&gt;
sorry, but I don't understand your question: Splunk reads logs from files, if you need to rotate files isn't a Splunk problem, when you rotate a file Splunk will start to ingest logs from the new one without ingesting the old logs.&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 11:43:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-efficiently-log-files-can-be-handled/m-p/502420#M10452</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-10-16T11:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: How efficiently log files can be handled?</title>
      <link>https://community.splunk.com/t5/Installation/How-efficiently-log-files-can-be-handled/m-p/502421#M10453</link>
      <description>&lt;P&gt;Ya not a splunk problem. I am asking how can we ensure as a best practice from OS perspective to rotate logs and last event in the log file is not broken.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 11:48:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-efficiently-log-files-can-be-handled/m-p/502421#M10453</guid>
      <dc:creator>ansif</dc:creator>
      <dc:date>2019-10-16T11:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: How efficiently log files can be handled?</title>
      <link>https://community.splunk.com/t5/Installation/How-efficiently-log-files-can-be-handled/m-p/502422#M10454</link>
      <description>&lt;P&gt;Hi ansif,&lt;BR /&gt;
as I said Splunk solves this problem because it reads the old file until it's rotated, then start to read the new one (probably with the same name) and doesn't read the old one.&lt;BR /&gt;
Obviously if after rotation the new logs are in a file with a different name, you have to build your input in appropriate mode using *, e.g. if I have my files called myfile_2019_10_15.log, I have to use a monitor stanza like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///tmp/my_logs/myfile_*.log]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:33:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-efficiently-log-files-can-be-handled/m-p/502422#M10454</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-09-30T02:33:38Z</dc:date>
    </item>
  </channel>
</rss>

