<?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: different results searching json data depending on app in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/different-results-searching-json-data-depending-on-app/m-p/473458#M81328</link>
    <description>&lt;P&gt;Hi fdarrigo,&lt;/P&gt;

&lt;P&gt;Two possible reasons:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;You run the search in your custom app in fast mode, see &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Search/Changethesearchmode#Using_the_Fast_mode"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Search/Changethesearchmode#Using_the_Fast_mode&lt;/A&gt; for more details&lt;/LI&gt;
&lt;LI&gt;You need to add &lt;CODE&gt;KV_MODE = json&lt;/CODE&gt; to your sourcetype under &lt;CODE&gt;Setting - Source types&lt;/CODE&gt; in your custom app &lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
    <pubDate>Tue, 18 Feb 2020 01:53:57 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2020-02-18T01:53:57Z</dc:date>
    <item>
      <title>different results searching json data depending on app</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/different-results-searching-json-data-depending-on-app/m-p/473456#M81326</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8404i21A413923D5A4F2C/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;I am ingesting  JSON data via the HEC on a HeavyForwarder, but when I query the data in SplunkCloud, I have different results depending on which app I am using to query the data.&lt;/P&gt;

&lt;P&gt;For example, in the search and reporting app, the json data creates an event with fields "ping.jitter" and "ping.latency".  However, when I query using a custom app,  the event is not created and the fields "ping.jitter" and "ping.latency" are not created nor are they populated with data.&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8405iCE52C44BA612DEDA/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;BR /&gt;
Any ideas why?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2020 22:36:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/different-results-searching-json-data-depending-on-app/m-p/473456#M81326</guid>
      <dc:creator>fdarrigo</dc:creator>
      <dc:date>2020-02-17T22:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: different results searching json data depending on app</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/different-results-searching-json-data-depending-on-app/m-p/473457#M81327</link>
      <description>&lt;P&gt;In my experience Splunk &lt;EM&gt;attempts&lt;/EM&gt; to auto-extract json objects to fields and frequently fails. Try adding an &lt;CODE&gt;|spath&lt;/CODE&gt; command as your first pipe after basic search criteria like index, source, etc...&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 01:19:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/different-results-searching-json-data-depending-on-app/m-p/473457#M81327</guid>
      <dc:creator>anthonymelita</dc:creator>
      <dc:date>2020-02-18T01:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: different results searching json data depending on app</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/different-results-searching-json-data-depending-on-app/m-p/473458#M81328</link>
      <description>&lt;P&gt;Hi fdarrigo,&lt;/P&gt;

&lt;P&gt;Two possible reasons:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;You run the search in your custom app in fast mode, see &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Search/Changethesearchmode#Using_the_Fast_mode"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Search/Changethesearchmode#Using_the_Fast_mode&lt;/A&gt; for more details&lt;/LI&gt;
&lt;LI&gt;You need to add &lt;CODE&gt;KV_MODE = json&lt;/CODE&gt; to your sourcetype under &lt;CODE&gt;Setting - Source types&lt;/CODE&gt; in your custom app &lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 01:53:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/different-results-searching-json-data-depending-on-app/m-p/473458#M81328</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2020-02-18T01:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: different results searching json data depending on app</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/different-results-searching-json-data-depending-on-app/m-p/473459#M81329</link>
      <description>&lt;P&gt;MuS- Changing from fast mode to verbose solved the problem&lt;BR /&gt;
anthonymelita - thanks for the tip. I will keep it in mind.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 13:01:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/different-results-searching-json-data-depending-on-app/m-p/473459#M81329</guid>
      <dc:creator>fdarrigo</dc:creator>
      <dc:date>2020-02-18T13:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: different results searching json data depending on app</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/different-results-searching-json-data-depending-on-app/m-p/473460#M81330</link>
      <description>&lt;P&gt;Thanks.  I will keep it in mind.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 13:01:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/different-results-searching-json-data-depending-on-app/m-p/473460#M81330</guid>
      <dc:creator>fdarrigo</dc:creator>
      <dc:date>2020-02-18T13:01:32Z</dc:date>
    </item>
  </channel>
</rss>

