<?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 write a search that groups values to be used in a dropdown on a dashboard? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-that-groups-values-to-be-used-in-a/m-p/609982#M212110</link>
    <description>&lt;P&gt;&lt;SPAN&gt;You probably need to eval a new field which categorises the services and then filter on those categories. You could use a case function or if functions to do the evaluation, or you could define and use a lookup to map the service to its category.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Aug 2022 13:38:02 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2022-08-18T13:38:02Z</dc:date>
    <item>
      <title>How to write a search that groups values to be used in a dropdown on a dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-that-groups-values-to-be-used-in-a/m-p/609967#M212105</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I am new to Splunk and the SPL in general so I will try and explain as best I can.&amp;nbsp; I have been tasked to produce an UP/DOWN dashboard to show different Microsoft Cloud services and their statuses.&amp;nbsp; We are importing data from the Microsoft Service Health and can run searches on it.&amp;nbsp; I am able to find each service (Microsoft Teams, Exchange Online, SharePoint Online etc) and their current status (up or down).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now I need to show this in a dashboard but my manager wants to group the services in categories like, Core services, Productivity and Cloud Apps so that if a person navigates tot he dashboard they can click a dropdown and select the category then those services are displayed&amp;nbsp; with their UP/DOWN status.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help would be much appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 12:35:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-that-groups-values-to-be-used-in-a/m-p/609967#M212105</guid>
      <dc:creator>quietferret</dc:creator>
      <dc:date>2022-08-18T12:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a search that groups values to be used in a dropdown on a dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-that-groups-values-to-be-used-in-a/m-p/609982#M212110</link>
      <description>&lt;P&gt;&lt;SPAN&gt;You probably need to eval a new field which categorises the services and then filter on those categories. You could use a case function or if functions to do the evaluation, or you could define and use a lookup to map the service to its category.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 13:38:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-that-groups-values-to-be-used-in-a/m-p/609982#M212110</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-08-18T13:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a search that groups values to be used in a dropdown on a dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-that-groups-values-to-be-used-in-a/m-p/610010#M212121</link>
      <description>&lt;P&gt;Ok so I had the following:&lt;/P&gt;&lt;P&gt;index=azure source="ServiceAnnouncement.Issues" | sort 0 - _time | eval category = if(service = "Exchange Online" , "Core Service" , other)&lt;/P&gt;&lt;P&gt;But how can I do multiple if statements?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 16:49:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-that-groups-values-to-be-used-in-a/m-p/610010#M212121</guid>
      <dc:creator>quietferret</dc:creator>
      <dc:date>2022-08-18T16:49:46Z</dc:date>
    </item>
  </channel>
</rss>

