<?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 import old log files to splunk in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-import-old-log-files-to-splunk/m-p/413556#M94228</link>
    <description>&lt;P&gt;Where did you put this inputs.conf and did you restart the service after you created it?&lt;/P&gt;</description>
    <pubDate>Mon, 20 Aug 2018 19:15:49 GMT</pubDate>
    <dc:creator>CarsonZa</dc:creator>
    <dc:date>2018-08-20T19:15:49Z</dc:date>
    <item>
      <title>How to import old log files to splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-import-old-log-files-to-splunk/m-p/413549#M94221</link>
      <description>&lt;P&gt;I have a remote server which has 1 week older rolling logs. I wanted to monitor those logs so I have installed UF and set up inputs.conf. The newly created logs are showing up on Splunk search, but I am not able to search those 1week older files. Below is my inputs.conf.  Is there any other way that I can import that logs to the same source type, same index and from the same host. Thank you&lt;/P&gt;

&lt;P&gt;Sorry, that's my bad, I would have mentioned I wanted to index the earlier 7 days data, not older than 7days. Let's say today is 20th aug, So, I wanted to index data from 14th -19thAugust logs.&lt;/P&gt;

&lt;P&gt;Splunk: 6.6.3&lt;/P&gt;

&lt;P&gt;[monitor://D:\xxx*.log]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
sourcetype = AAA&lt;BR /&gt;
ignoreOlderThan = 7d&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 18:04:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-import-old-log-files-to-splunk/m-p/413549#M94221</guid>
      <dc:creator>vinaykata</dc:creator>
      <dc:date>2018-08-20T18:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to import old log files to splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-import-old-log-files-to-splunk/m-p/413550#M94222</link>
      <description>&lt;P&gt;im a little confused on what youre wanting to do. Are you wanting to search within those 7 days that you have indexed or wanting to search older than seven days?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 18:37:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-import-old-log-files-to-splunk/m-p/413550#M94222</guid>
      <dc:creator>CarsonZa</dc:creator>
      <dc:date>2018-08-20T18:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to import old log files to splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-import-old-log-files-to-splunk/m-p/413551#M94223</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;In your inputs file you used "ignoreOlderThan = 7d" tag which ignores to index data older then 1 week. Since I do not know exact time of your old log files I could not say this is the exactly problem but if your log files are created older than "08/13/2018" they will not be forwarded so you wont be able to see them in your environment.&lt;/P&gt;

&lt;P&gt;You should change that value into something  &lt;STRONG&gt;ignoreOlderThan=Today-LogFileDate&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 18:41:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-import-old-log-files-to-splunk/m-p/413551#M94223</guid>
      <dc:creator>halisc</dc:creator>
      <dc:date>2018-08-20T18:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to import old log files to splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-import-old-log-files-to-splunk/m-p/413552#M94224</link>
      <description>&lt;P&gt;I wanted to index those 7days old logs and do a search on those for specific errors. Thanks for ur prompt response&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 18:42:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-import-old-log-files-to-splunk/m-p/413552#M94224</guid>
      <dc:creator>vinaykata</dc:creator>
      <dc:date>2018-08-20T18:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to import old log files to splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-import-old-log-files-to-splunk/m-p/413553#M94225</link>
      <description>&lt;P&gt;Sorry, that's my bad, I would have mentioned I wanted to index the earlier 7 days data, not older than 7days. Let's say today is 20th aug, So, I wanted to index data from 14th -19thAugust logs.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 18:55:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-import-old-log-files-to-splunk/m-p/413553#M94225</guid>
      <dc:creator>vinaykata</dc:creator>
      <dc:date>2018-08-20T18:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to import old log files to splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-import-old-log-files-to-splunk/m-p/413554#M94226</link>
      <description>&lt;P&gt;ok so this is more of a not seeing forwarded data problem.&lt;/P&gt;

&lt;P&gt;first observation is you dont have an index defined. Not sure if that was a typo in your post or you dont have one in your stanza. If you dont have one in your input stanza I would check and see if your data is in index=main.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 19:01:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-import-old-log-files-to-splunk/m-p/413554#M94226</guid>
      <dc:creator>CarsonZa</dc:creator>
      <dc:date>2018-08-20T19:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to import old log files to splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-import-old-log-files-to-splunk/m-p/413555#M94227</link>
      <description>&lt;P&gt;it's going to default index (main) that's why I didn't mention it in the stanza&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 19:08:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-import-old-log-files-to-splunk/m-p/413555#M94227</guid>
      <dc:creator>vinaykata</dc:creator>
      <dc:date>2018-08-20T19:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to import old log files to splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-import-old-log-files-to-splunk/m-p/413556#M94228</link>
      <description>&lt;P&gt;Where did you put this inputs.conf and did you restart the service after you created it?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 19:15:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-import-old-log-files-to-splunk/m-p/413556#M94228</guid>
      <dc:creator>CarsonZa</dc:creator>
      <dc:date>2018-08-20T19:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to import old log files to splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-import-old-log-files-to-splunk/m-p/413557#M94229</link>
      <description>&lt;P&gt;I have this input in my SplunkHome/etc/deployment-apps/appname/local/inputs.conf. And yes I have reloaded my deployment server after the config change.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 19:20:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-import-old-log-files-to-splunk/m-p/413557#M94229</guid>
      <dc:creator>vinaykata</dc:creator>
      <dc:date>2018-08-20T19:20:23Z</dc:date>
    </item>
  </channel>
</rss>

