<?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: Does Splunk supports sound alerts in Enterprise dashboards based on the threshold in the query? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Does-Splunk-support-sound-alerts-in-Enterprise-dashboards-based/m-p/592030#M13725</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/142771"&gt;@maryamchar&lt;/a&gt;&amp;nbsp; - As&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp; mentioned there is no native support but if you want to you can write a custom JavaScript function that can perform the task.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Part of your dashboard XML&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;        &amp;lt;single&amp;gt;
            &amp;lt;title&amp;gt;Active Users&amp;lt;/title&amp;gt;
            &amp;lt;search&amp;gt;
                &amp;lt;query&amp;gt;
                   &amp;lt;your query&amp;gt;
                    | stats count
                &amp;lt;/query&amp;gt;
                &amp;lt;done&amp;gt;
                   &amp;lt;set token="tkn_alert_me"&amp;gt;$result.count$&amp;lt;/set&amp;gt;
                &amp;lt;/done&amp;gt;
            &amp;lt;/search&amp;gt;
            &amp;lt;option name="field"&amp;gt;count&amp;lt;/option&amp;gt;
        &amp;lt;/single&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your JavaScript Code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;require([
    'jquery',
    'splunkjs/mvc',
    'splunkjs/mvc/searchmanager',
    'splunkjs/mvc/simplexml/ready!'
], function ($, mvc, SearchManager) {

    // Defining model tokens
    let submittedTokens = mvc.Components.getInstance('submitted');
    submittedTokens.on("change:tkn_alert_me", function(value){
           if(value&amp;gt;=100){
                  // follow this link to see how to play sound -  https://stackoverflow.com/questions/10105063/how-to-play-a-notification-sound-on-websites
            }
     });
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are new to adding Javascript to the Splunk dashboard -&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-JavaScript-code-in-Splunk-Cloud-dashboard/td-p/368500" target="_blank"&gt;https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-JavaScript-code-in-Splunk-Cloud-dashboard/td-p/368500&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps!!!&amp;nbsp; Kindly accept the answer it does.&lt;/P&gt;</description>
    <pubDate>Sat, 02 Apr 2022 05:34:23 GMT</pubDate>
    <dc:creator>VatsalJagani</dc:creator>
    <dc:date>2022-04-02T05:34:23Z</dc:date>
    <item>
      <title>Does Splunk support sound alerts in Enterprise dashboards based on the threshold in the query?</title>
      <link>https://community.splunk.com/t5/Alerting/Does-Splunk-support-sound-alerts-in-Enterprise-dashboards-based/m-p/591961#M13715</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does Splunk supports sound alerts in Enterprise dashboards based on the threshold in the query?&lt;/P&gt;
&lt;P&gt;Ex. I have a query where it shows the (statues &amp;gt; 100) or (statues &amp;lt; 100).&amp;nbsp; If the (statues &amp;gt;= 100), i would like to get a sound alert. I'm displaying these statuses in Trellis Single Value. Please let me know if it's possible to get an alert once it reaches a certain threshold and how would you set it up in Splunk dashboard? Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 14:36:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Does-Splunk-support-sound-alerts-in-Enterprise-dashboards-based/m-p/591961#M13715</guid>
      <dc:creator>maryamchar</dc:creator>
      <dc:date>2022-04-04T14:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Does Splunk supports sound alerts in Enterprise dashboards based on the threshold in the query?</title>
      <link>https://community.splunk.com/t5/Alerting/Does-Splunk-support-sound-alerts-in-Enterprise-dashboards-based/m-p/592010#M13721</link>
      <description>&lt;P&gt;Splunk dashboard do not have native support for sounds.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 19:21:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Does-Splunk-support-sound-alerts-in-Enterprise-dashboards-based/m-p/592010#M13721</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-04-01T19:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Does Splunk supports sound alerts in Enterprise dashboards based on the threshold in the query?</title>
      <link>https://community.splunk.com/t5/Alerting/Does-Splunk-support-sound-alerts-in-Enterprise-dashboards-based/m-p/592015#M13722</link>
      <description>&lt;P&gt;Is this something Splunk planning to add in the future? Dashboard sound alerts?&amp;nbsp;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 20:04:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Does-Splunk-support-sound-alerts-in-Enterprise-dashboards-based/m-p/592015#M13722</guid>
      <dc:creator>maryamchar</dc:creator>
      <dc:date>2022-04-01T20:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Does Splunk supports sound alerts in Enterprise dashboards based on the threshold in the query?</title>
      <link>https://community.splunk.com/t5/Alerting/Does-Splunk-support-sound-alerts-in-Enterprise-dashboards-based/m-p/592028#M13724</link>
      <description>&lt;P&gt;I have no idea since I'm only a user, but I hope not.&amp;nbsp; I don't like noisy computers.&lt;/P&gt;&lt;P&gt;You can ask for sound support at&amp;nbsp;&lt;A href="https://ideas.splunk.com" target="_blank"&gt;https://ideas.splunk.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Apr 2022 00:14:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Does-Splunk-support-sound-alerts-in-Enterprise-dashboards-based/m-p/592028#M13724</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-04-02T00:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Does Splunk supports sound alerts in Enterprise dashboards based on the threshold in the query?</title>
      <link>https://community.splunk.com/t5/Alerting/Does-Splunk-support-sound-alerts-in-Enterprise-dashboards-based/m-p/592030#M13725</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/142771"&gt;@maryamchar&lt;/a&gt;&amp;nbsp; - As&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp; mentioned there is no native support but if you want to you can write a custom JavaScript function that can perform the task.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Part of your dashboard XML&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;        &amp;lt;single&amp;gt;
            &amp;lt;title&amp;gt;Active Users&amp;lt;/title&amp;gt;
            &amp;lt;search&amp;gt;
                &amp;lt;query&amp;gt;
                   &amp;lt;your query&amp;gt;
                    | stats count
                &amp;lt;/query&amp;gt;
                &amp;lt;done&amp;gt;
                   &amp;lt;set token="tkn_alert_me"&amp;gt;$result.count$&amp;lt;/set&amp;gt;
                &amp;lt;/done&amp;gt;
            &amp;lt;/search&amp;gt;
            &amp;lt;option name="field"&amp;gt;count&amp;lt;/option&amp;gt;
        &amp;lt;/single&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your JavaScript Code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;require([
    'jquery',
    'splunkjs/mvc',
    'splunkjs/mvc/searchmanager',
    'splunkjs/mvc/simplexml/ready!'
], function ($, mvc, SearchManager) {

    // Defining model tokens
    let submittedTokens = mvc.Components.getInstance('submitted');
    submittedTokens.on("change:tkn_alert_me", function(value){
           if(value&amp;gt;=100){
                  // follow this link to see how to play sound -  https://stackoverflow.com/questions/10105063/how-to-play-a-notification-sound-on-websites
            }
     });
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are new to adding Javascript to the Splunk dashboard -&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-JavaScript-code-in-Splunk-Cloud-dashboard/td-p/368500" target="_blank"&gt;https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-JavaScript-code-in-Splunk-Cloud-dashboard/td-p/368500&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps!!!&amp;nbsp; Kindly accept the answer it does.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Apr 2022 05:34:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Does-Splunk-support-sound-alerts-in-Enterprise-dashboards-based/m-p/592030#M13725</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2022-04-02T05:34:23Z</dc:date>
    </item>
  </channel>
</rss>

