<?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: Help on Spl query - dashboard Studio in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Help-on-Spl-query-dashboard-Studio/m-p/643168#M222802</link>
    <description>&lt;P&gt;What is it that you are trying to achieve?&lt;/P&gt;&lt;P&gt;By the way, you could convert the series of nested if functions to a case function.&lt;/P&gt;</description>
    <pubDate>Fri, 12 May 2023 09:23:43 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2023-05-12T09:23:43Z</dc:date>
    <item>
      <title>Help on Spl query - dashboard Studio</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-Spl-query-dashboard-Studio/m-p/643126#M222775</link>
      <description>&lt;P&gt;How do i edit the below append command into my real time environment&amp;nbsp;&lt;/P&gt;&lt;P&gt;The below source are obtain from Splunk Dasboard Studio&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;| makeresults count=50&lt;BR /&gt;| eval app="Web Server"&lt;BR /&gt;| eval type="User"&lt;BR /&gt;| append&lt;BR /&gt;[ makeresults count=28&lt;BR /&gt;| eval app="Web Server"&lt;BR /&gt;| eval type="System"&lt;BR /&gt;]&lt;BR /&gt;| append&lt;BR /&gt;[ makeresults count=22&lt;BR /&gt;| eval app="Web Server"&lt;BR /&gt;| eval type="Idle"&lt;BR /&gt;]&lt;BR /&gt;| append&lt;BR /&gt;[makeresults count=22&lt;BR /&gt;| eval app="Network"&lt;BR /&gt;| eval type="User"&lt;BR /&gt;]&lt;BR /&gt;| append&lt;BR /&gt;[ makeresults count=48&lt;BR /&gt;| eval app="Network"&lt;BR /&gt;| eval type="System"&lt;BR /&gt;]| append&lt;BR /&gt;[ makeresults count=30&lt;BR /&gt;| eval app="Network"&lt;BR /&gt;| eval type="Idle"&lt;BR /&gt;]&lt;BR /&gt;| append&lt;BR /&gt;[makeresults count=65&lt;BR /&gt;| eval app="Load Balancer"&lt;BR /&gt;| eval type="User"&lt;BR /&gt;]&lt;BR /&gt;| append&lt;BR /&gt;[ makeresults count=17&lt;BR /&gt;| eval app="Load Balancer"&lt;BR /&gt;| eval type="System"&lt;BR /&gt;]&lt;BR /&gt;| append&lt;BR /&gt;[ makeresults count=18&lt;BR /&gt;| eval app="Load Balancer"&lt;BR /&gt;| eval type="Idle"&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;| append&lt;BR /&gt;[makeresults count=50&lt;BR /&gt;| eval app="Storage"&lt;BR /&gt;| eval type="User"&lt;BR /&gt;]&lt;BR /&gt;| append&lt;BR /&gt;[ makeresults count=27&lt;BR /&gt;| eval app="Storage"&lt;BR /&gt;| eval type="System"&lt;BR /&gt;]&lt;BR /&gt;| append&lt;BR /&gt;[ makeresults count=23&lt;BR /&gt;| eval app="Storage"&lt;BR /&gt;| eval type="Idle"&lt;BR /&gt;]&lt;BR /&gt;| append&lt;BR /&gt;[makeresults count=18&lt;BR /&gt;| eval app="Database"&lt;BR /&gt;| eval type="User"&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;| append&lt;BR /&gt;[ makeresults count=60&lt;BR /&gt;| eval app="Database"&lt;BR /&gt;| eval type="System"&lt;BR /&gt;]&lt;BR /&gt;| append&lt;BR /&gt;[ makeresults count=22&lt;BR /&gt;| eval app="Database"&lt;BR /&gt;| eval type="Idle"&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;| append&lt;BR /&gt;[makeresults count=50&lt;BR /&gt;| eval app="Security"&lt;BR /&gt;| eval type="User"&lt;BR /&gt;]&lt;BR /&gt;| append&lt;BR /&gt;[ makeresults count=12&lt;BR /&gt;| eval app="Security"&lt;BR /&gt;| eval type="System"&lt;BR /&gt;]&lt;BR /&gt;| append&lt;BR /&gt;[ makeresults count=38&lt;BR /&gt;| eval app="Security"&lt;BR /&gt;| eval type="Idle"&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;| append&lt;BR /&gt;[makeresults count=45&lt;BR /&gt;| eval app="Auth Server"&lt;BR /&gt;| eval type="User"&lt;BR /&gt;]&lt;BR /&gt;| append&lt;BR /&gt;[ makeresults count=32&lt;BR /&gt;| eval app="Auth Server"&lt;BR /&gt;| eval type="System"&lt;BR /&gt;]&lt;BR /&gt;| append&lt;BR /&gt;[ makeresults count=23&lt;BR /&gt;| eval app="Auth Server"&lt;BR /&gt;| eval type="Idle"&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;| append&lt;BR /&gt;[makeresults count=50&lt;BR /&gt;| eval app="CDN"&lt;BR /&gt;| eval type="User"&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;| append&lt;BR /&gt;[ makeresults count=28&lt;BR /&gt;| eval app="CDN"&lt;BR /&gt;| eval type="System"&lt;BR /&gt;]&lt;BR /&gt;| append&lt;BR /&gt;[ makeresults count=22&lt;BR /&gt;| eval app="CDN"&lt;BR /&gt;| eval type="Idle"&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;| chart count by app, type&lt;BR /&gt;| eval sort_field=case(app=="Login",1,app=="Search",2,app=="Cart",3,app=="Pricing",4,app=="Checkout",5,app=="Order Management",6,app=="Gifting",7,app=="Chat",8)&lt;BR /&gt;| sort sort_field&lt;BR /&gt;| table app, User, System, Idle&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jaibalaraman_0-1683852910658.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25353i981171F979FFB668/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jaibalaraman_0-1683852910658.png" alt="jaibalaraman_0-1683852910658.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My current splunk&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jaibalaraman_1-1683853084601.png" style="width: 646px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25354i050751B92E2E6C82/image-dimensions/646x54?v=v2" width="646" height="54" role="button" title="jaibalaraman_1-1683853084601.png" alt="jaibalaraman_1-1683853084601.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;index=sample &amp;nbsp;x_host_header=&lt;A href="http://www.sample.com" target="_blank"&gt;www.sample.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;| eval Device = if(match(useragent,"SM-"),"Android", if(match(useragent,"Windows"),"Windows",if(match(useragent,"Mac"),"Mac",if(match(useragent,"CPH"),"Android",if(match(useragent,"Nokia"),"Android",if(match(cs_user_agent,"Pixel"),"Android",if(match(useragent,"TB-"),"Android",if(match(useragent,"VFD"),"Android",if(match(useragent,"HP%20Pro%20Slate"),"Android",if(match(cs_user_agent,"VOG-L09"),"Android",if(match(useragent,"YAL-L21"),"Android",if(match(useragent,"ATU-L22"),"Android",if(match(useragent,"MAR-LX1A"),"Android",if(match(useragent,"RNE-L22"),"Android",if(match(useragent,"INE-LX2"),"Android",if(match(useragent,"AMN-LX2"),"Android",if(match(useragent,"LYO-LO2"),"Android",if(match(useragent,"DRA-LX9"),"Android",if(match(useragent,"LYA-L29"),"Android",if(match(useragent,"ANE-LX2J"),"Android",if(match(useragent,"STK-L22"),"Android",if(match(useragent,"EML-AL00"),"Android",if(match(useragent,"BLA-L29"),"Android",if(match(useragent,"X11"),"Linux",if(match(useragent,"LDN-LX2"),"Android",if(match(useragent,"TB3-"),"Android",if(match(useragent,"5033T"),"Android",if(match(useragent,"5028D"),"Android",if(match(useragent,"5002X"),"Android",if(match(useragent,"COR-"),"Android",if(match(useragent,"MI%20MAX"),"Android",if(match(useragent,"WAS-LX2"),"Android",if(match(useragent,"vivo"),"Android",if(match(useragent,"EML-L29"),"Android",if(match(useragent ent,"Moto"),"Android",if(match(useragent,"MMB"),"Android", OTHER"))))))))))))))))))))))))))&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 04:35:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-Spl-query-dashboard-Studio/m-p/643126#M222775</guid>
      <dc:creator>jaibalaraman</dc:creator>
      <dc:date>2023-05-12T04:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Help on Spl query - dashboard Studio</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-Spl-query-dashboard-Studio/m-p/643168#M222802</link>
      <description>&lt;P&gt;What is it that you are trying to achieve?&lt;/P&gt;&lt;P&gt;By the way, you could convert the series of nested if functions to a case function.&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 09:23:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-Spl-query-dashboard-Studio/m-p/643168#M222802</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-05-12T09:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help on Spl query - dashboard Studio</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-Spl-query-dashboard-Studio/m-p/643186#M222804</link>
      <description>&lt;P&gt;Yes , i have created eval spl query to find out the list mobile device &lt;STRONG&gt;( Android / Mac / Windows/ Bot / Linux/ duckgo )&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Please find below eval command which is working 100% fine , spl command are shared in the my previous chat&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=sample &amp;nbsp;x_host_header=&lt;A href="http://www.sample.com/" target="_blank" rel="nofollow noopener noreferrer"&gt;www.sample.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;| eval Device = if(match(useragent,"SM-"),"Android", if(match(useragent,"Windows"),"Windows",if(match(useragent,"Mac"),"Mac",if(match(useragent,"CPH"),"Android",if(match(useragent,"Nokia"),"Android",if(match(cs_user_agent,"Pixel"),"Android",if(match(useragent,"TB-"),"Android",if(match(useragent,"VFD"),"Android",if(match(useragent,"HP%20Pro%20Slate"),"Android",if(match(cs_user_agent,"VOG-L09"),"Android",if(match(useragent,"YAL-L21"),"Android",if(match(useragent,"ATU-L22"),"Android",if(match(useragent,"MAR-LX1A"),"Android",if(match(useragent,"RNE-L22"),"Android"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jaibalaraman_0-1683889906404.png" style="width: 742px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25361iA51ADEC7D740C0BC/image-dimensions/742x62?v=v2" width="742" height="62" role="button" title="jaibalaraman_0-1683889906404.png" alt="jaibalaraman_0-1683889906404.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What i am trying to achieve&amp;nbsp;&lt;/P&gt;&lt;P&gt;I creating Dashboard studio for our application , where i am trying to reverse engineer from already created predefined dashboard studio&amp;nbsp;&lt;/P&gt;&lt;P&gt;The output which i am expecting is to see the list of user who are using Android / Mac / Windows / Linux / Duckduck go&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not sure about how to edit the below append function which will give me the output&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;| makeresults count=50&lt;BR /&gt;| eval app="Web Server"&lt;BR /&gt;| eval type="User"&lt;BR /&gt;| append&lt;BR /&gt;[ makeresults count=28&lt;BR /&gt;| eval app="Web Server"&lt;BR /&gt;| eval type="System"&lt;BR /&gt;]&lt;BR /&gt;| append&lt;BR /&gt;[ makeresults count=22&lt;BR /&gt;| eval app="Web Server"&lt;BR /&gt;| eval type="Idle"&lt;BR /&gt;]&lt;BR /&gt;| append&lt;BR /&gt;[makeresults count=22&lt;BR /&gt;| eval app="Network"&lt;BR /&gt;| eval type="User"&lt;BR /&gt;]&lt;BR /&gt;| append&lt;BR /&gt;[ makeresults count=48&lt;BR /&gt;| eval app="Network"&lt;BR /&gt;| eval type="System"&lt;BR /&gt;]| append&lt;BR /&gt;[ makeresults count=30&lt;BR /&gt;| eval app="Network"&lt;BR /&gt;| eval type="Idle"&lt;BR /&gt;]&lt;BR /&gt;| append&lt;BR /&gt;[makeresults count=65&lt;BR /&gt;| eval app="Load Balancer"&lt;BR /&gt;| eval type="User"&lt;BR /&gt;]&lt;BR /&gt;| append&lt;BR /&gt;[ makeresults count=17&lt;BR /&gt;| eval app="Load Balancer"&lt;BR /&gt;| eval type="System"&lt;BR /&gt;]&lt;BR /&gt;| append&lt;BR /&gt;[ makeresults count=18&lt;BR /&gt;| eval app="Load Balancer"&lt;BR /&gt;| eval type="Idle"&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;| append&lt;BR /&gt;[makeresults count=50&lt;BR /&gt;| eval app="Storage"&lt;BR /&gt;| eval type="User"&lt;BR /&gt;]&lt;BR /&gt;| append&lt;BR /&gt;[ makeresults count=27&lt;BR /&gt;| eval app="Storage"&lt;BR /&gt;| eval type="System"&lt;BR /&gt;]&lt;BR /&gt;| append&lt;BR /&gt;[ makeresults count=23&lt;BR /&gt;| eval app="Storage"&lt;BR /&gt;| eval type="Idle"&lt;BR /&gt;]&lt;BR /&gt;| append&lt;BR /&gt;[makeresults count=18&lt;BR /&gt;| eval app="Database"&lt;BR /&gt;| eval type="User"&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;| append&lt;BR /&gt;[ makeresults count=60&lt;BR /&gt;| eval app="Database"&lt;BR /&gt;| eval type="System"&lt;BR /&gt;]&lt;BR /&gt;| append&lt;BR /&gt;[ makeresults count=22&lt;BR /&gt;| eval app="Database"&lt;BR /&gt;| eval type="Idle"&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;| append&lt;BR /&gt;[makeresults count=50&lt;BR /&gt;| eval app="Security"&lt;BR /&gt;| eval type="User"&lt;BR /&gt;]&lt;BR /&gt;| append&lt;BR /&gt;[ makeresults count=12&lt;BR /&gt;| eval app="Security"&lt;BR /&gt;| eval type="System"&lt;BR /&gt;]&lt;BR /&gt;| append&lt;BR /&gt;[ makeresults count=38&lt;BR /&gt;| eval app="Security"&lt;BR /&gt;| eval type="Idle"&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;| append&lt;BR /&gt;[makeresults count=45&lt;BR /&gt;| eval app="Auth Server"&lt;BR /&gt;| eval type="User"&lt;BR /&gt;]&lt;BR /&gt;| append&lt;BR /&gt;[ makeresults count=32&lt;BR /&gt;| eval app="Auth Server"&lt;BR /&gt;| eval type="System"&lt;BR /&gt;]&lt;BR /&gt;| append&lt;BR /&gt;[ makeresults count=23&lt;BR /&gt;| eval app="Auth Server"&lt;BR /&gt;| eval type="Idle"&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;| append&lt;BR /&gt;[makeresults count=50&lt;BR /&gt;| eval app="CDN"&lt;BR /&gt;| eval type="User"&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;| append&lt;BR /&gt;[ makeresults count=28&lt;BR /&gt;| eval app="CDN"&lt;BR /&gt;| eval type="System"&lt;BR /&gt;]&lt;BR /&gt;| append&lt;BR /&gt;[ makeresults count=22&lt;BR /&gt;| eval app="CDN"&lt;BR /&gt;| eval type="Idle"&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;| chart count by app, type&lt;BR /&gt;| eval sort_field=case(app=="Login",1,app=="Search",2,app=="Cart",3,app=="Pricing",4,app=="Checkout",5,app=="Order Management",6,app=="Gifting",7,app=="Chat",8)&lt;BR /&gt;| sort sort_field&lt;BR /&gt;| table app, User, System, Idle&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 11:20:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-Spl-query-dashboard-Studio/m-p/643186#M222804</guid>
      <dc:creator>jaibalaraman</dc:creator>
      <dc:date>2023-05-12T11:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Help on Spl query - dashboard Studio</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-Spl-query-dashboard-Studio/m-p/643187#M222805</link>
      <description>&lt;P&gt;Edit the data source or create a new one based on your search and update the panel to use the new / updated data source&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 11:30:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-Spl-query-dashboard-Studio/m-p/643187#M222805</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-05-12T11:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help on Spl query - dashboard Studio</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-Spl-query-dashboard-Studio/m-p/643189#M222807</link>
      <description>&lt;P class="lia-align-left"&gt;Sorry, i am trying to achieve the same output which i have used with eval apply the same concept for the dashboard studio.&amp;nbsp; Not sure how do i edit t&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 11:48:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-Spl-query-dashboard-Studio/m-p/643189#M222807</guid>
      <dc:creator>jaibalaraman</dc:creator>
      <dc:date>2023-05-12T11:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help on Spl query - dashboard Studio</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-Spl-query-dashboard-Studio/m-p/643197#M222808</link>
      <description>&lt;P&gt;Open the dashboard and click on the edit option&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ITWhisperer_0-1683893133381.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25364i4398879CE4C6EC2F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ITWhisperer_0-1683893133381.png" alt="ITWhisperer_0-1683893133381.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then click on the edit Data Overview button&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ITWhisperer_1-1683893180525.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25365iA70D65184643E225/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ITWhisperer_1-1683893180525.png" alt="ITWhisperer_1-1683893180525.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Click on the pencil for the search you want to update&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ITWhisperer_2-1683893259543.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25366i0EAF9DC4C1B880F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ITWhisperer_2-1683893259543.png" alt="ITWhisperer_2-1683893259543.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Or create a new search&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ITWhisperer_3-1683893284955.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25367i61E1C9A8BB5E6F97/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ITWhisperer_3-1683893284955.png" alt="ITWhisperer_3-1683893284955.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Paste your search into the Search with SPL box&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 12:09:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-Spl-query-dashboard-Studio/m-p/643197#M222808</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-05-12T12:09:05Z</dc:date>
    </item>
  </channel>
</rss>

