<?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 to parse/index only json entry from raw data which are in non-uniform pattern? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-index-only-json-entry-from-raw-data-which-are-in/m-p/491646#M83992</link>
    <description>&lt;P&gt;How to parse/index only json entry from raw data which are in non-uniform pattern?&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jan 2020 07:10:11 GMT</pubDate>
    <dc:creator>Boopalan</dc:creator>
    <dc:date>2020-01-27T07:10:11Z</dc:date>
    <item>
      <title>How to parse/index only json entry from raw data which are in non-uniform pattern?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-index-only-json-entry-from-raw-data-which-are-in/m-p/491646#M83992</link>
      <description>&lt;P&gt;How to parse/index only json entry from raw data which are in non-uniform pattern?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 07:10:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-index-only-json-entry-from-raw-data-which-are-in/m-p/491646#M83992</guid>
      <dc:creator>Boopalan</dc:creator>
      <dc:date>2020-01-27T07:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to parse/index only json entry from raw data which are in non-uniform pattern?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-index-only-json-entry-from-raw-data-which-are-in/m-p/491647#M83993</link>
      <description>&lt;P&gt;From the below raw data only json need to be extracted/indexed in the splunk and should be viewed as json structured view while searching this logs on search head&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;BOR&amp;gt;
ExSrc:Schwab.Client.Fx^
URL:null^
LogMsg:{"actor":{"Cust":null,"Acct":null,"Rep":null,"System":null},"header":{"AppId":null,"RecId":"null","Ver":"","StartTS":"null"},"source":{"Ip":"*","MacAddress":null,"SRCOS":"null","SRCRuntime":null,"SRCAppName":null,"SRCAppVersion":null,"SRCReqId":"null","CorrelationId":"null","SourceId":null,"Uri":"null"}}^
ExType:Common.Exceptions.ServiceCommunicationException^
&amp;lt;EOR&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 27 Jan 2020 07:17:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-index-only-json-entry-from-raw-data-which-are-in/m-p/491647#M83993</guid>
      <dc:creator>Boopalan</dc:creator>
      <dc:date>2020-01-27T07:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to parse/index only json entry from raw data which are in non-uniform pattern?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-index-only-json-entry-from-raw-data-which-are-in/m-p/491648#M83994</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval _raw=" &amp;lt;BOR&amp;gt;
  ExSrc:Schwab.Client.Fx^
  URL:null^
  LogMsg:{\"actor\":{\"Cust\":null,\"Acct\":null,\"Rep\":null,\"System\":null},\"header\":{\"AppId\":null,\"RecId\":\"null\",\"Ver\":\"\",\"StartTS\":\"null\"},\"source\":{\"Ip\":\"*\",\"MacAddress\":null,\"SRCOS\":\"null\",\"SRCRuntime\":null,\"SRCAppName\":null,\"SRCAppVersion\":null,\"SRCReqId\":\"null\",\"CorrelationId\":\"null\",\"SourceId\":null,\"Uri\":\"null\"}}^
  ExType:Common.Exceptions.ServiceCommunicationException^
  &amp;lt;EOR&amp;gt;" 
| rex "(?&amp;lt;json&amp;gt;(?={).+})" 
| spath input=json 
| table actor* header* source*
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Extracting in search, like this.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 07:47:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-index-only-json-entry-from-raw-data-which-are-in/m-p/491648#M83994</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-01-27T07:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to parse/index only json entry from raw data which are in non-uniform pattern?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-index-only-json-entry-from-raw-data-which-are-in/m-p/491649#M83995</link>
      <description>&lt;P&gt;Is there anyway to make this possible through configuration changes while parsing/indexing the log file itself&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 07:56:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-index-only-json-entry-from-raw-data-which-are-in/m-p/491649#M83995</guid>
      <dc:creator>Boopalan</dc:creator>
      <dc:date>2020-01-27T07:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to parse/index only json entry from raw data which are in non-uniform pattern?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-index-only-json-entry-from-raw-data-which-are-in/m-p/491650#M83996</link>
      <description>&lt;P&gt;sorry, I can't.  please ask others.&lt;BR /&gt;
please tell me why do you want &lt;CODE&gt;while parsing/indexing the log file itself&lt;/CODE&gt;?&lt;BR /&gt;
Is &lt;CODE&gt;collect&lt;/CODE&gt; bad? &lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 10:20:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-index-only-json-entry-from-raw-data-which-are-in/m-p/491650#M83996</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-01-27T10:20:30Z</dc:date>
    </item>
  </channel>
</rss>

