<?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 Configure input.conf in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Configure-input-conf/m-p/159144#M32285</link>
    <description>&lt;P&gt;All,&lt;/P&gt;

&lt;P&gt;I want to monitor Apache log and file name is appended with date, so it's dynamic file. eg,&lt;/P&gt;

&lt;P&gt;Log directory:&lt;BR /&gt;
/var/apache/logs/&lt;BR /&gt;
File name is,&lt;BR /&gt;
apache_log.2014.02.20&lt;BR /&gt;
apache_log.2014.02.19&lt;BR /&gt;
apache_log.2014.02.18&lt;BR /&gt;
apache_log.2014.02.17.gz&lt;BR /&gt;
apache_log.2014.02.16.gz&lt;/P&gt;

&lt;P&gt;Running log is coming into apache_log.2014.02.20 and I also want to ignore all the files with *.gz name, since old files are getting archived and present into same directory (/var/apache/logs/). &lt;BR /&gt;
Please some one can give details about stanza of input.conf and other details if required. &lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 15:56:36 GMT</pubDate>
    <dc:creator>moohkhol</dc:creator>
    <dc:date>2020-09-28T15:56:36Z</dc:date>
    <item>
      <title>Configure input.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Configure-input-conf/m-p/159144#M32285</link>
      <description>&lt;P&gt;All,&lt;/P&gt;

&lt;P&gt;I want to monitor Apache log and file name is appended with date, so it's dynamic file. eg,&lt;/P&gt;

&lt;P&gt;Log directory:&lt;BR /&gt;
/var/apache/logs/&lt;BR /&gt;
File name is,&lt;BR /&gt;
apache_log.2014.02.20&lt;BR /&gt;
apache_log.2014.02.19&lt;BR /&gt;
apache_log.2014.02.18&lt;BR /&gt;
apache_log.2014.02.17.gz&lt;BR /&gt;
apache_log.2014.02.16.gz&lt;/P&gt;

&lt;P&gt;Running log is coming into apache_log.2014.02.20 and I also want to ignore all the files with *.gz name, since old files are getting archived and present into same directory (/var/apache/logs/). &lt;BR /&gt;
Please some one can give details about stanza of input.conf and other details if required. &lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:56:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Configure-input-conf/m-p/159144#M32285</guid>
      <dc:creator>moohkhol</dc:creator>
      <dc:date>2020-09-28T15:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Configure input.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Configure-input-conf/m-p/159145#M32286</link>
      <description>&lt;P&gt;Name your index and sourcetype - the latter likely to &lt;CODE&gt;access_combined&lt;/CODE&gt;, or &lt;CODE&gt;access_common&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///var/apache/log/apache_log*]
index = your_index
sourcetype = your_sourcetype
blacklist = \.gz
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;/K&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2014 07:51:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Configure-input-conf/m-p/159145#M32286</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2014-02-20T07:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Configure input.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Configure-input-conf/m-p/159146#M32287</link>
      <description>&lt;P&gt;Thankx Kristain,&lt;BR /&gt;
"/var/apache/log/" also contains different logs such as Mod_jk, error, ssl logs, so i want to specify something like that, Monitor should able to read file only with name of apache_log.&lt;YEAR&gt;.&lt;MONTH&gt;.&lt;DAY&gt; and i can also able to specify it should not read before some date, lets say if I am configuring today than it should start from today should not read apache_log.2014.02.19 apache_log.2014.02.18 file.&lt;/DAY&gt;&lt;/MONTH&gt;&lt;/YEAR&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:56:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Configure-input-conf/m-p/159146#M32287</guid>
      <dc:creator>moohkhol</dc:creator>
      <dc:date>2020-09-28T15:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Configure input.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Configure-input-conf/m-p/159147#M32288</link>
      <description>&lt;P&gt;Note that the file is called "inputs.conf", not input.conf.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2014 08:03:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Configure-input-conf/m-p/159147#M32288</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2014-02-20T08:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Configure input.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Configure-input-conf/m-p/159148#M32289</link>
      <description>&lt;P&gt;Yes, Thankx&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2014 08:25:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Configure-input-conf/m-p/159148#M32289</guid>
      <dc:creator>moohkhol</dc:creator>
      <dc:date>2014-02-20T08:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Configure input.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Configure-input-conf/m-p/159149#M32290</link>
      <description>&lt;P&gt;you can add some more information to the monitor path (like above), or define a whitelist as well, which should amount to the same thing. See;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.1/Data/Specifyinputpathswithwildcards#Wildcards_and_whitelisting"&gt;http://docs.splunk.com/Documentation/Splunk/6.0.1/Data/Specifyinputpathswithwildcards#Wildcards_and_whitelisting&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;/K&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2014 08:46:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Configure-input-conf/m-p/159149#M32290</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2014-02-20T08:46:29Z</dc:date>
    </item>
  </channel>
</rss>

