<?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: Cleaning up props.conf, | (OR) not working for multiple sources in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Cleaning-up-props-conf-OR-not-working-for-multiple-sources/m-p/24425#M3854</link>
    <description>&lt;P&gt;Give this notation a try:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[source::(udp:32001)|(udp:32002)|(udp:32006)]&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Also, to troubleshoot further and to see where and what parameters are set for each source use &lt;CODE&gt;btool&lt;/CODE&gt; :&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;splunk cmd btool props list [stanza_name]&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;or, for even more verbosity:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;splunk cmd btool --debug props list [stanza_name]&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;Hope this helps.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;gt; please upvote and accept answer if you find it useful - thanks!&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Nov 2011 21:31:46 GMT</pubDate>
    <dc:creator>_d_</dc:creator>
    <dc:date>2011-11-29T21:31:46Z</dc:date>
    <item>
      <title>Cleaning up props.conf, | (OR) not working for multiple sources</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cleaning-up-props-conf-OR-not-working-for-multiple-sources/m-p/24424#M3853</link>
      <description>&lt;P&gt;I have the following in props.conf&lt;BR /&gt;
&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;
[source::udp:32001]&lt;BR /&gt;
TZ                      = UTC&lt;BR /&gt;
TIME_FORMAT             = %b %d %H:%M:%S&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 32&lt;BR /&gt;
BREAK_ONLY_BEFORE_DATE  = True&lt;BR /&gt;
SHOULD_LINEMERGE        = False&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;[source::udp:32002]&lt;BR /&gt;
TZ                      = UTC&lt;BR /&gt;
TIME_FORMAT             = %b %d %H:%M:%S&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 32&lt;BR /&gt;
BREAK_ONLY_BEFORE_DATE  = True&lt;BR /&gt;
SHOULD_LINEMERGE        = False&lt;/P&gt;

&lt;P&gt;[source::udp:32006]&lt;BR /&gt;
TIME_FORMAT             = %b %d %H:%M:%S&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 32&lt;BR /&gt;
BREAK_ONLY_BEFORE_DATE  = True&lt;BR /&gt;
SHOULD_LINEMERGE        = False&lt;BR /&gt;
&lt;/P&gt;

&lt;P&gt;From what I've read, it seems this should work to "simplify" my props.conf, but when I actually implement this it doesn't work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::udp:32001|udp:32002|udp:32006]
TIME_FORMAT             = %b %d %H:%M:%S
MAX_TIMESTAMP_LOOKAHEAD = 32
BREAK_ONLY_BEFORE_DATE  = True
SHOULD_LINEMERGE        = False

[source::udp:32001|udp:32002]
TZ                      = UTC
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;With source-specific entries, time settings are correctly interpreted. When I attempt to configure a single stanza with multiple sources using |, it fails (most notably, the log data from udp:32001/2 are shifted 5 hours in the future).&lt;/P&gt;

&lt;P&gt;Is this not supported? Or am I just doing it wrong? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 10:09:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cleaning-up-props-conf-OR-not-working-for-multiple-sources/m-p/24424#M3853</guid>
      <dc:creator>jeff</dc:creator>
      <dc:date>2020-09-28T10:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up props.conf, | (OR) not working for multiple sources</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cleaning-up-props-conf-OR-not-working-for-multiple-sources/m-p/24425#M3854</link>
      <description>&lt;P&gt;Give this notation a try:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[source::(udp:32001)|(udp:32002)|(udp:32006)]&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Also, to troubleshoot further and to see where and what parameters are set for each source use &lt;CODE&gt;btool&lt;/CODE&gt; :&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;splunk cmd btool props list [stanza_name]&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;or, for even more verbosity:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;splunk cmd btool --debug props list [stanza_name]&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;Hope this helps.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;gt; please upvote and accept answer if you find it useful - thanks!&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2011 21:31:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cleaning-up-props-conf-OR-not-working-for-multiple-sources/m-p/24425#M3854</guid>
      <dc:creator>_d_</dc:creator>
      <dc:date>2011-11-29T21:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up props.conf, | (OR) not working for multiple sources</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cleaning-up-props-conf-OR-not-working-for-multiple-sources/m-p/24426#M3855</link>
      <description>&lt;P&gt;Nope - fraid not. Simple test:&lt;/P&gt;

&lt;P&gt;[source::(udp:32001)|(udp:32002)|(udp:32006)]&lt;BR /&gt;
  FIELDALIAS-user2        = User_Name as user2&lt;/P&gt;

&lt;P&gt;[source::udp:32001]&lt;BR /&gt;
  FIELDALIAS-user         = User_Name as user&lt;BR /&gt;
  FIELDALIAS-user3        = User_Name as user3&lt;/P&gt;

&lt;P&gt;"user" and "user3" get picked up, "user2" does not. btool picks up the settings and reports the stanza as written in props.conf, so...&lt;/P&gt;

&lt;P&gt;Think I'm just going to report a bug and move on.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 10:12:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cleaning-up-props-conf-OR-not-working-for-multiple-sources/m-p/24426#M3855</guid>
      <dc:creator>jeff</dc:creator>
      <dc:date>2020-09-28T10:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up props.conf, | (OR) not working for multiple sources</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cleaning-up-props-conf-OR-not-working-for-multiple-sources/m-p/24427#M3856</link>
      <description>&lt;P&gt;Also, if you want to see a complete view of your Splunk install, install the Splunk on Splunk (SoS) app with SideView Utils.  You can see everything about your Splunk environment in one place.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://splunk-base.splunk.com/apps/29008/sos-splunk-on-splunk"&gt;http://splunk-base.splunk.com/apps/29008/sos-splunk-on-splunk&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://splunk-base.splunk.com/apps/22279/sideview-utils"&gt;http://splunk-base.splunk.com/apps/22279/sideview-utils&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2011 15:46:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cleaning-up-props-conf-OR-not-working-for-multiple-sources/m-p/24427#M3856</guid>
      <dc:creator>dmaislin_splunk</dc:creator>
      <dc:date>2011-12-08T15:46:59Z</dc:date>
    </item>
  </channel>
</rss>

