<?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: what is the easiest way to make alert  (sound, python script, ...) in Splunk search in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/What-is-the-easiest-way-to-make-alert-sound-python-script-in/m-p/592414#M10515</link>
    <description>&lt;P&gt;Well, in that case you might think of a custom alert action which will be performed on the search head (or all-in-one as I assume you have) but that's something you have to devise on your own because it's a very atypical case.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.5/AdvancedDev/ModAlertsIntro" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.5/AdvancedDev/ModAlertsIntro&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Apr 2022 12:04:21 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2022-04-05T12:04:21Z</dc:date>
    <item>
      <title>What is the easiest way to make alert  (sound, python script, ...) in Splunk search?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/What-is-the-easiest-way-to-make-alert-sound-python-script-in/m-p/592377#M10512</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;
&lt;P&gt;want to make an alert in Splunk, for example:&lt;/P&gt;
&lt;P&gt;if _raw&amp;gt;10&lt;/P&gt;
&lt;P&gt;make alert.&lt;/P&gt;
&lt;P&gt;what is the&amp;nbsp;easiest way to make alert?&lt;/P&gt;
&lt;P&gt;can I do it within the search comment?&lt;/P&gt;
&lt;P&gt;play wav file?&lt;/P&gt;
&lt;P&gt;play through the browser?&lt;/P&gt;
&lt;P&gt;python script?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 16:02:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/What-is-the-easiest-way-to-make-alert-sound-python-script-in/m-p/592377#M10512</guid>
      <dc:creator>erez10121012</dc:creator>
      <dc:date>2022-04-05T16:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: what is the easiest way to make alert  (sound, python script, ...) in Splunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/What-is-the-easiest-way-to-make-alert-sound-python-script-in/m-p/592390#M10513</link>
      <description>&lt;P&gt;Wait a second.&lt;/P&gt;&lt;P&gt;You have to think how splunk works.&lt;/P&gt;&lt;P&gt;You can have an all-in-one installation on your desktop but in general, the splunk infrastructure is composed of several layers. There are indexers, there are search heads, and there is your browser which connects to a search head which typically is on a different host.&lt;/P&gt;&lt;P&gt;An alert in splunk sense is a search which triggers some action _on the search head_ if some conditions are fulfilled. So in general case - the alert action is performed on the search head which typically is in some server room, possibly on a virtual machine. Even if you created a custom "play wav file" script to handle such alert where would it play? In your rack cabinet? Kinda pointless, isn't it? &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You could try to add some client-side logic in a dashboard which would do something based on a value of specific form or something like that but that's purely client-side programming in JS and - frankly - it doesn't have much to do with Splunk itself, it's just inserting an external JS code into a Splunk dashboard. Probably can be done but I don't find the idea worth pursuing.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 10:43:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/What-is-the-easiest-way-to-make-alert-sound-python-script-in/m-p/592390#M10513</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-04-05T10:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: what is the easiest way to make alert  (sound, python script, ...) in Splunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/What-is-the-easiest-way-to-make-alert-sound-python-script-in/m-p/592411#M10514</link>
      <description>&lt;P&gt;thanks for the detailed explanation.&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;In your rack cabinet? Kinda pointless, isn't it?"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;my "rack cabinet"&amp;nbsp;is located close to my client computer, and the alert will reach to my client&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 11:54:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/What-is-the-easiest-way-to-make-alert-sound-python-script-in/m-p/592411#M10514</guid>
      <dc:creator>erez10121012</dc:creator>
      <dc:date>2022-04-05T11:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: what is the easiest way to make alert  (sound, python script, ...) in Splunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/What-is-the-easiest-way-to-make-alert-sound-python-script-in/m-p/592414#M10515</link>
      <description>&lt;P&gt;Well, in that case you might think of a custom alert action which will be performed on the search head (or all-in-one as I assume you have) but that's something you have to devise on your own because it's a very atypical case.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.5/AdvancedDev/ModAlertsIntro" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.5/AdvancedDev/ModAlertsIntro&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 12:04:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/What-is-the-easiest-way-to-make-alert-sound-python-script-in/m-p/592414#M10515</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-04-05T12:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: what is the easiest way to make alert  (sound, python script, ...) in Splunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/What-is-the-easiest-way-to-make-alert-sound-python-script-in/m-p/592426#M10516</link>
      <description>&lt;P&gt;A bit difficult to execute, there is no simple way to execute any command through the search, maybe ping?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 13:02:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/What-is-the-easiest-way-to-make-alert-sound-python-script-in/m-p/592426#M10516</guid>
      <dc:creator>erez10121012</dc:creator>
      <dc:date>2022-04-05T13:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: what is the easiest way to make alert  (sound, python script, ...) in Splunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/What-is-the-easiest-way-to-make-alert-sound-python-script-in/m-p/592428#M10517</link>
      <description>&lt;P&gt;There is a script command &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.5/SearchReference/Script" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.5/SearchReference/Script&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But it's also not as easy as just writing&lt;/P&gt;&lt;PRE&gt;| tstats count | ping&lt;/PRE&gt;&lt;P&gt;Running arbitrary commands from splunk search is not something that should be treated lightly.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 13:09:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/What-is-the-easiest-way-to-make-alert-sound-python-script-in/m-p/592428#M10517</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-04-05T13:09:53Z</dc:date>
    </item>
  </channel>
</rss>

