<?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: splunk service availability dashboard in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Trouble-with-creating-a-splunk-service-availability-dashboard/m-p/586699#M48120</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp; one more question&amp;nbsp;&lt;/P&gt;&lt;P&gt;if i get the last field ...&lt;/P&gt;&lt;P&gt;.........|table availability as 92.9 it shows in the dashboard,&lt;/P&gt;&lt;P&gt;but if its blank then it shows "no results"&lt;/P&gt;&lt;P&gt;Can i show it as 100 ? which ideally means theer's no p1 and my service is 100% avialable&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i tried with if command --but not working&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...|eval&amp;nbsp;availability=if (availability=0,"100",availability)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;its beacuse 0 events are results which ideally means no p1 in servce now&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 26 Feb 2022 08:58:03 GMT</pubDate>
    <dc:creator>Mohsin123</dc:creator>
    <dc:date>2022-02-26T08:58:03Z</dc:date>
    <item>
      <title>Trouble with creating a splunk service availability dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Trouble-with-creating-a-splunk-service-availability-dashboard/m-p/585689#M48002</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;We are making a service availibility dashboard based on the below formula . Could you please help me implement this as a SPL ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Availability Calculation of a service will be as follows-&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Availability = (Total Availability hours – [ (End time of first P1 -Start Time of first&amp;nbsp; P1)&lt;/P&gt;
&lt;P&gt;+ (End time of second P1 -Start Time of second&amp;nbsp; P1)+………])*100 /Total Availability Hours&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 16:09:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Trouble-with-creating-a-splunk-service-availability-dashboard/m-p/585689#M48002</guid>
      <dc:creator>Mohsin123</dc:creator>
      <dc:date>2022-02-18T16:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: splunk service availability dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Trouble-with-creating-a-splunk-service-availability-dashboard/m-p/585692#M48003</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/129815"&gt;@Mohsin123&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;to help you, you should share more infos about the data:&lt;/P&gt;&lt;P&gt;what are P1, P2, ..., are they systems or what else?&lt;/P&gt;&lt;P&gt;how it's possibile to recognize start and end events for each&amp;nbsp; Px? is there a string for start event and another for end event or in the same event you have start and end?&lt;/P&gt;&lt;P&gt;could you share some sample of your events?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 11:47:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Trouble-with-creating-a-splunk-service-availability-dashboard/m-p/585692#M48003</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-02-18T11:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: splunk service availability dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Trouble-with-creating-a-splunk-service-availability-dashboard/m-p/585693#M48004</link>
      <description>&lt;P&gt;Are you concerned about overlapping P1s? For example, if the second P1 starts before the first one ends, or if the second P1 is completely within the time period of the second?&lt;/P&gt;&lt;P&gt;What level of granularity are you looking for? For example, sub-second, second, minute?&lt;/P&gt;&lt;P&gt;Can you share some of your raw events?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 11:47:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Trouble-with-creating-a-splunk-service-availability-dashboard/m-p/585693#M48004</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-02-18T11:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: splunk service availability dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Trouble-with-creating-a-splunk-service-availability-dashboard/m-p/585695#M48005</link>
      <description>&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;#1.1 &lt;/U&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;U&gt;Service Continuity&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Description:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This is a child-view of the &lt;A href="#Business_View" target="_blank"&gt;Business Parent View&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;This displays the Availability of applications based on the duration of all P1 incidents for the application in the month.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data Flow:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Example: We have 2 P1 Incidents’s for AppName: ToolsGra1 in October&lt;/P&gt;&lt;P&gt;P1 : 10/23/2021 10:05 am&amp;nbsp; to 10/23/2021 11:05 am&amp;nbsp;&lt;/P&gt;&lt;P&gt;P2 : 10/25/2021 7:15 am&amp;nbsp; to 10/23/2021 09:15 am&amp;nbsp;&lt;/P&gt;&lt;P&gt;For October ,we have = 24 hours *30 days =720 hours in the month&lt;/P&gt;&lt;P&gt;Total Duration of P1’s for ToolsGra1 for the month=3 hours&lt;/P&gt;&lt;P&gt;Availability of ToolsGra1 = ((720-3)/720)*100 =99.58&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 12:08:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Trouble-with-creating-a-splunk-service-availability-dashboard/m-p/585695#M48005</guid>
      <dc:creator>Mohsin123</dc:creator>
      <dc:date>2022-02-18T12:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: splunk service availability dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Trouble-with-creating-a-splunk-service-availability-dashboard/m-p/585696#M48006</link>
      <description>&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;#1.1 &lt;/U&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;U&gt;Service Continuity&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Description:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This is a child-view of the &lt;A href="#Business_View" target="_blank"&gt;Business Parent View&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;This displays the Availability of applications based on the duration of all P1 incidents for the application in the month.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data Flow:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Example: We have 2 P1 Incidents’s for AppName: ToolsGra1 in October&lt;/P&gt;&lt;P&gt;P1 : 10/23/2021 10:05 am&amp;nbsp; to 10/23/2021 11:05 am&amp;nbsp;&lt;/P&gt;&lt;P&gt;P2 : 10/25/2021 7:15 am&amp;nbsp; to 10/23/2021 09:15 am&amp;nbsp;&lt;/P&gt;&lt;P&gt;For October ,we have = 24 hours *30 days =720 hours in the month&lt;/P&gt;&lt;P&gt;Total Duration of P1’s for ToolsGra1 for the month=3 hours&lt;/P&gt;&lt;P&gt;Availability of ToolsGra1 = ((720-3)/720)*100 =99.58&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 12:08:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Trouble-with-creating-a-splunk-service-availability-dashboard/m-p/585696#M48006</guid>
      <dc:creator>Mohsin123</dc:creator>
      <dc:date>2022-02-18T12:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: splunk service availability dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Trouble-with-creating-a-splunk-service-availability-dashboard/m-p/585697#M48007</link>
      <description>&lt;P&gt;Example: We have 2 P1 Incidents’s for AppName: ToolsGra1 in October&lt;/P&gt;&lt;P&gt;P1 : 10/23/2021 10:05 am&amp;nbsp; to 10/23/2021 11:05 am&amp;nbsp;&lt;/P&gt;&lt;P&gt;P2 : 10/25/2021 7:15 am&amp;nbsp; to 10/23/2021 09:15 am&amp;nbsp;&lt;/P&gt;&lt;P&gt;For October ,we have = 24 hours *30 days =720 hours in the month&lt;/P&gt;&lt;P&gt;Total Duration of P1’s for ToolsGra1 for the month=3 hours&lt;/P&gt;&lt;P&gt;Availability of ToolsGra1 = ((720-3)/720)*100 =99.58&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 12:14:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Trouble-with-creating-a-splunk-service-availability-dashboard/m-p/585697#M48007</guid>
      <dc:creator>Mohsin123</dc:creator>
      <dc:date>2022-02-18T12:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: splunk service availability dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Trouble-with-creating-a-splunk-service-availability-dashboard/m-p/585698#M48008</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Example: We have 2 P1 Incidents’s for AppName: ToolsGra1 in October&lt;/P&gt;&lt;P&gt;P1 : 10/23/2021 10:05 am&amp;nbsp; to 10/23/2021 11:05 am&amp;nbsp;&lt;/P&gt;&lt;P&gt;P1 : 10/25/2021 7:15 am&amp;nbsp; to 10/23/2021 09:15 am&amp;nbsp;&lt;/P&gt;&lt;P&gt;For October ,we have = 24 hours *30 days =720 hours in the month&lt;/P&gt;&lt;P&gt;Total Duration of P1’s for ToolsGra1 for the month=3 hours&lt;/P&gt;&lt;P&gt;Availability of ToolsGra1 = ((720-3)/720)*100 =99.58&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 12:27:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Trouble-with-creating-a-splunk-service-availability-dashboard/m-p/585698#M48008</guid>
      <dc:creator>Mohsin123</dc:creator>
      <dc:date>2022-02-18T12:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: splunk service availability dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Trouble-with-creating-a-splunk-service-availability-dashboard/m-p/585705#M48009</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/129815"&gt;@Mohsin123&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;the information "&lt;SPAN&gt;P1 : 10/23/2021 10:05 am&amp;nbsp; to 10/23/2021 11:05 am" is in one event/record or in more events?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if it's in one record and the event is just &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"P1 : 10/23/2021 10:05 am&amp;nbsp; to 10/23/2021 11:05 am"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;it's easy to calculate duration of P1 and calculate availability perc:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=your_index
| rex field=ppp "^P1\s+:\s+(?&amp;lt;start_time&amp;gt;\d+\/\d+\/\d+\s+\d+:\d+\s+\w+)\s+to\s+(?&amp;lt;end_time&amp;gt;\d+\/\d+\/\d+\s+\d+:\d+\s+\w+)"
| eval start_time_epoch=strptime(start_time,"%m/%d/%Y %I:%M %p"), end_time_epoch=strptime(end_time,"%m/%d/%Y %I:%M %p")
| rex field=start_time_epoch "^(?&amp;lt;start_time_2&amp;gt;[^\.]+)"
| rex field=end_time_epoch "^(?&amp;lt;end_time_2&amp;gt;[^\.]+)"
| eval unavailability=end_time_2-start_time_2
| stats sum(unavailability) AS unavailability BY AppName
| eval month_seconds=31*24*3600
| eval availability=((month_seconds-unavailability)/month_seconds)*100
| table AppName anailability&lt;/LI-CODE&gt;&lt;P&gt;You can see in this search the approach to calculate Availability perc, but it must be modified based on your log format.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 13:28:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Trouble-with-creating-a-splunk-service-availability-dashboard/m-p/585705#M48009</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-02-18T13:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: splunk service availability dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Trouble-with-creating-a-splunk-service-availability-dashboard/m-p/585711#M48010</link>
      <description>&lt;P&gt;This doesn't answer the questions about overlapping events or about granularity. Please can you clarify your requirements?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 13:37:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Trouble-with-creating-a-splunk-service-availability-dashboard/m-p/585711#M48010</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-02-18T13:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: splunk service availability dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Trouble-with-creating-a-splunk-service-availability-dashboard/m-p/586687#M48118</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i'm using this code -&lt;/P&gt;&lt;P&gt;My intention is to -&lt;/P&gt;&lt;P&gt;1. Calculate duration (passed from earliest latest tokens in my dashboard -&amp;nbsp;earliest="$time.earliest$" latest="$time.latest$"&lt;/P&gt;&lt;P&gt;2. Calculate Days when service was unavailable&lt;/P&gt;&lt;P&gt;3. Calculate service avialability&lt;/P&gt;&lt;P&gt;problem statement : duration is not working -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;could you please help me . And thanks a lottt&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp; for your code &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=servicenow earliest="01/07/2021:00:00:00" latest=now()&lt;BR /&gt;| addinfo&lt;BR /&gt;| eval duration=round((info_max_time - info_min_time)/3600/24 ,0)&lt;BR /&gt;| dedup duration&lt;BR /&gt;| table duration&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;|appendcols [ search index="generic_servicenow" "xxxx" dv_priority="1 - Critical"&lt;BR /&gt;| dedup dv_closed_at&lt;BR /&gt;| dedup dv_sys_created_on&lt;BR /&gt;| timechart partial=f values(dv_closed_at) as endT values(dv_sys_created_on) as startT&lt;BR /&gt;| fields - _time&lt;BR /&gt;| sort startT&lt;BR /&gt;| eval startTime=strptime(startT,"%Y-%m-%d %T.%3Q")&lt;BR /&gt;| eval endTime=strptime(endT,"%Y-%m-%d %T.%3Q")&lt;BR /&gt;| eval diff=abs(startTime-endTime)/3600/24&lt;BR /&gt;| table endT startT endTime startTime diff&lt;BR /&gt;| fields diff&lt;BR /&gt;| stats sum(diff) as unavailability ]&lt;BR /&gt;&lt;BR /&gt;| eval availability=round(((duration-unavailability)/duration)*100,2)&lt;/P&gt;</description>
      <pubDate>Sat, 26 Feb 2022 05:37:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Trouble-with-creating-a-splunk-service-availability-dashboard/m-p/586687#M48118</guid>
      <dc:creator>Mohsin123</dc:creator>
      <dc:date>2022-02-26T05:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: splunk service availability dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Trouble-with-creating-a-splunk-service-availability-dashboard/m-p/586694#M48119</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/129815"&gt;@Mohsin123&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;sorry but I don't understand if you solved your problem or not.&lt;/P&gt;&lt;P&gt;You said that duration doesn't work but it seems a simple operation.&lt;/P&gt;&lt;P&gt;If it doesn't work, debug it separately, what's the result of this search?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=servicenow earliest="01/07/2021:00:00:00" latest=now()
| addinfo
| eval duration=round((info_max_time - info_min_time)/3600/24 ,0)
| dedup duration
| table duration info_max_time info_min_time&lt;/LI-CODE&gt;&lt;P&gt;maybe it's a format problem.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated by all the Contributors &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Feb 2022 06:59:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Trouble-with-creating-a-splunk-service-availability-dashboard/m-p/586694#M48119</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-02-26T06:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: splunk service availability dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Trouble-with-creating-a-splunk-service-availability-dashboard/m-p/586699#M48120</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp; one more question&amp;nbsp;&lt;/P&gt;&lt;P&gt;if i get the last field ...&lt;/P&gt;&lt;P&gt;.........|table availability as 92.9 it shows in the dashboard,&lt;/P&gt;&lt;P&gt;but if its blank then it shows "no results"&lt;/P&gt;&lt;P&gt;Can i show it as 100 ? which ideally means theer's no p1 and my service is 100% avialable&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i tried with if command --but not working&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...|eval&amp;nbsp;availability=if (availability=0,"100",availability)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;its beacuse 0 events are results which ideally means no p1 in servce now&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Feb 2022 08:58:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Trouble-with-creating-a-splunk-service-availability-dashboard/m-p/586699#M48120</guid>
      <dc:creator>Mohsin123</dc:creator>
      <dc:date>2022-02-26T08:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: splunk service availability dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Trouble-with-creating-a-splunk-service-availability-dashboard/m-p/586700#M48121</link>
      <description>&lt;P&gt;okay i&amp;nbsp; did it&amp;nbsp; !!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;| appendpipe&lt;BR /&gt;[ stats count&lt;BR /&gt;| where count=0|eval count=100]&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Feb 2022 09:02:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Trouble-with-creating-a-splunk-service-availability-dashboard/m-p/586700#M48121</guid>
      <dc:creator>Mohsin123</dc:creator>
      <dc:date>2022-02-26T09:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: splunk service availability dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Trouble-with-creating-a-splunk-service-availability-dashboard/m-p/586703#M48122</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/129815"&gt;@Mohsin123&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;you can find many answers about this issue.&lt;/P&gt;&lt;P&gt;You have to add something that doesn't modify result if present and give you a result when there isn't anyone, something like this, at the end of your search:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;all your search
| append [ | makeresults | eval availability=0 | fields availability ]
| stats sum(availability) AS availability
| eval availability=if(availability=0,"100",availability)&lt;/LI-CODE&gt;&lt;P&gt;Anyway, it's better to put the new question in a different post, so you can have more and quick answers.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Sat, 26 Feb 2022 10:11:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Trouble-with-creating-a-splunk-service-availability-dashboard/m-p/586703#M48122</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-02-26T10:11:45Z</dc:date>
    </item>
  </channel>
</rss>

