<?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 do I operate on (and search from) sub-properties matching a pattern. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-operate-on-and-search-from-sub-properties-matching-a/m-p/497268#M138512</link>
    <description>&lt;P&gt;I have messages that look like: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;{ 
timers: {
      x.y.zaz{ count: 5 },
      x.y.waw{ count: 5 }
   }
}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I would like to run a search like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;timers.x.y.*a*.count | sum &amp;gt; 5
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Is there a way I can express this? It does not need to be very efficient.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Oct 2019 04:23:47 GMT</pubDate>
    <dc:creator>npxcomplete</dc:creator>
    <dc:date>2019-10-03T04:23:47Z</dc:date>
    <item>
      <title>How do I operate on (and search from) sub-properties matching a pattern.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-operate-on-and-search-from-sub-properties-matching-a/m-p/497268#M138512</link>
      <description>&lt;P&gt;I have messages that look like: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;{ 
timers: {
      x.y.zaz{ count: 5 },
      x.y.waw{ count: 5 }
   }
}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I would like to run a search like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;timers.x.y.*a*.count | sum &amp;gt; 5
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Is there a way I can express this? It does not need to be very efficient.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2019 04:23:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-operate-on-and-search-from-sub-properties-matching-a/m-p/497268#M138512</guid>
      <dc:creator>npxcomplete</dc:creator>
      <dc:date>2019-10-03T04:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I operate on (and search from) sub-properties matching a pattern.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-operate-on-and-search-from-sub-properties-matching-a/m-p/497269#M138513</link>
      <description>&lt;P&gt;I am not sure what you are looking for but assuming you are looking for the value 5. You could do a regex on that field first maybe.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rex field=_raw "count: (?&amp;lt;timerCount&amp;gt;\d+)"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;With that you can then check: &lt;CODE&gt;timerCount &amp;gt; 5&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2019 15:26:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-operate-on-and-search-from-sub-properties-matching-a/m-p/497269#M138513</guid>
      <dc:creator>aohls</dc:creator>
      <dc:date>2019-10-10T15:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do I operate on (and search from) sub-properties matching a pattern.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-operate-on-and-search-from-sub-properties-matching-a/m-p/497270#M138514</link>
      <description>&lt;P&gt;Show us 5 sample events and a mockup of your desired output.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 00:13:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-operate-on-and-search-from-sub-properties-matching-a/m-p/497270#M138514</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-10-15T00:13:59Z</dc:date>
    </item>
  </channel>
</rss>

