<?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: Unable to extract JSON fields in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-unable-to-extract-JSON-fields/m-p/613204#M50300</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/240743"&gt;@POR160893&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Just adding a spath should be enough.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=firemon sourcetype=firemon:rules | spath&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Sep 2022 09:28:59 GMT</pubDate>
    <dc:creator>scelikok</dc:creator>
    <dc:date>2022-09-15T09:28:59Z</dc:date>
    <item>
      <title>Why am I unable to extract JSON fields?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-unable-to-extract-JSON-fields/m-p/613203#M50299</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have an index where all the data is in JSON format and I am struggling to use Regex or spath to extract the fields:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="POR160893_0-1663233134326.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/21482i8310CC17A282A0B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="POR160893_0-1663233134326.png" alt="POR160893_0-1663233134326.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;I have used this but I got it from Google and I do not understand why "msi" is being used:&lt;BR /&gt;index=ABC sourcetype=DEF&lt;BR /&gt;| rex field=_raw "(?msi)(?&amp;lt;appNegated&amp;gt;\{.+\}$)"&lt;BR /&gt;| spath input=appNegated&lt;/P&gt;
&lt;P&gt;How can I extract each of these JSON-embedded fields as Splunk fields to be then used in a dashboard???&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Many thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 15:07:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-unable-to-extract-JSON-fields/m-p/613203#M50299</guid>
      <dc:creator>POR160893</dc:creator>
      <dc:date>2022-09-15T15:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to extract JSON fields</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-unable-to-extract-JSON-fields/m-p/613204#M50300</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/240743"&gt;@POR160893&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Just adding a spath should be enough.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=firemon sourcetype=firemon:rules | spath&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 09:28:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-unable-to-extract-JSON-fields/m-p/613204#M50300</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2022-09-15T09:28:59Z</dc:date>
    </item>
  </channel>
</rss>

