<?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: props.conf not recursing all directories in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-not-recursing-all-directories/m-p/62274#M12436</link>
    <description>&lt;P&gt;Are you trying to define an input with your [source...] statement?  Because that's wrong.&lt;/P&gt;

&lt;P&gt;In a props.conf, the [source...] statement is meant only to define what group of events to apply the props to.&lt;/P&gt;

&lt;P&gt;You'd want to create an inputs.conf with something like this in it:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///HOSTS.../*.logfile]
sourcetype = syslog
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And then, if your syslog is properly formatted, you won't even need a props.conf stanza for that.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Sep 2013 19:17:49 GMT</pubDate>
    <dc:creator>mloven_splunk</dc:creator>
    <dc:date>2013-09-12T19:17:49Z</dc:date>
    <item>
      <title>props.conf not recursing all directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-not-recursing-all-directories/m-p/62273#M12435</link>
      <description>&lt;P&gt;I'm trying to go down a line of directories to get the syslog files.  The recursion works for year 2013.  To make sure it works for other years copied 2013 files to 2012 and changed year in all in all files.  When doing search with all time Splunk doesn't see 2012.&lt;/P&gt;

&lt;P&gt;props.conf &lt;BR /&gt;
[source:: HOSTS.../*.logfile&lt;BR /&gt;
sourcetype = syslog&lt;BR /&gt;
TIME_FORMAT = %m %d %H:%M:%D&lt;/P&gt;

&lt;P&gt;Any assistance would be appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2013 19:00:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-not-recursing-all-directories/m-p/62273#M12435</guid>
      <dc:creator>pljulien</dc:creator>
      <dc:date>2013-09-12T19:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf not recursing all directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-not-recursing-all-directories/m-p/62274#M12436</link>
      <description>&lt;P&gt;Are you trying to define an input with your [source...] statement?  Because that's wrong.&lt;/P&gt;

&lt;P&gt;In a props.conf, the [source...] statement is meant only to define what group of events to apply the props to.&lt;/P&gt;

&lt;P&gt;You'd want to create an inputs.conf with something like this in it:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///HOSTS.../*.logfile]
sourcetype = syslog
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And then, if your syslog is properly formatted, you won't even need a props.conf stanza for that.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2013 19:17:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-not-recursing-all-directories/m-p/62274#M12436</guid>
      <dc:creator>mloven_splunk</dc:creator>
      <dc:date>2013-09-12T19:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf not recursing all directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-not-recursing-all-directories/m-p/62275#M12437</link>
      <description>&lt;P&gt;Data is in a file.  In inputs.conf I have:&lt;/P&gt;

&lt;P&gt;[monitor:///opt/splunk/data/test/HOSTS/.../*.logfile]&lt;BR /&gt;
index=test&lt;BR /&gt;
sourcetype = syslog&lt;/P&gt;

&lt;P&gt;When I didn't have the props.conf my data was coming in as the date of file, so created a props.conf file, fat-fingered above.  It is:&lt;/P&gt;

&lt;P&gt;[source:///opt/splunk/data/HOSTS/.../*.logfile]&lt;BR /&gt;
sourcetype = syslog&lt;BR /&gt;
TIME_FORMAT = %d %m %H:%M:%S&lt;/P&gt;

&lt;P&gt;The directory structure is - .../HOSTS/&lt;IP address=""&gt;/year/month/day.logfile.  The 2 files configured as noted, only getting data for 2013 and not 2012.  Search set to all time.  Any suggestions on changes to this would be appreciated.&lt;/IP&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2013 21:12:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-not-recursing-all-directories/m-p/62275#M12437</guid>
      <dc:creator>pljulien</dc:creator>
      <dc:date>2013-09-12T21:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf not recursing all directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-not-recursing-all-directories/m-p/62276#M12438</link>
      <description>&lt;P&gt;Ok.&lt;/P&gt;

&lt;P&gt;Is your TIME_FORMAT correct?  The standard TIME_FORMAT for the syslog sourcetype is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_FORMAT = %b %d %H:%M:%S
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Which expects a month abbreviation (i.e. Jun, Nov, etc), then the day.  Yours expects a timestamp like 12 09 16:27:00, which seems odd.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:46:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-not-recursing-all-directories/m-p/62276#M12438</guid>
      <dc:creator>mloven_splunk</dc:creator>
      <dc:date>2020-09-28T14:46:06Z</dc:date>
    </item>
  </channel>
</rss>

