<?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 Rex command in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Rex-command/m-p/573959#M47084</link>
    <description>&lt;P&gt;Need help to extract value between 2 fields eg: below&lt;/P&gt;&lt;P&gt;"status":"Active",&lt;BR /&gt;"birthDate":"xxxx-03-06",&lt;/P&gt;&lt;P&gt;I am trying below&lt;/P&gt;&lt;P&gt;rex field=details "\"status\"\:\"(?&amp;lt;contactStatus&amp;gt;[^\n\r\",]+)*\"birthDate\""&lt;/P&gt;&lt;P&gt;NOTE: there is another status field, so I am trying to use this option, as I know "birthDate " follows "status" field.&lt;/P&gt;&lt;P&gt;Thanks for you help in advance&lt;/P&gt;</description>
    <pubDate>Mon, 08 Nov 2021 03:47:06 GMT</pubDate>
    <dc:creator>prasant</dc:creator>
    <dc:date>2021-11-08T03:47:06Z</dc:date>
    <item>
      <title>Rex command</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Rex-command/m-p/573959#M47084</link>
      <description>&lt;P&gt;Need help to extract value between 2 fields eg: below&lt;/P&gt;&lt;P&gt;"status":"Active",&lt;BR /&gt;"birthDate":"xxxx-03-06",&lt;/P&gt;&lt;P&gt;I am trying below&lt;/P&gt;&lt;P&gt;rex field=details "\"status\"\:\"(?&amp;lt;contactStatus&amp;gt;[^\n\r\",]+)*\"birthDate\""&lt;/P&gt;&lt;P&gt;NOTE: there is another status field, so I am trying to use this option, as I know "birthDate " follows "status" field.&lt;/P&gt;&lt;P&gt;Thanks for you help in advance&lt;/P&gt;</description>
      <pubDate>Mon, 08 Nov 2021 03:47:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Rex-command/m-p/573959#M47084</guid>
      <dc:creator>prasant</dc:creator>
      <dc:date>2021-11-08T03:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Rex command</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Rex-command/m-p/573966#M47085</link>
      <description>&lt;P&gt;User (?s) for matching newline by . character. Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults
| eval details="\"status\":\"Active\",
\"birthDate\":\"xxxx-03-06\",
\"status\":\"otherstatus\""
| rex field=details "(?s)\"status\"\:\"(?&amp;lt;contactStatus&amp;gt;[^\"]*).+\"birthDate\""&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 08 Nov 2021 05:38:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Rex-command/m-p/573966#M47085</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2021-11-08T05:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Rex command</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Rex-command/m-p/574101#M47100</link>
      <description>&lt;P&gt;Thanks,,, I used below&amp;nbsp;"\"status\":\"(?&amp;lt;contactStatus&amp;gt;[^\n\r\"]*)\",\"birthDate\"", it also worked.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Nov 2021 23:53:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Rex-command/m-p/574101#M47100</guid>
      <dc:creator>prasant</dc:creator>
      <dc:date>2021-11-08T23:53:04Z</dc:date>
    </item>
  </channel>
</rss>

