<?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 to make Splunk ignore  logs older than specific days in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Splunk-ignore-logs-older-than-specific-days/m-p/506960#M86278</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried but the log stopped coming in for that index. I did restart my whole splunk and still nothing happen. I checked the colddb and db and nothing new added.&lt;/P&gt;&lt;P&gt;in the index, I set up the storage optimization long time ago, and it&amp;nbsp;&lt;SPAN&gt;Reduce tsidx files older than values is 21 days. Is that the root cause ?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jul 2020 02:48:37 GMT</pubDate>
    <dc:creator>phudinhha</dc:creator>
    <dc:date>2020-07-02T02:48:37Z</dc:date>
    <item>
      <title>How to make Splunk ignore  logs older than specific days</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Splunk-ignore-logs-older-than-specific-days/m-p/506825#M86261</link>
      <description>&lt;P&gt;Dear Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had an issue with splunk and had to follow this post:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.splunk.com/t5/All-Apps-and-Add-ons/Amazon-Web-Services-Add-on-s3-generic-error-TypeError-int-object/td-p/439118" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/All-Apps-and-Add-ons/Amazon-Web-Services-Add-on-s3-generic-error-TypeError-int-object/td-p/439118&lt;/A&gt;&lt;/P&gt;&lt;P&gt;to make my splunk works again. However, now Splunk will ingest logs from the beginning of everything. How do I make splunk to ingest logs from the last 7 days / 14 days.&lt;/P&gt;&lt;P&gt;I'm pretty new with Splunk so I really appreciate every input from you guys.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 07:34:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Splunk-ignore-logs-older-than-specific-days/m-p/506825#M86261</guid>
      <dc:creator>phudinhha</dc:creator>
      <dc:date>2020-07-01T07:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to make Splunk ignore  logs older than specific days</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Splunk-ignore-logs-older-than-specific-days/m-p/506843#M86263</link>
      <description>&lt;P&gt;Check from props.conf how to use MAX_DAYS_AGO. It defines how old data splunk will accepts.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 10:06:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Splunk-ignore-logs-older-than-specific-days/m-p/506843#M86263</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-07-01T10:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to make Splunk ignore  logs older than specific days</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Splunk-ignore-logs-older-than-specific-days/m-p/506846#M86264</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/193962"&gt;@phudinhha&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;did you tried with ignoreOlderThan option in inputs.conf?&lt;/P&gt;&lt;P&gt;For more infos see at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.4/Admin/Inputsconf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.4/Admin/Inputsconf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 10:16:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Splunk-ignore-logs-older-than-specific-days/m-p/506846#M86264</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-07-01T10:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to make Splunk ignore  logs older than specific days</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Splunk-ignore-logs-older-than-specific-days/m-p/506848#M86265</link>
      <description>&lt;P&gt;Hi gcusello,&lt;/P&gt;&lt;P&gt;I tried ignoreOlderThan option in inputs.conf like below:&lt;/P&gt;&lt;P&gt;host = TESTSERVER&lt;BR /&gt;index = serverlogs&lt;BR /&gt;sourcetype = serverlogs:json&lt;BR /&gt;ignoreOlderThan = 14d&lt;BR /&gt;recursive = true&lt;/P&gt;&lt;P&gt;Is that okay? Should I use any other solution?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 10:50:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Splunk-ignore-logs-older-than-specific-days/m-p/506848#M86265</guid>
      <dc:creator>phudinhha</dc:creator>
      <dc:date>2020-07-01T10:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to make Splunk ignore  logs older than specific days</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Splunk-ignore-logs-older-than-specific-days/m-p/506852#M86266</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/193962"&gt;@phudinhha&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;this is the solution.&lt;/P&gt;&lt;P&gt;Remember to restart Splunk on Forwarder after update.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 10:55:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Splunk-ignore-logs-older-than-specific-days/m-p/506852#M86266</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-07-01T10:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to make Splunk ignore  logs older than specific days</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Splunk-ignore-logs-older-than-specific-days/m-p/506960#M86278</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried but the log stopped coming in for that index. I did restart my whole splunk and still nothing happen. I checked the colddb and db and nothing new added.&lt;/P&gt;&lt;P&gt;in the index, I set up the storage optimization long time ago, and it&amp;nbsp;&lt;SPAN&gt;Reduce tsidx files older than values is 21 days. Is that the root cause ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 02:48:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Splunk-ignore-logs-older-than-specific-days/m-p/506960#M86278</guid>
      <dc:creator>phudinhha</dc:creator>
      <dc:date>2020-07-02T02:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to make Splunk ignore  logs older than specific days</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Splunk-ignore-logs-older-than-specific-days/m-p/506981#M86280</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/193962"&gt;@phudinhha&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I don't think, but try to enlarge it.&lt;/P&gt;&lt;P&gt;Check also what's the date format of your logs: if it's dd/mm/yyyy, in the first days of each month there could be a problem related to the Splunk default date format (mm/dd/yyyy).&lt;/P&gt;&lt;P&gt;You can check this viewing logs on operative system and/or searching logs of 1st July on the 7th of January.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 07:18:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Splunk-ignore-logs-older-than-specific-days/m-p/506981#M86280</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-07-02T07:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to make Splunk ignore  logs older than specific days</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Splunk-ignore-logs-older-than-specific-days/m-p/506989#M86281</link>
      <description>&lt;P&gt;I use "_index_earliest = -15m" and found that they're ingesting log with this format&amp;nbsp;&lt;SPAN class="t"&gt;key_name=&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;20200106/20200106T111000Z_20200106T111500Z_8ce5e9c5.log.gz&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;However, when i do index=serverlogs, I saw log of July-2nd as well.&lt;/P&gt;&lt;P&gt;Where can we go to check the default splunk format?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 08:09:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Splunk-ignore-logs-older-than-specific-days/m-p/506989#M86281</guid>
      <dc:creator>phudinhha</dc:creator>
      <dc:date>2020-07-02T08:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to make Splunk ignore  logs older than specific days</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Splunk-ignore-logs-older-than-specific-days/m-p/506998#M86282</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/193962"&gt;@phudinhha&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;you should correctly define the TIME_FORMAT and the TIME_PREFIX for your sourcetype.&lt;/P&gt;&lt;P&gt;If you share an example of your your logs and the indication of which is the correct timestamp to take I could help you.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 08:45:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Splunk-ignore-logs-older-than-specific-days/m-p/506998#M86282</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-07-02T08:45:36Z</dc:date>
    </item>
  </channel>
</rss>

