<?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 How do you extract JSON logs that have value =? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-extract-JSON-logs-that-have-value/m-p/447704#M77846</link>
    <description>&lt;P&gt;Hi All, &lt;/P&gt;

&lt;P&gt;I am looking for a field extraction at that time at indexing for JSON file format.&lt;/P&gt;

&lt;P&gt;{"field1": "a=\"1", b=\"\",c=\"\",d=\"4", "field2": "x=\"a",y=\"\", "field3": "value3",}&lt;/P&gt;

&lt;P&gt;getting logs in Splunk as below &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;field1 =a="1", b="",c="",d="4"
field2=x="a",y=" "
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But, Looking for key value pair for a,b,c,d,x,y in the form of fieldname and fieldvalue.&lt;BR /&gt;
a=1&lt;BR /&gt;
d=4&lt;BR /&gt;
x=a&lt;BR /&gt;
Tried with spath,xmlkv, but no luck.&lt;/P&gt;

&lt;P&gt;Could you please help me out in this.&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Sat, 27 Oct 2018 19:38:42 GMT</pubDate>
    <dc:creator>rakeshksingh</dc:creator>
    <dc:date>2018-10-27T19:38:42Z</dc:date>
    <item>
      <title>How do you extract JSON logs that have value =?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-extract-JSON-logs-that-have-value/m-p/447704#M77846</link>
      <description>&lt;P&gt;Hi All, &lt;/P&gt;

&lt;P&gt;I am looking for a field extraction at that time at indexing for JSON file format.&lt;/P&gt;

&lt;P&gt;{"field1": "a=\"1", b=\"\",c=\"\",d=\"4", "field2": "x=\"a",y=\"\", "field3": "value3",}&lt;/P&gt;

&lt;P&gt;getting logs in Splunk as below &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;field1 =a="1", b="",c="",d="4"
field2=x="a",y=" "
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But, Looking for key value pair for a,b,c,d,x,y in the form of fieldname and fieldvalue.&lt;BR /&gt;
a=1&lt;BR /&gt;
d=4&lt;BR /&gt;
x=a&lt;BR /&gt;
Tried with spath,xmlkv, but no luck.&lt;/P&gt;

&lt;P&gt;Could you please help me out in this.&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Sat, 27 Oct 2018 19:38:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-extract-JSON-logs-that-have-value/m-p/447704#M77846</guid>
      <dc:creator>rakeshksingh</dc:creator>
      <dc:date>2018-10-27T19:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do you extract JSON logs that have value =?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-extract-JSON-logs-that-have-value/m-p/447705#M77847</link>
      <description>&lt;P&gt;SED-alter=s/=\\"/:\\"/&lt;/P&gt;</description>
      <pubDate>Sun, 28 Oct 2018 13:38:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-extract-JSON-logs-that-have-value/m-p/447705#M77847</guid>
      <dc:creator>valiquet</dc:creator>
      <dc:date>2018-10-28T13:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do you extract JSON logs that have value =?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-extract-JSON-logs-that-have-value/m-p/447706#M77848</link>
      <description>&lt;P&gt;its not working. &lt;/P&gt;

&lt;P&gt;Could you please suggest any other way ?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2018 18:15:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-extract-JSON-logs-that-have-value/m-p/447706#M77848</guid>
      <dc:creator>rakeshksingh</dc:creator>
      <dc:date>2018-11-19T18:15:32Z</dc:date>
    </item>
  </channel>
</rss>

