<?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 How do I pass event arguments to scripts run in response to Splunk alerts? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-do-I-pass-event-arguments-to-scripts-run-in-response-to/m-p/10305#M26</link>
    <description>&lt;P&gt;When I configure a script in Splunk to run when an alert fires, how I can pass event arguments ( node name, message, etc) to the script?&lt;/P&gt;</description>
    <pubDate>Fri, 19 Mar 2010 23:50:34 GMT</pubDate>
    <dc:creator>Alan_Bradley</dc:creator>
    <dc:date>2010-03-19T23:50:34Z</dc:date>
    <item>
      <title>How do I pass event arguments to scripts run in response to Splunk alerts?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-pass-event-arguments-to-scripts-run-in-response-to/m-p/10305#M26</link>
      <description>&lt;P&gt;When I configure a script in Splunk to run when an alert fires, how I can pass event arguments ( node name, message, etc) to the script?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2010 23:50:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-pass-event-arguments-to-scripts-run-in-response-to/m-p/10305#M26</guid>
      <dc:creator>Alan_Bradley</dc:creator>
      <dc:date>2010-03-19T23:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do I pass event arguments to scripts run in response to Splunk alerts?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-pass-event-arguments-to-scripts-run-in-response-to/m-p/10306#M27</link>
      <description>&lt;P&gt;Configure scripted alerts with savedsearches.conf. Use the $SPLUNK_HOME/etc/system/README/savedsearches.conf.example as an example, or create your own savedsearches.conf.&lt;/P&gt;

&lt;P&gt;Complete documentation on the subject can be found here: &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Alert/Configuringscriptedalerts" rel="nofollow"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/Alert/Configuringscriptedalerts&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2010 23:53:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-pass-event-arguments-to-scripts-run-in-response-to/m-p/10306#M27</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2010-03-19T23:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do I pass event arguments to scripts run in response to Splunk alerts?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-pass-event-arguments-to-scripts-run-in-response-to/m-p/10307#M28</link>
      <description>&lt;P&gt;The first answer shows how to create alerts, not how to have the scripted alert pass in event arguments.  i.e. hostname, message, etc.  Splunk appears to pass in the 8 arguments in the documentation, but doesn't allow you to include additional information.&lt;/P&gt;

&lt;P&gt;If I have an alert that is trigger, and part of the search that triggers the alert is host="MYMACHINE*", it would be great to know in the alert which MYMACHINE# the alert was found on.  Is there a way to do that?&lt;/P&gt;</description>
      <pubDate>Tue, 01 May 2012 17:50:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-pass-event-arguments-to-scripts-run-in-response-to/m-p/10307#M28</guid>
      <dc:creator>jcott28</dc:creator>
      <dc:date>2012-05-01T17:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do I pass event arguments to scripts run in response to Splunk alerts?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-pass-event-arguments-to-scripts-run-in-response-to/m-p/10308#M29</link>
      <description>&lt;P&gt;To send non-fixed information to an alert, you must write your alert script to open the results file. The results file path is by default is argument number 8, and is in CSV format. Your script can open and parse out results from this file.&lt;/P&gt;</description>
      <pubDate>Tue, 01 May 2012 18:55:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-pass-event-arguments-to-scripts-run-in-response-to/m-p/10308#M29</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2012-05-01T18:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I pass event arguments to scripts run in response to Splunk alerts?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-pass-event-arguments-to-scripts-run-in-response-to/m-p/10309#M30</link>
      <description>&lt;P&gt;and where is that file?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2015 16:24:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-pass-event-arguments-to-scripts-run-in-response-to/m-p/10309#M30</guid>
      <dc:creator>tsatsost</dc:creator>
      <dc:date>2015-11-25T16:24:42Z</dc:date>
    </item>
  </channel>
</rss>

