<?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 the specific key value pair ? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-extract-the-specific-key-value-pair/m-p/550467#M38015</link>
    <description>&lt;P&gt;We have the following data ingested (not json format) , where w&lt;SPAN class="t"&gt;e are trying to extract&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="t"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;DeletedImages&lt;SPAN&gt;"&lt;/SPAN&gt;: 0 and&amp;nbsp;&lt;SPAN&gt;"&lt;/SPAN&gt;DeletedImages&lt;SPAN&gt;"&lt;/SPAN&gt;: 24&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="t"&gt;value pairs&lt;BR /&gt;&lt;BR /&gt;Data:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;2021-05-04 - 13:50:41.878 - INFO : Action completed in 0.192996025085 seconds, result is {&lt;BR /&gt;"images-deleted": 0,&lt;BR /&gt;"metrics": {&lt;BR /&gt;"Action": "Ec2DeleteImageAction",&lt;BR /&gt;"Data": {&lt;BR /&gt;"DeletedImages": 0&lt;BR /&gt;},&lt;BR /&gt;"Version": "1.0",&lt;BR /&gt;"Type": "action",&lt;BR /&gt;"ActionId": "12345"&lt;BR /&gt;},&lt;BR /&gt;"account": "123456789",&lt;BR /&gt;"task": "ABCD-EFGE-QAQ-DELETE-IMAGE",&lt;BR /&gt;"images": 535,&lt;BR /&gt;"region": "ab-east-1"&lt;BR /&gt;} - ReconNum:123456678901234&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;2021-05-04 - 13:55:41.878 - INFO : Action completed in 0.192996025085 seconds, result is {&lt;BR /&gt;"images-deleted": 0,&lt;BR /&gt;"metrics": {&lt;BR /&gt;"Action": "Ec2DeleteImageAction",&lt;BR /&gt;"Data": {&lt;BR /&gt;"DeletedImages": 24&lt;BR /&gt;},&lt;BR /&gt;"Version": "1.0",&lt;BR /&gt;"Type": "action",&lt;BR /&gt;"ActionId": "12345"&lt;BR /&gt;},&lt;BR /&gt;"account": "123456788",&lt;BR /&gt;"task": "ABCD-EFGE-QAQ-DELETE-IMAGE",&lt;BR /&gt;"images": 536,&lt;BR /&gt;"region": "ab-east-1"&lt;BR /&gt;} - ReconNum:123456678901235&lt;/P&gt;</description>
    <pubDate>Wed, 05 May 2021 00:52:20 GMT</pubDate>
    <dc:creator>mlevsh</dc:creator>
    <dc:date>2021-05-05T00:52:20Z</dc:date>
    <item>
      <title>How to extract the specific key value pair ?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-extract-the-specific-key-value-pair/m-p/550467#M38015</link>
      <description>&lt;P&gt;We have the following data ingested (not json format) , where w&lt;SPAN class="t"&gt;e are trying to extract&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="t"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;DeletedImages&lt;SPAN&gt;"&lt;/SPAN&gt;: 0 and&amp;nbsp;&lt;SPAN&gt;"&lt;/SPAN&gt;DeletedImages&lt;SPAN&gt;"&lt;/SPAN&gt;: 24&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="t"&gt;value pairs&lt;BR /&gt;&lt;BR /&gt;Data:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;2021-05-04 - 13:50:41.878 - INFO : Action completed in 0.192996025085 seconds, result is {&lt;BR /&gt;"images-deleted": 0,&lt;BR /&gt;"metrics": {&lt;BR /&gt;"Action": "Ec2DeleteImageAction",&lt;BR /&gt;"Data": {&lt;BR /&gt;"DeletedImages": 0&lt;BR /&gt;},&lt;BR /&gt;"Version": "1.0",&lt;BR /&gt;"Type": "action",&lt;BR /&gt;"ActionId": "12345"&lt;BR /&gt;},&lt;BR /&gt;"account": "123456789",&lt;BR /&gt;"task": "ABCD-EFGE-QAQ-DELETE-IMAGE",&lt;BR /&gt;"images": 535,&lt;BR /&gt;"region": "ab-east-1"&lt;BR /&gt;} - ReconNum:123456678901234&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;2021-05-04 - 13:55:41.878 - INFO : Action completed in 0.192996025085 seconds, result is {&lt;BR /&gt;"images-deleted": 0,&lt;BR /&gt;"metrics": {&lt;BR /&gt;"Action": "Ec2DeleteImageAction",&lt;BR /&gt;"Data": {&lt;BR /&gt;"DeletedImages": 24&lt;BR /&gt;},&lt;BR /&gt;"Version": "1.0",&lt;BR /&gt;"Type": "action",&lt;BR /&gt;"ActionId": "12345"&lt;BR /&gt;},&lt;BR /&gt;"account": "123456788",&lt;BR /&gt;"task": "ABCD-EFGE-QAQ-DELETE-IMAGE",&lt;BR /&gt;"images": 536,&lt;BR /&gt;"region": "ab-east-1"&lt;BR /&gt;} - ReconNum:123456678901235&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 00:52:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-extract-the-specific-key-value-pair/m-p/550467#M38015</guid>
      <dc:creator>mlevsh</dc:creator>
      <dc:date>2021-05-05T00:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the specific key value pair ?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-extract-the-specific-key-value-pair/m-p/550468#M38016</link>
      <description>&lt;P&gt;Use rex with&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=_raw "DeletedImages.:\s(?&amp;lt;DeletedImageCount&amp;gt;\d+)"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 01:03:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-extract-the-specific-key-value-pair/m-p/550468#M38016</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2021-05-05T01:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the specific key value pair ?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-extract-the-specific-key-value-pair/m-p/550469#M38017</link>
      <description>&lt;P&gt;Assuming that is two events. If it is a single event and you need to extract both values from it, then modify the rex statement like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=_raw max_match=0 "DeletedImages.:\s(?&amp;lt;DeletedImageCount&amp;gt;\d+)"&lt;/LI-CODE&gt;&lt;P&gt;and you will get a multi value field with the two values&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 01:05:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-extract-the-specific-key-value-pair/m-p/550469#M38017</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2021-05-05T01:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the specific key value pair ?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-extract-the-specific-key-value-pair/m-p/550556#M38037</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp; Thank you! That worked perfectly!&lt;/P&gt;&lt;DIV class="lia-message-author-avatar lia-component-author-avatar lia-component-message-view-widget-author-avatar"&gt;&lt;DIV class="UserAvatar lia-user-avatar lia-component-common-widget-user-avatar"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 05 May 2021 19:51:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-extract-the-specific-key-value-pair/m-p/550556#M38037</guid>
      <dc:creator>mlevsh</dc:creator>
      <dc:date>2021-05-05T19:51:31Z</dc:date>
    </item>
  </channel>
</rss>

