<?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: Input stanza path is not absolute. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Input-stanza-path-is-not-absolute/m-p/126908#M26123</link>
    <description>&lt;P&gt;Yes, apologies I thought this was implied in my answer.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jul 2015 14:24:00 GMT</pubDate>
    <dc:creator>emiller42</dc:creator>
    <dc:date>2015-07-21T14:24:00Z</dc:date>
    <item>
      <title>Input stanza path is not absolute.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Input-stanza-path-is-not-absolute/m-p/126905#M26120</link>
      <description>&lt;P&gt;How do I wildcard any windows drive letter in the inputs.conf stanza below?&lt;/P&gt;

&lt;P&gt;inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://[A-Z]:\Data\Disk1\*\MSSQL\Log\ERRORLOG*]
sourcetype = mssql:errorlog
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Causes the below error...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;07-16-2015 10:53:57.601 -0400 WARN  TailingProcessor - Input stanza path, '[A-Z]:\\Data\\Disk1\\*\\MSSQL\\Log\\ERRORLOG*' is not absolute.  This is a configuration error and may not work / break things.  Change this path to an absolute path.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 16 Jul 2015 14:54:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Input-stanza-path-is-not-absolute/m-p/126905#M26120</guid>
      <dc:creator>archspangler</dc:creator>
      <dc:date>2015-07-16T14:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Input stanza path is not absolute.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Input-stanza-path-is-not-absolute/m-p/126906#M26121</link>
      <description>&lt;P&gt;So this gets into how Splunk actually identifies what it needs to monitor.  Take a more traditional monitor stanza like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://C:\Data\Disk1\*\MSSQL\Log\ERRORLOG*]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When splunk sees the above, it goes to the deepest full path given &lt;CODE&gt;C:\Data\Disk1\&lt;/CODE&gt; and turns the rest of the stanza name into a regex-based whitelist which is checked against all children of the given path.  &lt;/P&gt;

&lt;P&gt;When your monitor stanza starts with a wildcard, it has no base path to enumerate in the first place.  (Windows doesn't have an equivalent to &lt;CODE&gt;/&lt;/CODE&gt;)  Even if it did, this is a bad idea as Splunk will need to enumerate every single file on a system to see if it is a regex match of the desired path.  &lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2015 22:50:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Input-stanza-path-is-not-absolute/m-p/126906#M26121</guid>
      <dc:creator>emiller42</dc:creator>
      <dc:date>2015-07-20T22:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Input stanza path is not absolute.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Input-stanza-path-is-not-absolute/m-p/126907#M26122</link>
      <description>&lt;P&gt;To add an actual solution, just put up to 26 stanzas in your inputs.conf.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2015 23:13:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Input-stanza-path-is-not-absolute/m-p/126907#M26122</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-07-20T23:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Input stanza path is not absolute.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Input-stanza-path-is-not-absolute/m-p/126908#M26123</link>
      <description>&lt;P&gt;Yes, apologies I thought this was implied in my answer.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2015 14:24:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Input-stanza-path-is-not-absolute/m-p/126908#M26123</guid>
      <dc:creator>emiller42</dc:creator>
      <dc:date>2015-07-21T14:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Input stanza path is not absolute.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Input-stanza-path-is-not-absolute/m-p/126909#M26124</link>
      <description>&lt;P&gt;It was, no worries.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2015 14:44:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Input-stanza-path-is-not-absolute/m-p/126909#M26124</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-07-21T14:44:38Z</dc:date>
    </item>
  </channel>
</rss>

