<?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: Conf file precedence issue, JSON extraction in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Conf-file-precedence-issue-JSON-extraction/m-p/296633#M56256</link>
    <description>&lt;P&gt;ensure that  &lt;CODE&gt;[samplejson]&lt;/CODE&gt; stanza is not used in another app&lt;BR /&gt;
The best way you can check is to use debug command on btool&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/bin/splunk cmd btool props list --debug &amp;gt;/tmp/props.btool.out
$SPLUNK_HOME/bin/splunk cmd btool transforms list --debug &amp;gt;/tmp/transforms.btool.out
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And check for the &lt;CODE&gt;[samplejson]&lt;/CODE&gt; if its coming from your app or somewhere else&lt;/P&gt;</description>
    <pubDate>Fri, 17 Nov 2017 11:32:43 GMT</pubDate>
    <dc:creator>koshyk</dc:creator>
    <dc:date>2017-11-17T11:32:43Z</dc:date>
    <item>
      <title>Conf file precedence issue, JSON extraction</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Conf-file-precedence-issue-JSON-extraction/m-p/296632#M56255</link>
      <description>&lt;P&gt;props definition is below, when i save it in app\search\local directory it doesn't work as expected{events are not broken properly}. &lt;BR /&gt;
When saving the same configuration in system\local it works fine. &lt;/P&gt;

&lt;P&gt;what am I missing?&lt;/P&gt;

&lt;P&gt;[samplejson]&lt;BR /&gt;
TIME_PREFIX = ("observedTime":")&lt;BR /&gt;
TIME_FORMAT = %Y-%m-%dT%H:%M:%S&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 19&lt;BR /&gt;
LINE_BREAKER = ([\n\r]+){&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;BR /&gt;
TRUNCATE = 0&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:53:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Conf-file-precedence-issue-JSON-extraction/m-p/296632#M56255</guid>
      <dc:creator>apoorvaaj</dc:creator>
      <dc:date>2020-09-29T16:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Conf file precedence issue, JSON extraction</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Conf-file-precedence-issue-JSON-extraction/m-p/296633#M56256</link>
      <description>&lt;P&gt;ensure that  &lt;CODE&gt;[samplejson]&lt;/CODE&gt; stanza is not used in another app&lt;BR /&gt;
The best way you can check is to use debug command on btool&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/bin/splunk cmd btool props list --debug &amp;gt;/tmp/props.btool.out
$SPLUNK_HOME/bin/splunk cmd btool transforms list --debug &amp;gt;/tmp/transforms.btool.out
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And check for the &lt;CODE&gt;[samplejson]&lt;/CODE&gt; if its coming from your app or somewhere else&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2017 11:32:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Conf-file-precedence-issue-JSON-extraction/m-p/296633#M56256</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2017-11-17T11:32:43Z</dc:date>
    </item>
  </channel>
</rss>

