<?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: How to assign numeric values based on counts? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-assign-numeric-values-based-on-counts/m-p/438404#M168336</link>
    <description>&lt;P&gt;@thambisetty thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jul 2018 00:35:46 GMT</pubDate>
    <dc:creator>yagbootz48</dc:creator>
    <dc:date>2018-07-17T00:35:46Z</dc:date>
    <item>
      <title>How to assign numeric values based on counts?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-assign-numeric-values-based-on-counts/m-p/438401#M168333</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I need some help.  I'm trying to make a search where I take recipient_count and assign a "value" based on how many recipients there are.  For example, recipient_count greater than or equal to 25 value=5, recipient_count range is between 50-99 value=7, recipient_count  greater than or equal to 100 value=9&lt;/P&gt;

&lt;P&gt;Any ideas how I could accomplish this?&lt;/P&gt;

&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:26:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-assign-numeric-values-based-on-counts/m-p/438401#M168333</guid>
      <dc:creator>yagbootz48</dc:creator>
      <dc:date>2020-09-29T20:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign numeric values based on counts?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-assign-numeric-values-based-on-counts/m-p/438402#M168334</link>
      <description>&lt;P&gt;try something like below,&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| your base search
| eval value=case(recipient_count&amp;gt;=25 AND recipient_count&amp;lt;=50 ,5,recipient_count&amp;gt;50 AND recipient_count&amp;lt;=99,7,recipient_count&amp;gt;=100,9)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 14 Jul 2018 15:27:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-assign-numeric-values-based-on-counts/m-p/438402#M168334</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2018-07-14T15:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign numeric values based on counts?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-assign-numeric-values-based-on-counts/m-p/438403#M168335</link>
      <description>&lt;P&gt;Check out the &lt;CODE&gt;rangemap&lt;/CODE&gt; command:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Rangemap" target="test_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Rangemap&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 14 Jul 2018 22:03:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-assign-numeric-values-based-on-counts/m-p/438403#M168335</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-07-14T22:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign numeric values based on counts?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-assign-numeric-values-based-on-counts/m-p/438404#M168336</link>
      <description>&lt;P&gt;@thambisetty thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jul 2018 00:35:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-assign-numeric-values-based-on-counts/m-p/438404#M168336</guid>
      <dc:creator>yagbootz48</dc:creator>
      <dc:date>2018-07-17T00:35:46Z</dc:date>
    </item>
  </channel>
</rss>

