<?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: Extract json fields in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Extract-json-fields/m-p/756905#M120067</link>
    <description>&lt;P&gt;It should works as already said.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it didn't work then maybe you have too long json event or it something like json but not exactly.&lt;/P&gt;&lt;P&gt;Please give some more information to us if needed.&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jan 2026 16:50:24 GMT</pubDate>
    <dc:creator>isoutamo</dc:creator>
    <dc:date>2026-01-02T16:50:24Z</dc:date>
    <item>
      <title>Extract json fields</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extract-json-fields/m-p/756885#M120057</link>
      <description>&lt;P&gt;I have multiple fields under the &lt;EM&gt;interesting fields&lt;/EM&gt; section named field1, field2, field3, and so on. Each of these fields contains a JSON key–value pair. I also have other fields that are already properly extracted and do not follow this field1, field2 pattern.&lt;/P&gt;&lt;P&gt;How can I extract values from these field1, field2, etc. fields? For example, if field1 contains {"username": "testUser"}, how can I filter for the value "testUser"? The raw data looks fine json logs.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jan 2026 08:55:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extract-json-fields/m-p/756885#M120057</guid>
      <dc:creator>falcon</dc:creator>
      <dc:date>2026-01-02T08:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Extract json fields</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extract-json-fields/m-p/756886#M120058</link>
      <description>&lt;P&gt;You can use spath, for example:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| spath input=field1&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 02 Jan 2026 10:11:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extract-json-fields/m-p/756886#M120058</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2026-01-02T10:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Extract json fields</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extract-json-fields/m-p/756888#M120060</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/314511"&gt;@falcon&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;at first use INDEXED_EXTRACTIONS = JSON in the sourcetype definition and then use, as&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;said, the spath command (for more infos see at (&amp;nbsp;&lt;A href="https://help.splunk.com/en/splunk-enterprise/search/spl-search-reference/9.0/search-commands/spath" target="_blank"&gt;https://help.splunk.com/en/splunk-enterprise/search/spl-search-reference/9.0/search-commands/spath&lt;/A&gt;&amp;nbsp;).&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jan 2026 11:03:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extract-json-fields/m-p/756888#M120060</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2026-01-02T11:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Extract json fields</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extract-json-fields/m-p/756905#M120067</link>
      <description>&lt;P&gt;It should works as already said.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it didn't work then maybe you have too long json event or it something like json but not exactly.&lt;/P&gt;&lt;P&gt;Please give some more information to us if needed.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jan 2026 16:50:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extract-json-fields/m-p/756905#M120067</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2026-01-02T16:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Extract json fields</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extract-json-fields/m-p/756922#M120070</link>
      <description>&lt;P&gt;Wait.&lt;/P&gt;&lt;P&gt;1. Indexed extractions have nothing to do with spath command. And as I understand the question, only parts of the original event form json structures, not the whole raw event. In this case indexed extractions won't work anyway.&lt;/P&gt;&lt;P&gt;2. As a rule of thumb, indexed extractions shouldn't be used unless there is no other way.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jan 2026 21:51:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extract-json-fields/m-p/756922#M120070</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2026-01-02T21:51:40Z</dc:date>
    </item>
  </channel>
</rss>

