<?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: how to break the JSON data? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/how-to-break-the-JSON-data/m-p/214066#M42083</link>
    <description>&lt;P&gt;I tried using the same UI sourcetype with CLI ,but it did not work,If you could help me with  the sourcetype for CLI that would be great&lt;/P&gt;</description>
    <pubDate>Mon, 22 Feb 2016 02:27:57 GMT</pubDate>
    <dc:creator>vrmandadi</dc:creator>
    <dc:date>2016-02-22T02:27:57Z</dc:date>
    <item>
      <title>how to break the JSON data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-break-the-JSON-data/m-p/214064#M42081</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;

&lt;P&gt;Attached is the sample JSON  file which I am trying to upload to Splunk.I have uploaded it by Splunk WEB and it broke the events successfully but when I am trying to upload via CLI it is taking all 8 events into a single event.Can you please help how to break those events(8).&lt;/P&gt;</description>
      <pubDate>Sat, 20 Feb 2016 20:20:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-break-the-JSON-data/m-p/214064#M42081</guid>
      <dc:creator>vrmandadi</dc:creator>
      <dc:date>2016-02-20T20:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to break the JSON data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-break-the-JSON-data/m-p/214065#M42082</link>
      <description>&lt;P&gt;When you upload the data via the UI, Splunk detects the source file format and assigns a sourcetype that makes sense. In this case, probably &lt;STRONG&gt;_json&lt;/STRONG&gt;&lt;BR /&gt;
If you want to achieve the same result via the command line, you need to configure and specify a sourcetype with the proper settings for your json data. When you are using the command line, you have to replace some of the smarts of the UI with manual actions.&lt;BR /&gt;
I'd recommend reading (at least) &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Overviewofeventprocessing"&gt;this chapter of the Getting Data In manual&lt;/A&gt; to understand how Splunk processes data. &lt;/P&gt;

&lt;P&gt;You can also go through the UI once, then save the sourcetype settings under a new name you chose, and then use that sourcetype on subsequent CLI uploads.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2016 10:33:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-break-the-JSON-data/m-p/214065#M42082</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2016-02-21T10:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to break the JSON data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-break-the-JSON-data/m-p/214066#M42083</link>
      <description>&lt;P&gt;I tried using the same UI sourcetype with CLI ,but it did not work,If you could help me with  the sourcetype for CLI that would be great&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2016 02:27:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-break-the-JSON-data/m-p/214066#M42083</guid>
      <dc:creator>vrmandadi</dc:creator>
      <dc:date>2016-02-22T02:27:57Z</dc:date>
    </item>
  </channel>
</rss>

