<?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: Highlight data points on timechart in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-highlight-data-points-on-timechart/m-p/640764#M52338</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;, have either of you any help or advice on how I can alter this query to have a single timechart trend line of time with only outlier points mark red to be shown on the outputted chart?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Many thanks for your help!&lt;/P&gt;</description>
    <pubDate>Thu, 20 Apr 2023 07:59:56 GMT</pubDate>
    <dc:creator>POR160893</dc:creator>
    <dc:date>2023-04-20T07:59:56Z</dc:date>
    <item>
      <title>How to highlight data points on timechart?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-highlight-data-points-on-timechart/m-p/640593#M52331</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have the following query to detect outliers in eps:&lt;BR /&gt;index=_internal sourcetype=splunkd component=metrics group=per_source_thruput series="*syslog-ng*" host=*hf*&lt;BR /&gt;| eval hfgroup=substr(host, 0, 5), eps=eps/2, NodeName=UPPER(mvindex(split(host, "."), 0))&lt;BR /&gt;| lookup Cybersecurity_Infrastructure NodeName OUTPUT NodeID&lt;BR /&gt;| bucket _time span=1h&lt;BR /&gt;| timechart span=1h sum(eps) as Eps&lt;BR /&gt;| eval HourOfDay=strftime(_time, "%H")&lt;BR /&gt;| eval BucketMinuteOfHour=strftime(_time, "%M")&lt;BR /&gt;| eval DayOfWeek=strftime(_time, "%A")&lt;BR /&gt;| streamstats avg(Eps) as avg stdev(Eps) as stdev by HourOfDay BucketMinuteOfHour DayOfWeek&lt;BR /&gt;| eval AbsDev = abs(Eps - avg)&lt;BR /&gt;| streamstats avg(AbsDev) as MAD stdev(AbsDev) as MADStdev by HourOfDay, BucketMinuteOfHour, DayOfWeek&lt;BR /&gt;| eval UpperBound = avg + (3 * MAD)&lt;BR /&gt;| eval LowerBound = avg - (3 * MAD)&lt;BR /&gt;| eval isOutlier=if(Eps &amp;gt; UpperBound OR Eps &amp;lt; LowerBound, "true", "false")&lt;BR /&gt;| where isOutlier="true"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;However, I need the output to be just 1 trend line, representing Time, with outliers represented as red dots at the time of occurence.&lt;BR /&gt;&lt;BR /&gt;Currently, I am receiving all these unnecessary ;ine with no red dots representing outliers:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Can you please help?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Many thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 17:05:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-highlight-data-points-on-timechart/m-p/640593#M52331</guid>
      <dc:creator>POR160893</dc:creator>
      <dc:date>2023-04-20T17:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight data points on timechart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-highlight-data-points-on-timechart/m-p/640604#M52334</link>
      <description>&lt;P&gt;Give this a try&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal sourcetype=splunkd component=metrics group=per_source_thruput series="*syslog-ng*" host=*hf*
| eval hfgroup=substr(host, 0, 5), eps=eps/2, NodeName=UPPER(mvindex(split(host, "."), 0))
| lookup Cybersecurity_Infrastructure NodeName OUTPUT NodeID
| bucket _time span=1h
| timechart span=1h sum(eps) as Eps
| eval HourOfDay=strftime(_time, "%H")
| eval BucketMinuteOfHour=strftime(_time, "%M")
| eval DayOfWeek=strftime(_time, "%A")
| streamstats avg(Eps) as avg stdev(Eps) as stdev by HourOfDay BucketMinuteOfHour DayOfWeek
| eval AbsDev = abs(Eps - avg)
| streamstats avg(AbsDev) as MAD stdev(AbsDev) as MADStdev by HourOfDay, BucketMinuteOfHour, DayOfWeek
| eval UpperBound = avg + (3 * MAD)
| eval LowerBound = avg - (3 * MAD)
| eval Outlier_Eps=if(Eps &amp;gt; UpperBound OR Eps &amp;lt; LowerBound, Eps, null())
| table _time Outlier_Eps&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 19 Apr 2023 13:49:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-highlight-data-points-on-timechart/m-p/640604#M52334</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2023-04-19T13:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight data points on timechart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-highlight-data-points-on-timechart/m-p/640611#M52335</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This did not work as I need a continuous line representing Time with ONLY outliers represented as points on this line and these Outlier points must be red. That is what the stakeholder has requested.&lt;BR /&gt;&lt;BR /&gt;Your query gave a discontinuous line with blue dots for Outliers:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="POR160893_0-1681913542954.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/24976i9AA497233F05739C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="POR160893_0-1681913542954.png" alt="POR160893_0-1681913542954.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Can you please help?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 14:12:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-highlight-data-points-on-timechart/m-p/640611#M52335</guid>
      <dc:creator>POR160893</dc:creator>
      <dc:date>2023-04-19T14:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight data points on timechart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-highlight-data-points-on-timechart/m-p/640764#M52338</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;, have either of you any help or advice on how I can alter this query to have a single timechart trend line of time with only outlier points mark red to be shown on the outputted chart?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Many thanks for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 07:59:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-highlight-data-points-on-timechart/m-p/640764#M52338</guid>
      <dc:creator>POR160893</dc:creator>
      <dc:date>2023-04-20T07:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight data points on timechart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-highlight-data-points-on-timechart/m-p/640777#M52339</link>
      <description>&lt;P&gt;Have you consider the Outlier Chart viz?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal sourcetype=splunkd component=metrics group=per_source_thruput series="*syslog-ng*" host=*hf*
| eval hfgroup=substr(host, 0, 5), eps=eps/2, NodeName=UPPER(mvindex(split(host, "."), 0))
| lookup Cybersecurity_Infrastructure NodeName OUTPUT NodeID
| bucket _time span=1h
| timechart span=1h sum(eps) as Eps
| eval HourOfDay=strftime(_time, "%H")
| eval BucketMinuteOfHour=strftime(_time, "%M")
| eval DayOfWeek=strftime(_time, "%A")
| streamstats avg(Eps) as avg stdev(Eps) as stdev by HourOfDay BucketMinuteOfHour DayOfWeek
| eval AbsDev = abs(Eps - avg)
| streamstats avg(AbsDev) as MAD stdev(AbsDev) as MADStdev by HourOfDay, BucketMinuteOfHour, DayOfWeek
| eval UpperBound = avg + (3 * MAD)
| eval LowerBound = avg - (3 * MAD)
| table _time Eps LowerBound UpperBound&lt;/LI-CODE&gt;&lt;P&gt;You may be able to change the colour of the outliers with CSS (or give your stakeholder some rose-tinted glasses so everything appears to be red!)&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 08:58:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-highlight-data-points-on-timechart/m-p/640777#M52339</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-04-20T08:58:11Z</dc:date>
    </item>
  </channel>
</rss>

