<?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 extract json value fields? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/How-to-extract-json-value-fields/m-p/674017#M11321</link>
    <description>&lt;P&gt;"reqUser":"mhundi","evtTime":"2023-06-08 14:04:06.504","access":"SELECT","resource":"dsc60180_ici_sde_tz_db/vehicle_master/light_truck_lob_flag,lincoln_lob_flag,model_e_lob_flag,vehicle_make_desc,vehicle_type_desc,warranty_start_date,vehicle_type_desc,warranty_start_date","resType":"@column","action":"select","result":1,"agent":"hiveServer2","policy":101343,"enforcer":"ranger-acl","sess":"00ef27f9-75a4-4821-9e8a-60f16af6b962","cliType":"HIVESERVER2","cliIP":"19.51.78.185","reqData":"SELECT * FROM (SELECT `Left`.`advisor_name`, `Left`.`appointment_created_by`, `Left`.`appointment_datetime&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fields to be extract&amp;nbsp;&lt;/P&gt;&lt;P&gt;reqUser, evtTime, resource&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jan 2024 08:11:33 GMT</pubDate>
    <dc:creator>karthi2809</dc:creator>
    <dc:date>2024-01-12T08:11:33Z</dc:date>
    <item>
      <title>How to extract json value fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-extract-json-value-fields/m-p/674017#M11321</link>
      <description>&lt;P&gt;"reqUser":"mhundi","evtTime":"2023-06-08 14:04:06.504","access":"SELECT","resource":"dsc60180_ici_sde_tz_db/vehicle_master/light_truck_lob_flag,lincoln_lob_flag,model_e_lob_flag,vehicle_make_desc,vehicle_type_desc,warranty_start_date,vehicle_type_desc,warranty_start_date","resType":"@column","action":"select","result":1,"agent":"hiveServer2","policy":101343,"enforcer":"ranger-acl","sess":"00ef27f9-75a4-4821-9e8a-60f16af6b962","cliType":"HIVESERVER2","cliIP":"19.51.78.185","reqData":"SELECT * FROM (SELECT `Left`.`advisor_name`, `Left`.`appointment_created_by`, `Left`.`appointment_datetime&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fields to be extract&amp;nbsp;&lt;/P&gt;&lt;P&gt;reqUser, evtTime, resource&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 08:11:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-extract-json-value-fields/m-p/674017#M11321</guid>
      <dc:creator>karthi2809</dc:creator>
      <dc:date>2024-01-12T08:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract json value fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-extract-json-value-fields/m-p/674024#M11322</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;this is not a json data. It could be part of if but not really full, working json.&lt;/P&gt;&lt;P&gt;If you have full json, it should be usable without any difficulties e.g. with spath if/when onboarding has done correctly.&lt;/P&gt;&lt;P&gt;If it's not working json then you must use e.g. rex command to get wanted values from _raw event.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "\"reqUser\":\"(?&amp;lt;reqUser&amp;gt;[^\"]+)\",\"evtTime\":\"(?&amp;lt;evtTime&amp;gt;[^\"]+)\","
| rex "\"resource\":\"(?&amp;lt;resource&amp;gt;[^\"]+)\""
| table reqUser evtTime resource &lt;/LI-CODE&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 09:31:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-extract-json-value-fields/m-p/674024#M11322</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2024-01-12T09:31:27Z</dc:date>
    </item>
  </channel>
</rss>

