<?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 regular expression help in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/regular-expression-help/m-p/239421#M71125</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;
i am trying to get metric and respective values using regex&lt;/P&gt;

&lt;P&gt;can you help us to get corresponding metrics and values like &lt;BR /&gt;
Misc:NUM_PROCS = 183&lt;BR /&gt;
Misc:NUM_ZOMBIES=0&lt;BR /&gt;
Procs:Waiting=0&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 12:27:15 GMT</pubDate>
    <dc:creator>rajgowd1</dc:creator>
    <dc:date>2020-09-29T12:27:15Z</dc:date>
    <item>
      <title>regular expression help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/regular-expression-help/m-p/239421#M71125</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
i am trying to get metric and respective values using regex&lt;/P&gt;

&lt;P&gt;can you help us to get corresponding metrics and values like &lt;BR /&gt;
Misc:NUM_PROCS = 183&lt;BR /&gt;
Misc:NUM_ZOMBIES=0&lt;BR /&gt;
Procs:Waiting=0&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:27:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/regular-expression-help/m-p/239421#M71125</guid>
      <dc:creator>rajgowd1</dc:creator>
      <dc:date>2020-09-29T12:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: regular expression help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/regular-expression-help/m-p/239422#M71126</link>
      <description>&lt;P&gt;Since your logs is json and/or has key-value pair, the fields name and value should already be extracted. To list them try something like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search | eval {name}=value | table _time  "HealthCheck|*" | rename "HealthCheck|*" as *
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;To chart the values (choose a aggregation function to use e.g. avg, max, min etc. The example uses avg)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search | eval {name}=value | table _time  "HealthCheck|*" | rename "HealthCheck|*" as * 
| timechart avg(*) as *
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 16 Jan 2017 19:16:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/regular-expression-help/m-p/239422#M71126</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-01-16T19:16:04Z</dc:date>
    </item>
  </channel>
</rss>

