<?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: uploading json data file does not get parsed properly in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/uploading-json-data-file-does-not-get-parsed-properly/m-p/368018#M66864</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;
I found the answer to my question.&lt;BR /&gt;
The json file should be in below format&lt;BR /&gt;
{&lt;BR /&gt;
"key":"value",&lt;BR /&gt;
"key2":"value2"&lt;BR /&gt;
}&lt;BR /&gt;
{&lt;BR /&gt;
"key":"value",&lt;BR /&gt;
"key2":"value2"&lt;BR /&gt;
}&lt;/P&gt;

&lt;P&gt;Just upload the file it will get indexed and search queries also work nicely&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jan 2018 09:55:29 GMT</pubDate>
    <dc:creator>sawgata12345</dc:creator>
    <dc:date>2018-01-17T09:55:29Z</dc:date>
    <item>
      <title>uploading json data file does not get parsed properly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/uploading-json-data-file-does-not-get-parsed-properly/m-p/368015#M66861</link>
      <description>&lt;P&gt;Hi
I tried to upload file in json format but after uploading whole json is showing as single entry and no event getting gerenated from it.
What is the correct JSON format for splunk?
Is there any special format of JSON that Splunk understands?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2017 11:52:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/uploading-json-data-file-does-not-get-parsed-properly/m-p/368015#M66861</guid>
      <dc:creator>sawgata12345</dc:creator>
      <dc:date>2017-11-13T11:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: uploading json data file does not get parsed properly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/uploading-json-data-file-does-not-get-parsed-properly/m-p/368016#M66862</link>
      <description>&lt;P&gt;What are your props.conf settings for that sourcetype?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2017 13:57:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/uploading-json-data-file-does-not-get-parsed-properly/m-p/368016#M66862</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-11-13T13:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: uploading json data file does not get parsed properly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/uploading-json-data-file-does-not-get-parsed-properly/m-p/368017#M66863</link>
      <description>&lt;P&gt;no special format. just json&lt;/P&gt;

&lt;P&gt;you may need to do INDEXED_EXTRACTIONS = json in props.conf..&lt;BR /&gt;
per&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/SplunkCloud/latest/Data/Extractfieldsfromfileswithstructureddata" target="_blank"&gt;http://docs.splunk.com/Documentation/SplunkCloud/latest/Data/Extractfieldsfromfileswithstructureddata&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;there is also search time KV_MODE=json&lt;BR /&gt;&lt;BR /&gt;
(but do not set both KV_MODE and INDEXED_EXTRACTIONS ...its an either or,,, will get duplicate fields if both set)&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:43:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/uploading-json-data-file-does-not-get-parsed-properly/m-p/368017#M66863</guid>
      <dc:creator>jbarlow_splunk</dc:creator>
      <dc:date>2020-09-29T16:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: uploading json data file does not get parsed properly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/uploading-json-data-file-does-not-get-parsed-properly/m-p/368018#M66864</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I found the answer to my question.&lt;BR /&gt;
The json file should be in below format&lt;BR /&gt;
{&lt;BR /&gt;
"key":"value",&lt;BR /&gt;
"key2":"value2"&lt;BR /&gt;
}&lt;BR /&gt;
{&lt;BR /&gt;
"key":"value",&lt;BR /&gt;
"key2":"value2"&lt;BR /&gt;
}&lt;/P&gt;

&lt;P&gt;Just upload the file it will get indexed and search queries also work nicely&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2018 09:55:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/uploading-json-data-file-does-not-get-parsed-properly/m-p/368018#M66864</guid>
      <dc:creator>sawgata12345</dc:creator>
      <dc:date>2018-01-17T09:55:29Z</dc:date>
    </item>
  </channel>
</rss>

