<?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: In inputs.conf for the same directory, why does adding a second stanza for a different sourcetype not return data fr in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/In-inputs-conf-for-the-same-directory-why-does-adding-a-second/m-p/611566#M105902</link>
    <description>&lt;P&gt;I had a similar problem, there were two _TCP_ROUTING attributes under one input stanza, the second attribute was overriding the first one.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Sep 2022 09:41:02 GMT</pubDate>
    <dc:creator>splunkoptimus</dc:creator>
    <dc:date>2022-09-01T09:41:02Z</dc:date>
    <item>
      <title>In inputs.conf for the same directory, why does adding a second stanza for a different sourcetype not return data from the first stanza?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/In-inputs-conf-for-the-same-directory-why-does-adding-a-second/m-p/326776#M60716</link>
      <description>&lt;P&gt;In inputs.conf, one stanza is receiving data for sourcetype=CWTBETAAppServerDbconnectInfo but when i add a 2nd stanza, it is not getting data for sourcetype=CWTBETAChannelInfo. &lt;/P&gt;

&lt;P&gt;when i add 2nd stanza, the 1st stanza is not working &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
host = BLRVMDBENAPP01

[monitor://D:\HotelHub\Log4NetLogs]
disable = 0
ignoreOlderThan= 1d
index=CWT
sourcetype=CWTBETAAppServerDbconnectInfo
whitelist = AppServerDbconnectInfo(\d{8})-(\d{2}).txt$

[monitor://D:\HotelHub\Log4NetLogs]
disable = 0
ignoreOlderThan= 1d
index=CWT
sourcetype=CWTBETAChannelInfo
whitelist = ChannelInfo(\d{8})-(\d{2}).txt$
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Puneeth&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 19:22:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/In-inputs-conf-for-the-same-directory-why-does-adding-a-second/m-p/326776#M60716</guid>
      <dc:creator>puneethgowda</dc:creator>
      <dc:date>2017-02-27T19:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: In inputs.conf for the same directory, why does adding a second stanza for a different sourcetype not return data from the first stanza?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/In-inputs-conf-for-the-same-directory-why-does-adding-a-second/m-p/326777#M60717</link>
      <description>&lt;P&gt;If you have two stanzas with the exact same name, the second replaces the first.  To be more precise, the two stanzas are merged into one.  Merging is by attribute name only - the value of the last attribute wins.&lt;/P&gt;

&lt;P&gt;You can use btool to see how stanzas will be applied by Splunk.  Run &lt;CODE&gt;splunk btool inputs list &amp;lt;sourcetype&amp;gt;&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 20:11:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/In-inputs-conf-for-the-same-directory-why-does-adding-a-second/m-p/326777#M60717</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-02-27T20:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: In inputs.conf for the same directory, why does adding a second stanza for a different sourcetype not return data from the first stanza?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/In-inputs-conf-for-the-same-directory-why-does-adding-a-second/m-p/326778#M60718</link>
      <description>&lt;P&gt;01-27-2017 13:41:50.100 WARN  IniFile - C:\Program Files\SplunkUniversalForwarder\etc\system\local\inputs.conf, line 5: Cannot parse into key-value pair: D:HotelHubLog4NetLogs&lt;BR /&gt;
01-28-2017 11:10:24.728 WARN  IniFile - C:\Program Files\SplunkUniversalForwarder\etc\system\local\inputs.conf, line 5: Cannot parse into key-value pair: D:HotelHubLog4NetLogs&lt;/P&gt;

&lt;P&gt;This is what b tool is saying&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 10:31:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/In-inputs-conf-for-the-same-directory-why-does-adding-a-second/m-p/326778#M60718</guid>
      <dc:creator>puneethgowda</dc:creator>
      <dc:date>2017-03-03T10:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: In inputs.conf for the same directory, why does adding a second stanza for a different sourcetype not return data from the first stanza?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/In-inputs-conf-for-the-same-directory-why-does-adding-a-second/m-p/326779#M60719</link>
      <description>&lt;P&gt;01-27-2017 13:41:50.100 WARN  IniFile - C:\Program Files\SplunkUniversalForwarder\etc\system\local\inputs.conf, line 5: Cannot parse into key-value pair: D:HotelHubLog4NetLogs&lt;BR /&gt;
01-28-2017 11:10:24.728 WARN  IniFile - C:\Program Files\SplunkUniversalForwarder\etc\system\local\inputs.conf, line 5: Cannot parse into key-value pair: D:HotelHubLog4NetLogs&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 10:32:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/In-inputs-conf-for-the-same-directory-why-does-adding-a-second/m-p/326779#M60719</guid>
      <dc:creator>puneethgowda</dc:creator>
      <dc:date>2017-03-03T10:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: In inputs.conf for the same directory, why does adding a second stanza for a different sourcetype not return data from the first stanza?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/In-inputs-conf-for-the-same-directory-why-does-adding-a-second/m-p/326780#M60720</link>
      <description>&lt;P&gt;It might be worthwhile to try adding the file monitor via the command line in order to see how Splunk formats the stanza and then compare to your configuration file.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;lt;SPLUNK_ROOT&amp;gt;\bin\splunk add monitor D:\HotelHub\Log4NetLogs&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 11:29:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/In-inputs-conf-for-the-same-directory-why-does-adding-a-second/m-p/326780#M60720</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2017-03-03T11:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: In inputs.conf for the same directory, why does adding a second stanza for a different sourcetype not return data from the first stanza?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/In-inputs-conf-for-the-same-directory-why-does-adding-a-second/m-p/326781#M60721</link>
      <description>&lt;P&gt;nothing worked as expected so we are moving all the logs to one index and one source type and searching based on source="&lt;EM&gt;filename&lt;/EM&gt;" this is working great &lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 19:56:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/In-inputs-conf-for-the-same-directory-why-does-adding-a-second/m-p/326781#M60721</guid>
      <dc:creator>puneethgowda</dc:creator>
      <dc:date>2017-04-13T19:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: In inputs.conf for the same directory, why does adding a second stanza for a different sourcetype not return data from the first stanza?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/In-inputs-conf-for-the-same-directory-why-does-adding-a-second/m-p/326782#M60722</link>
      <description>&lt;P&gt;nothing worked as expected so we are moving all the logs to one index and one source type and searching based on source="filename" this is working great &lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 19:56:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/In-inputs-conf-for-the-same-directory-why-does-adding-a-second/m-p/326782#M60722</guid>
      <dc:creator>puneethgowda</dc:creator>
      <dc:date>2017-04-13T19:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: In inputs.conf for the same directory, why does adding a second stanza for a different sourcetype not return data fr</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/In-inputs-conf-for-the-same-directory-why-does-adding-a-second/m-p/611566#M105902</link>
      <description>&lt;P&gt;I had a similar problem, there were two _TCP_ROUTING attributes under one input stanza, the second attribute was overriding the first one.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 09:41:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/In-inputs-conf-for-the-same-directory-why-does-adding-a-second/m-p/611566#M105902</guid>
      <dc:creator>splunkoptimus</dc:creator>
      <dc:date>2022-09-01T09:41:02Z</dc:date>
    </item>
  </channel>
</rss>

