<?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: Nested inputs (Splunk 4.1) in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Nested-inputs-Splunk-4-1/m-p/11488#M145109</link>
    <description>&lt;P&gt;You can solve this by assigning a higher priority on [monitor:///foo/bar/.../.../wu_*.log]&lt;/P&gt;

&lt;P&gt;Please see this: &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Admin/Attributeprecedencewithinafile" rel="nofollow"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/Admin/Attributeprecedencewithinafile&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;and go to section "Attribute precedence within a single file"&lt;/P&gt;</description>
    <pubDate>Wed, 14 Apr 2010 22:41:47 GMT</pubDate>
    <dc:creator>BunnyHop</dc:creator>
    <dc:date>2010-04-14T22:41:47Z</dc:date>
    <item>
      <title>Nested inputs (Splunk 4.1)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Nested-inputs-Splunk-4-1/m-p/11487#M145108</link>
      <description>&lt;P&gt;Hi folks&lt;/P&gt;

&lt;P&gt;I have a directory structure on my server box (with splunk LWF) like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/foo/bar/node1/server1/SystemOut.log
/foo/bar/node1/server1/SystemErr.log
/foo/bar/node1/server1/appa.log
/foo/bar/node1/server1/appb.log
/foo/bar/node1/server2/SystemOut.log
/foo/bar/node1/server2/SystemErr.log
/foo/bar/node1/server2/appa.log
/foo/bar/node1/server2/appb.log
/foo/bar/node1/server2/wu_adapter.log
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In my splunk LWF I just monitor /foo/bar and using white- and blacklists so I only get the logs I need.
The reason why I'm just monitoring /foo/bar is, that I have quiet plenty of nodes where my LWF is running on and so I only need just 1 serverclass to monitor all my logs.
If I should use more specific input configs, I have to create about 50 serverclasses...&lt;/P&gt;

&lt;P&gt;Now my problem is that just for one logfile (wu_adapter.log) I need special settings in props.conf, like timestamp prefix or other transforms orders.
Is there a proper way to use nested monitor stanzas? 
Actually splunk does not work with something like that:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///foo/bar]
[monitor:///foo/bar/.../.../wu_*.log]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What do you suggest?&lt;/P&gt;

&lt;P&gt;Thanks Simon&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2010 22:31:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Nested-inputs-Splunk-4-1/m-p/11487#M145108</guid>
      <dc:creator>Simon</dc:creator>
      <dc:date>2010-04-14T22:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Nested inputs (Splunk 4.1)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Nested-inputs-Splunk-4-1/m-p/11488#M145109</link>
      <description>&lt;P&gt;You can solve this by assigning a higher priority on [monitor:///foo/bar/.../.../wu_*.log]&lt;/P&gt;

&lt;P&gt;Please see this: &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Admin/Attributeprecedencewithinafile" rel="nofollow"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/Admin/Attributeprecedencewithinafile&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;and go to section "Attribute precedence within a single file"&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2010 22:41:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Nested-inputs-Splunk-4-1/m-p/11488#M145109</guid>
      <dc:creator>BunnyHop</dc:creator>
      <dc:date>2010-04-14T22:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Nested inputs (Splunk 4.1)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Nested-inputs-Splunk-4-1/m-p/11489#M145110</link>
      <description>&lt;P&gt;Yeah, thanks! That was the key...&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2010 23:07:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Nested-inputs-Splunk-4-1/m-p/11489#M145110</guid>
      <dc:creator>Simon</dc:creator>
      <dc:date>2010-04-14T23:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Nested inputs (Splunk 4.1)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Nested-inputs-Splunk-4-1/m-p/11490#M145111</link>
      <description>&lt;P&gt;Here is an example:&lt;/P&gt;

&lt;P&gt;inputs.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///foo/bar]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::/foo/bar/.../wu_*adapter.log]
sourcetype = xxx
priority = 200
#higher priority wins

[source::/foo/bar/...]
sourcetype = zzz
priority = 100
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Apr 2010 23:49:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Nested-inputs-Splunk-4-1/m-p/11490#M145111</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-04-14T23:49:59Z</dc:date>
    </item>
  </channel>
</rss>

