<?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: Splunk query to extract json key value in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-query-to-extract-json-key-value/m-p/584077#M203406</link>
    <description>&lt;P&gt;Regex:&lt;/P&gt;&lt;P&gt;payload\=\{\"+PlatformVersion[\"\:]*(?&amp;lt;platform_ver&amp;gt;[^\"]*)[\"\,"]*(?&amp;lt;platform_client&amp;gt;[^\"]*)\"&lt;/P&gt;</description>
    <pubDate>Tue, 08 Feb 2022 10:35:44 GMT</pubDate>
    <dc:creator>johnhuang</dc:creator>
    <dc:date>2022-02-08T10:35:44Z</dc:date>
    <item>
      <title>Splunk query to extract json key value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-query-to-extract-json-key-value/m-p/584034#M203386</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Please help to extract payload data from logs entries and extract the PlatformVersion and PlatformClient values. Need in python code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Log Entries:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"tracking~2015~526F3D98","2015:1302",164,1,"2022-02-07 11:10:08.744 INFO [threadPoolTaskExecutorTransformed5 - ?] saving event to log =core-server-event-tracking-api, payload={""PlatformVersion"":""6.34.36 - 4.18.6"",""PlatformClient"":""html""},53&lt;BR /&gt;"tracking~2015~526F3D98","2015:130",164423,1,"2022-02-07 11:10:08.744 INFO [threadPoolTaskExecutorTransformed5 - ?] saving event to log =core-server-event-tracking-api, payload={""PlatformVersion"":""6.34.37 - 4.18.7"",""PlatformClient"":""xml""},54&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 04:30:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-query-to-extract-json-key-value/m-p/584034#M203386</guid>
      <dc:creator>sahuask</dc:creator>
      <dc:date>2022-02-08T04:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk query to extract json key value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-query-to-extract-json-key-value/m-p/584038#M203389</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/242869"&gt;@sahuask&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You shall be bit more specific, the SH automatically extract the JSON fields automatically if props.conf having correct settings.&lt;/P&gt;&lt;P&gt;What you mentioned was about python code,&amp;nbsp; meaning how you going to read the data in python code?&amp;nbsp;&lt;BR /&gt;probably API?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 06:00:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-query-to-extract-json-key-value/m-p/584038#M203389</guid>
      <dc:creator>venkatasri</dc:creator>
      <dc:date>2022-02-08T06:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk query to extract json key value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-query-to-extract-json-key-value/m-p/584039#M203390</link>
      <description>&lt;P&gt;I dont have the control for the configuration setting. the ask is to extract from the log entries as text.&lt;/P&gt;&lt;P&gt;Yes, I need a to use splunk api in python code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 06:06:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-query-to-extract-json-key-value/m-p/584039#M203390</guid>
      <dc:creator>sahuask</dc:creator>
      <dc:date>2022-02-08T06:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk query to extract json key value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-query-to-extract-json-key-value/m-p/584077#M203406</link>
      <description>&lt;P&gt;Regex:&lt;/P&gt;&lt;P&gt;payload\=\{\"+PlatformVersion[\"\:]*(?&amp;lt;platform_ver&amp;gt;[^\"]*)[\"\,"]*(?&amp;lt;platform_client&amp;gt;[^\"]*)\"&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 10:35:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-query-to-extract-json-key-value/m-p/584077#M203406</guid>
      <dc:creator>johnhuang</dc:creator>
      <dc:date>2022-02-08T10:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk query to extract json key value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-query-to-extract-json-key-value/m-p/584125#M203415</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/190794"&gt;@johnhuang&lt;/a&gt;&amp;nbsp;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using python and im getting error- Mismatched ']'.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please provide me the python version of this regex. Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 14:56:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-query-to-extract-json-key-value/m-p/584125#M203415</guid>
      <dc:creator>sahuask</dc:creator>
      <dc:date>2022-02-08T14:56:52Z</dc:date>
    </item>
  </channel>
</rss>

