<?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: please help !!! can  splunk alert with the sound by use python script .i have a scripts but it's not play anythaing. in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/please-help-can-splunk-alert-with-the-sound-by-use-python-script/m-p/113156#M1672</link>
    <description>&lt;P&gt;Umm, yeah. Normally, in the enterprise, Splunk is installed on a Server somewhere. So even if python plays the sound you won't hear it. If you installed it on your Desktop, it might work. Try running the python by itself and see if you hear anything (make sure your computer is not muted and the volume is up). If it is on a server not on your computer, good luck and let us know how that turns out. &lt;/P&gt;</description>
    <pubDate>Thu, 24 Oct 2013 11:21:14 GMT</pubDate>
    <dc:creator>alacercogitatus</dc:creator>
    <dc:date>2013-10-24T11:21:14Z</dc:date>
    <item>
      <title>please help !!! can  splunk alert with the sound by use python script .i have a scripts but it's not play anythaing.</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/please-help-can-splunk-alert-with-the-sound-by-use-python-script/m-p/113155#M1671</link>
      <description>&lt;P&gt;I want splunk alert the sound when find  the event  in  alerts condition . I write script in python like this below&lt;/P&gt;

&lt;P&gt;Python  Script name :  s.py &lt;/P&gt;

&lt;P&gt;import winsound&lt;BR /&gt;
soundfile = "c:/shine.wav"&lt;BR /&gt;
winsound.PlaySound(soundfile, winsound.SND_FILENAME|winsound.SND_ASYNC) &lt;/P&gt;

&lt;P&gt;when i compile this script with python GUI  It can play the sound,  after that I copy s.py  to "C:Program Files/Splunk/bin/scripts/s.py" and in the alert condition page i set run script checkbox is enable and type  s.py  in the File name of shell script to run but when it  alert i can't hear anything . It's only show in  triggered alert and send an e-mail .It's not alert with sound.  maybe wrong miss config but i don't know the wrong . what should i do to success in open the sound. Please help.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:03:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/please-help-can-splunk-alert-with-the-sound-by-use-python-script/m-p/113155#M1671</guid>
      <dc:creator>Watchariya</dc:creator>
      <dc:date>2020-09-28T15:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: please help !!! can  splunk alert with the sound by use python script .i have a scripts but it's not play anythaing.</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/please-help-can-splunk-alert-with-the-sound-by-use-python-script/m-p/113156#M1672</link>
      <description>&lt;P&gt;Umm, yeah. Normally, in the enterprise, Splunk is installed on a Server somewhere. So even if python plays the sound you won't hear it. If you installed it on your Desktop, it might work. Try running the python by itself and see if you hear anything (make sure your computer is not muted and the volume is up). If it is on a server not on your computer, good luck and let us know how that turns out. &lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2013 11:21:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/please-help-can-splunk-alert-with-the-sound-by-use-python-script/m-p/113156#M1672</guid>
      <dc:creator>alacercogitatus</dc:creator>
      <dc:date>2013-10-24T11:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: please help !!! can  splunk alert with the sound by use python script .i have a scripts but it's not play anythaing.</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/please-help-can-splunk-alert-with-the-sound-by-use-python-script/m-p/113157#M1673</link>
      <description>&lt;P&gt;I install Splunk on my desktop  set it as splunk server and i test python script on my desktop too . it's can work when i test with python GUI but keep it with splunk  it doesn't work . May be i think i have a miss config but i don't know what wrong. i copy my python script to  "C:Program Files/Splunk/bin/scripts/s.py" . is it right? and  in the setup alert page i check in script checkbox is enable and type  s.py  in the File name of shell script to run. is it right? Or you mean  i should have 2 computer 1 for splunk server and 1 for test alert . i don't understand&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2013 02:20:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/please-help-can-splunk-alert-with-the-sound-by-use-python-script/m-p/113157#M1673</guid>
      <dc:creator>Watchariya</dc:creator>
      <dc:date>2013-10-25T02:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: please help !!! can  splunk alert with the sound by use python script .i have a scripts but it's not play anythaing.</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/please-help-can-splunk-alert-with-the-sound-by-use-python-script/m-p/113158#M1674</link>
      <description>&lt;P&gt;Try writing an actual shell script (s.bat) that calls the python script, and use "s.bat" in the alert config. &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;C:\$PATH_TO_PYTHON\python C:\$SPLUNK_HOME\bin\scripts\s.py&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2013 11:25:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/please-help-can-splunk-alert-with-the-sound-by-use-python-script/m-p/113158#M1674</guid>
      <dc:creator>alacercogitatus</dc:creator>
      <dc:date>2013-10-25T11:25:24Z</dc:date>
    </item>
  </channel>
</rss>

