<?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 do I specify which sources should be indexed from data inputs and not the entire directory? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-specify-which-sources-should-be-indexed-from-data/m-p/259448#M49806</link>
    <description>&lt;P&gt;See if this gets you what you are looking for &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/Data/Specifyinputpathswithwildcards"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/Data/Specifyinputpathswithwildcards&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Basically, you will have something like &lt;CODE&gt;[monitor:///APPSRV_*.log]&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Dec 2015 21:21:10 GMT</pubDate>
    <dc:creator>sundareshr</dc:creator>
    <dc:date>2015-12-01T21:21:10Z</dc:date>
    <item>
      <title>How do I specify which sources should be indexed from data inputs and not the entire directory?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-specify-which-sources-should-be-indexed-from-data/m-p/259447#M49805</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Please bear with me because I'm new to Splunk and I've only just started using it today.   Also note that I am currently running their trial and have not purchased anything yet.&lt;/P&gt;

&lt;P&gt;I am looking to index the Application logs from our PeopleSoft server, which are stored as &lt;CODE&gt;APPSRV_*.LOG&lt;/CODE&gt; on the PeopleSoft server.  A new log file is created for each day and the format is &lt;CODE&gt;APPSRV_MMDD.LOG&lt;/CODE&gt;.  Within the directory that the APPSRV logs are stored are other files that are of no interest to me at the moment.&lt;/P&gt;

&lt;P&gt;I currently have my data input setup as a UNC path to the directory, but I don't know how to only allow indexing on the &lt;CODE&gt;APPSRV_MMDD.LOG&lt;/CODE&gt;s and not the others.   Is there a way to index only certain file names by using a wildcard and not others, or must I index the entire directory?  Please let me know if you have any questions.&lt;/P&gt;

&lt;P&gt;Thank you,&lt;/P&gt;

&lt;P&gt;Robert&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2015 20:34:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-specify-which-sources-should-be-indexed-from-data/m-p/259447#M49805</guid>
      <dc:creator>rwiltzius</dc:creator>
      <dc:date>2015-12-01T20:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do I specify which sources should be indexed from data inputs and not the entire directory?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-specify-which-sources-should-be-indexed-from-data/m-p/259448#M49806</link>
      <description>&lt;P&gt;See if this gets you what you are looking for &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/Data/Specifyinputpathswithwildcards"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/Data/Specifyinputpathswithwildcards&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Basically, you will have something like &lt;CODE&gt;[monitor:///APPSRV_*.log]&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2015 21:21:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-specify-which-sources-should-be-indexed-from-data/m-p/259448#M49806</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2015-12-01T21:21:10Z</dc:date>
    </item>
  </channel>
</rss>

