<?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: What are the steps to configure Splunk to parse and index JSON data? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/What-are-the-steps-to-configure-Splunk-to-parse-and-index-JSON/m-p/229593#M44683</link>
    <description>&lt;P&gt;so are you saying once the data is in splunk, instead of regurlar search using spath gives a clear picture..right?&lt;/P&gt;</description>
    <pubDate>Wed, 18 Nov 2015 17:49:35 GMT</pubDate>
    <dc:creator>chaseto</dc:creator>
    <dc:date>2015-11-18T17:49:35Z</dc:date>
    <item>
      <title>What are the steps to configure Splunk to parse and index JSON data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-are-the-steps-to-configure-Splunk-to-parse-and-index-JSON/m-p/229588#M44678</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;

&lt;P&gt;I am very new to Splunk. I can import data into Splunk from .csv file by:&lt;BR /&gt;
add data-&amp;gt;select source-&amp;gt;sourcetype(access_combined)-&amp;gt;next and click save. &lt;BR /&gt;
I can view the data by searching by giving the correct index and source name.&lt;/P&gt;

&lt;P&gt;In the same way, what is the process for JSON data? Can anyone explain me the detail steps of it starting from the props.conf?&lt;/P&gt;

&lt;P&gt;Below is the sample data which I have &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;{"version":"2.4","user":{"zipCode":"","pcnNumber":""},"event":[{"eventInfo":{"eventAction":"start","eventType":"cardApplication"},"productInfo":[{"productName":"DeltaGold","pmc":"113"}]}],"page":{"attributes":{"rbpnIndicator":"","preApproval":"NPA","appCache":"","appType":"Co-Brand","channel":"Non-DTW","rwd":"desktop","appConfig":"","experience":"Microsite","partner":"dal","acqCardType":"CCSG","appDecision":"","partnerAppType":"Co-Brand","acqExperience":"Microsite","productInfo":[{"productName":"DeltaGold","pmc":"113"}],"applicationId":"CPI_WEB","formName":"appForm","tool":"","autotrack":false,"appLength":"Long","decisionIndicator":"","flowType":"Prospect","sid":"2s0Hfr1lhsBhm8ad3hw01C2"},"pageInfo":{"country":"US","language":"en","pageID":"ng31hcrmnnh11zp","pageName":"DeltaGold_StartApp"},"category":{"primaryCategory":"Acq","subCategory1":"CCSG","subCategory2":"Microsite","businessUnit":"AMEX","subCategory3":"CPI"}}}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In the above data, do I get a separate field for each separated by semicolon and separate fields for the one which are there in the flower brackets?&lt;BR /&gt;
example:  &lt;CODE&gt;"event":[{"eventInfo":{"eventAction":"start","eventType":"cardApplication"}&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Sorry for such a big question and thank you in advance&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2015 18:13:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-are-the-steps-to-configure-Splunk-to-parse-and-index-JSON/m-p/229588#M44678</guid>
      <dc:creator>chaseto</dc:creator>
      <dc:date>2015-11-17T18:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: What are the steps to configure Splunk to parse and index JSON data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-are-the-steps-to-configure-Splunk-to-parse-and-index-JSON/m-p/229589#M44679</link>
      <description>&lt;P&gt;Here are a couple of links that may help&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/174939/why-are-my-json-fields-extracted-twice.html"&gt;https://answers.splunk.com/answers/174939/why-are-my-json-fields-extracted-twice.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://kzhendev.wordpress.com/2015/01/19/consuming-json-with-splunk-in-two-simple-steps/"&gt;https://kzhendev.wordpress.com/2015/01/19/consuming-json-with-splunk-in-two-simple-steps/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2015 18:47:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-are-the-steps-to-configure-Splunk-to-parse-and-index-JSON/m-p/229589#M44679</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2015-11-17T18:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: What are the steps to configure Splunk to parse and index JSON data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-are-the-steps-to-configure-Splunk-to-parse-and-index-JSON/m-p/229590#M44680</link>
      <description>&lt;P&gt;I would add the following line  under the respective sourcetype stanza.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;kv_mode=json&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;or use &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/SearchReference/spath"&gt;spath&lt;/A&gt; in the query.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2015 18:57:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-are-the-steps-to-configure-Splunk-to-parse-and-index-JSON/m-p/229590#M44680</guid>
      <dc:creator>pramit46</dc:creator>
      <dc:date>2015-11-17T18:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: What are the steps to configure Splunk to parse and index JSON data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-are-the-steps-to-configure-Splunk-to-parse-and-index-JSON/m-p/229591#M44681</link>
      <description>&lt;P&gt;Thank You for the response .I figured how the process is done,on the other side I want know does it have seperate fields for the one which is in the flower brackets&lt;/P&gt;

&lt;P&gt;"event":[{"eventInfo":{"eventAction":"start","eventType":"cardApplication"}&lt;/P&gt;

&lt;P&gt;like eventAction and eventType in two different fields.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2015 19:05:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-are-the-steps-to-configure-Splunk-to-parse-and-index-JSON/m-p/229591#M44681</guid>
      <dc:creator>chaseto</dc:creator>
      <dc:date>2015-11-17T19:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: What are the steps to configure Splunk to parse and index JSON data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-are-the-steps-to-configure-Splunk-to-parse-and-index-JSON/m-p/229592#M44682</link>
      <description>&lt;P&gt;spath is probably going to work best since you've got arrays in your data. Searching through arrays of objects can get a bit ugly in my experience.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2015 15:03:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-are-the-steps-to-configure-Splunk-to-parse-and-index-JSON/m-p/229592#M44682</guid>
      <dc:creator>mkemmerer</dc:creator>
      <dc:date>2015-11-18T15:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: What are the steps to configure Splunk to parse and index JSON data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-are-the-steps-to-configure-Splunk-to-parse-and-index-JSON/m-p/229593#M44683</link>
      <description>&lt;P&gt;so are you saying once the data is in splunk, instead of regurlar search using spath gives a clear picture..right?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2015 17:49:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-are-the-steps-to-configure-Splunk-to-parse-and-index-JSON/m-p/229593#M44683</guid>
      <dc:creator>chaseto</dc:creator>
      <dc:date>2015-11-18T17:49:35Z</dc:date>
    </item>
  </channel>
</rss>

