<?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 create a custom python script to get the result and modify them to send mail in splunk in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/How-do-i-create-a-custom-python-script-to-get-the-result-and/m-p/99551#M2317</link>
    <description>&lt;P&gt;Hello Everyone,&lt;BR /&gt;
I would like to run a script that customizes the output of a savedsearch and send emails. I am not able to get any reference from where i would start. Could any one help me get any reference or guidance for creating a script how it can be called when a savedseach is being executed? I am able to get the script customized which is provided by splunk, but with that i am able to achieve only one custom script per App.&lt;/P&gt;

&lt;P&gt;Any kind of help will be appreciated. Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 15 Oct 2013 15:06:54 GMT</pubDate>
    <dc:creator>linu1988</dc:creator>
    <dc:date>2013-10-15T15:06:54Z</dc:date>
    <item>
      <title>How do i create a custom python script to get the result and modify them to send mail in splunk</title>
      <link>https://community.splunk.com/t5/Reporting/How-do-i-create-a-custom-python-script-to-get-the-result-and/m-p/99551#M2317</link>
      <description>&lt;P&gt;Hello Everyone,&lt;BR /&gt;
I would like to run a script that customizes the output of a savedsearch and send emails. I am not able to get any reference from where i would start. Could any one help me get any reference or guidance for creating a script how it can be called when a savedseach is being executed? I am able to get the script customized which is provided by splunk, but with that i am able to achieve only one custom script per App.&lt;/P&gt;

&lt;P&gt;Any kind of help will be appreciated. Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2013 15:06:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-do-i-create-a-custom-python-script-to-get-the-result-and/m-p/99551#M2317</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2013-10-15T15:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do i create a custom python script to get the result and modify them to send mail in splunk</title>
      <link>https://community.splunk.com/t5/Reporting/How-do-i-create-a-custom-python-script-to-get-the-result-and/m-p/99552#M2318</link>
      <description>&lt;P&gt;You could use a regular scheduled search with an alert condition. And specify a &lt;STRONG&gt;scripted alert&lt;/STRONG&gt;, that will be called if the condition is achieved.&lt;BR /&gt;
Then you write the script, one of the parameter is the path to the csv file containing the results, you can process them before emailing them.&lt;/P&gt;

&lt;P&gt;see &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Alert/Configuringscriptedalerts"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Alert/Configuringscriptedalerts&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2013 15:19:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-do-i-create-a-custom-python-script-to-get-the-result-and/m-p/99552#M2318</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2013-10-15T15:19:01Z</dc:date>
    </item>
  </channel>
</rss>

