<?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: parse and index json fields from string message in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/parse-and-index-json-fields-from-string-message/m-p/540414#M152887</link>
    <description>&lt;P&gt;This gives me what i want but i am unable to index it in splunk&amp;nbsp;&lt;/P&gt;&lt;P&gt;(?&amp;lt;=streamstart-).*?(?=streamstop)&lt;/P&gt;</description>
    <pubDate>Thu, 18 Feb 2021 16:50:50 GMT</pubDate>
    <dc:creator>vashodha</dc:creator>
    <dc:date>2021-02-18T16:50:50Z</dc:date>
    <item>
      <title>parse and index json fields from string message</title>
      <link>https://community.splunk.com/t5/Splunk-Search/parse-and-index-json-fields-from-string-message/m-p/540413#M152886</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have log in the format&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;SPAN class="t"&gt;2021-02-18T16:17:12&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN class="t"&gt;189Z&lt;/SPAN&gt;&lt;SPAN&gt; [&lt;/SPAN&gt;&lt;SPAN class="t"&gt;main&lt;/SPAN&gt;&lt;SPAN&gt;] &lt;/SPAN&gt;&lt;SPAN class="t"&gt;INFO&lt;/SPAN&gt;&amp;nbsp;logname&amp;nbsp;&lt;SPAN class="t"&gt;-&lt;/SPAN&gt;&lt;SPAN class="t"&gt;streamstart-k1:V1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN class="t"&gt;K2:V2&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN class="t"&gt;K3:V3&lt;/SPAN&gt;&lt;SPAN&gt;,stream&lt;SPAN class="t"&gt;stop, &amp;lt;ADDIITONAL DATA&amp;gt;&lt;/SPAN&gt;"&amp;nbsp; i want to parse out json elements k1:v1 etc thats between&amp;nbsp; "-&lt;SPAN class="t"&gt;streamstart" and&amp;nbsp;streamstop&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 16:28:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/parse-and-index-json-fields-from-string-message/m-p/540413#M152886</guid>
      <dc:creator>vashodha</dc:creator>
      <dc:date>2021-02-18T16:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: parse and index json fields from string message</title>
      <link>https://community.splunk.com/t5/Splunk-Search/parse-and-index-json-fields-from-string-message/m-p/540414#M152887</link>
      <description>&lt;P&gt;This gives me what i want but i am unable to index it in splunk&amp;nbsp;&lt;/P&gt;&lt;P&gt;(?&amp;lt;=streamstart-).*?(?=streamstop)&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 16:50:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/parse-and-index-json-fields-from-string-message/m-p/540414#M152887</guid>
      <dc:creator>vashodha</dc:creator>
      <dc:date>2021-02-18T16:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: parse and index json fields from string message</title>
      <link>https://community.splunk.com/t5/Splunk-Search/parse-and-index-json-fields-from-string-message/m-p/540434#M152893</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;rex "&lt;SPAN&gt;streamstart(?&amp;lt;myvariable&amp;gt;(.*)(?=stream&lt;SPAN class="t"&gt;stop&lt;/SPAN&gt;))&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 19:43:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/parse-and-index-json-fields-from-string-message/m-p/540434#M152893</guid>
      <dc:creator>b4badri</dc:creator>
      <dc:date>2021-02-18T19:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: parse and index json fields from string message</title>
      <link>https://community.splunk.com/t5/Splunk-Search/parse-and-index-json-fields-from-string-message/m-p/540443#M152896</link>
      <description>&lt;P&gt;it does the job but still dosent index the fields its extracted it out to the variable&amp;nbsp; can we somehow index these csv values&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 21:41:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/parse-and-index-json-fields-from-string-message/m-p/540443#M152896</guid>
      <dc:creator>vashodha</dc:creator>
      <dc:date>2021-02-18T21:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: parse and index json fields from string message</title>
      <link>https://community.splunk.com/t5/Splunk-Search/parse-and-index-json-fields-from-string-message/m-p/540474#M152910</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231655"&gt;@vashodha&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes. Data extracted using rex in the search time will only be available for the search. You need to follow series of steps based on your Splunk solution for creating fields at Index time.&lt;/P&gt;&lt;P&gt;Please refer the below article.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.1.1/Data/Configureindex-timefieldextraction" target="_blank" rel="noopener"&gt;Create custom fields at index time - Splunk Documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2021 06:30:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/parse-and-index-json-fields-from-string-message/m-p/540474#M152910</guid>
      <dc:creator>b4badri</dc:creator>
      <dc:date>2021-02-19T06:30:40Z</dc:date>
    </item>
  </channel>
</rss>

