<?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 Specifying a catch-all in inputs.conf? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Specifying-a-catch-all-in-inputs-conf/m-p/526454#M88806</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If i have a directory structure like this:&lt;/P&gt;&lt;P&gt;/logs/server1&lt;/P&gt;&lt;P&gt;/logs/server2&lt;/P&gt;&lt;P&gt;/logs/server3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And i have set specific inputs.conf stanzas for server 1,2 and 3, but i also want to catch everything that ends up in /logs/, could i set the server1-3 stanzas and have a catch all stanza, or will that catch all stanza collect the logs from server 1-3 again?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[monitor:///logs/server1]
host_segment = 2
index = foo
sourcetype = aaa

[monitor:///logs/server3]
host_segment = 2
index = bar
sourcetype = bbb

[monitor:///logs/server3]
host_segment = 2
index = baz
sourcetype = ccc

[monitor:///logs]
index = unknown&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Oct 2020 13:11:22 GMT</pubDate>
    <dc:creator>mickeander</dc:creator>
    <dc:date>2020-10-26T13:11:22Z</dc:date>
    <item>
      <title>Specifying a catch-all in inputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Specifying-a-catch-all-in-inputs-conf/m-p/526454#M88806</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If i have a directory structure like this:&lt;/P&gt;&lt;P&gt;/logs/server1&lt;/P&gt;&lt;P&gt;/logs/server2&lt;/P&gt;&lt;P&gt;/logs/server3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And i have set specific inputs.conf stanzas for server 1,2 and 3, but i also want to catch everything that ends up in /logs/, could i set the server1-3 stanzas and have a catch all stanza, or will that catch all stanza collect the logs from server 1-3 again?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[monitor:///logs/server1]
host_segment = 2
index = foo
sourcetype = aaa

[monitor:///logs/server3]
host_segment = 2
index = bar
sourcetype = bbb

[monitor:///logs/server3]
host_segment = 2
index = baz
sourcetype = ccc

[monitor:///logs]
index = unknown&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 13:11:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Specifying-a-catch-all-in-inputs-conf/m-p/526454#M88806</guid>
      <dc:creator>mickeander</dc:creator>
      <dc:date>2020-10-26T13:11:22Z</dc:date>
    </item>
  </channel>
</rss>

