<?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: data input - path name is the same in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/data-input-path-name-is-the-same/m-p/110518#M28918</link>
    <description>&lt;P&gt;It should work but if it doesn't, just create a soft link like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ln -fs /var/data/proxy/ /var/data/proxycopy
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then use this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///var/data/proxycopy/]
whilelist=other regex
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 08 Jul 2015 17:37:20 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-07-08T17:37:20Z</dc:date>
    <item>
      <title>data input - path name is the same</title>
      <link>https://community.splunk.com/t5/Splunk-Search/data-input-path-name-is-the-same/m-p/110517#M28917</link>
      <description>&lt;P&gt;I have two type of files i am inputted into splunk. &lt;/P&gt;

&lt;P&gt;Both reside at /var/data/proxy/isolde.2015060812.log or mimi.2015060515.log&lt;/P&gt;

&lt;P&gt;I can easily use the whitelist field with a regex to specifically point out which file i want to take. I want to to take them as separate inputs so each one can be assigned a different host value to be searched against. &lt;/P&gt;

&lt;P&gt;However when specifying the path a second time splunk returns an error: "path is the same and another input". So I edited inputs.conf manually to specify the path/sourcetype/host/whitelist regex. doing a ./splunk btool check returned no errors so i think it will work? &lt;/P&gt;

&lt;P&gt;Does anyone have any experience with this kind of scenario? Can you comment on using inputs.conf as a valid way to workaround the splunk error?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2015 17:25:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/data-input-path-name-is-the-same/m-p/110517#M28917</guid>
      <dc:creator>borgy95</dc:creator>
      <dc:date>2015-07-08T17:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: data input - path name is the same</title>
      <link>https://community.splunk.com/t5/Splunk-Search/data-input-path-name-is-the-same/m-p/110518#M28918</link>
      <description>&lt;P&gt;It should work but if it doesn't, just create a soft link like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ln -fs /var/data/proxy/ /var/data/proxycopy
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then use this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///var/data/proxycopy/]
whilelist=other regex
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Jul 2015 17:37:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/data-input-path-name-is-the-same/m-p/110518#M28918</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-07-08T17:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: data input - path name is the same</title>
      <link>https://community.splunk.com/t5/Splunk-Search/data-input-path-name-is-the-same/m-p/110519#M28919</link>
      <description>&lt;P&gt;It did work , however editing the conf file means there is no entry in the splunk web gui, so i've opted for the softlink approach. &lt;/P&gt;

&lt;P&gt;thanks again WC&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2015 08:26:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/data-input-path-name-is-the-same/m-p/110519#M28919</guid>
      <dc:creator>borgy95</dc:creator>
      <dc:date>2015-07-09T08:26:34Z</dc:date>
    </item>
  </channel>
</rss>

