<?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: Script not triggered with complex wildcard search in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Script-not-triggered-with-complex-wildcard-search/m-p/125360#M2827</link>
    <description>&lt;P&gt;then replace your script with any working like the &lt;CODE&gt;sendemail.py&lt;/CODE&gt; and see if this is fired. if yes, problem is  with your script.&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jun 2014 13:04:25 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2014-06-27T13:04:25Z</dc:date>
    <item>
      <title>Script not triggered with complex wildcard search</title>
      <link>https://community.splunk.com/t5/Reporting/Script-not-triggered-with-complex-wildcard-search/m-p/125353#M2820</link>
      <description>&lt;P&gt;Hello All,&lt;BR /&gt;
i have been struggling to find the reason why sometimes the scripts are not triggered when i put some wildcards for filtering search. My search contains many sub searches to be able to get all the information with append statements.&lt;/P&gt;

&lt;P&gt;sample:&lt;BR /&gt;
Working scenario:&lt;BR /&gt;
    &lt;CODE&gt;index=dummy "x\.y\.z" OR "x\.y" OR "v.x.y.z.*IO*"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Non-Working&lt;BR /&gt;
    &lt;CODE&gt;index=dummy "x\.y\.z" OR "x\.y" OR "v.x.y.z*.*.IO*"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;it doesn't trigger the script in the second. Any setting which could help me in this? I have inspected the job not able to get any error or hint. No errors in python.log or splunkd.log. Am using splunk v5.0.1&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2014 17:26:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Script-not-triggered-with-complex-wildcard-search/m-p/125353#M2820</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-06-26T17:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Script not triggered with complex wildcard search</title>
      <link>https://community.splunk.com/t5/Reporting/Script-not-triggered-with-complex-wildcard-search/m-p/125354#M2821</link>
      <description>&lt;P&gt;Hi linu1988,&lt;/P&gt;

&lt;P&gt;if this is scripted inputs Splunk does not care about the content of the script, it will fire it at any given time....and maybe this is your problem  &lt;EM&gt;time&lt;/EM&gt;. If you run your script too frequent Splunk can get some ugly results back if the scripts have the same name. Reduce the interval the script runs. Use any kind of script logging option you have, like output the start time, result and end time into a file outside of Splunk and check this file.&lt;/P&gt;

&lt;P&gt;I also had this problem once, so I'm pretty sure this is not a Splunk problem &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;happy debugging ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2014 06:17:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Script-not-triggered-with-complex-wildcard-search/m-p/125354#M2821</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-06-27T06:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Script not triggered with complex wildcard search</title>
      <link>https://community.splunk.com/t5/Reporting/Script-not-triggered-with-complex-wildcard-search/m-p/125355#M2822</link>
      <description>&lt;P&gt;Hey Mus,after this long i have set up each and every tracing mechanism to validate where the issue lies. But it doesn't trigger the script at all. It sends me the result mail but it simply doesn't trigger until i give some specific filters. if time is the problem i want the ugly result but there is no trigger from the script. Hope you can give some other idea.&lt;/P&gt;

&lt;P&gt;e.g bat file contains mkdir folder. it's not even creating that.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2014 07:42:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Script-not-triggered-with-complex-wildcard-search/m-p/125355#M2822</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-06-27T07:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: Script not triggered with complex wildcard search</title>
      <link>https://community.splunk.com/t5/Reporting/Script-not-triggered-with-complex-wildcard-search/m-p/125356#M2823</link>
      <description>&lt;P&gt;so what are you doing exactly? this is a scripted input right? what does the script look like you run? what happens if you run this script manully using &lt;CODE&gt;$SPLUNK_HOME/bin/splunk cmd python &amp;lt;pathtoyourscript&amp;gt;/yourScript&lt;/CODE&gt; ? what happens if you run this script once a hour or every 10 minutes instead of each second?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2014 07:46:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Script-not-triggered-with-complex-wildcard-search/m-p/125356#M2823</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-06-27T07:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Script not triggered with complex wildcard search</title>
      <link>https://community.splunk.com/t5/Reporting/Script-not-triggered-with-complex-wildcard-search/m-p/125357#M2824</link>
      <description>&lt;P&gt;no it is script which is triggered with a savedsearch. That is not working what ever i do. Manually the bat file runs and it works with some specific search with wildcards. As i mentioned once i include more filtered criteria that doesn't trigger the script. As usual the email alert i get.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2014 10:24:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Script-not-triggered-with-complex-wildcard-search/m-p/125357#M2824</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-06-27T10:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Script not triggered with complex wildcard search</title>
      <link>https://community.splunk.com/t5/Reporting/Script-not-triggered-with-complex-wildcard-search/m-p/125358#M2825</link>
      <description>&lt;P&gt;Could be that this second search with the more filter criteria causes this problem, because it simply does not find any event?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2014 10:57:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Script-not-triggered-with-complex-wildcard-search/m-p/125358#M2825</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-06-27T10:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Script not triggered with complex wildcard search</title>
      <link>https://community.splunk.com/t5/Reporting/Script-not-triggered-with-complex-wildcard-search/m-p/125359#M2826</link>
      <description>&lt;P&gt;I mentioned earlier, i get all the events for all the searches and get the detailed mail as well. I have been struggling to understand why it is not triggering that .bat file. Any idea on the logic how the script is triggered? may be some bug with wildcard searches or longer search queries. Where else should i check for the reason?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2014 13:02:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Script-not-triggered-with-complex-wildcard-search/m-p/125359#M2826</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-06-27T13:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Script not triggered with complex wildcard search</title>
      <link>https://community.splunk.com/t5/Reporting/Script-not-triggered-with-complex-wildcard-search/m-p/125360#M2827</link>
      <description>&lt;P&gt;then replace your script with any working like the &lt;CODE&gt;sendemail.py&lt;/CODE&gt; and see if this is fired. if yes, problem is  with your script.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2014 13:04:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Script-not-triggered-with-complex-wildcard-search/m-p/125360#M2827</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-06-27T13:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Script not triggered with complex wildcard search</title>
      <link>https://community.splunk.com/t5/Reporting/Script-not-triggered-with-complex-wildcard-search/m-p/125361#M2828</link>
      <description>&lt;P&gt;i mentioned earlier, the script is not getting triggered at all. when it gets triggered it actually works. This is depending on the above search i mentioned. With complex searches it doesn't trigger the script at all.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2014 14:09:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Script-not-triggered-with-complex-wildcard-search/m-p/125361#M2828</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-06-27T14:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Script not triggered with complex wildcard search</title>
      <link>https://community.splunk.com/t5/Reporting/Script-not-triggered-with-complex-wildcard-search/m-p/125362#M2829</link>
      <description>&lt;P&gt;I mentioned earlier:&lt;BR /&gt;
' what are you doing exactly'  .... &lt;/P&gt;

&lt;P&gt;Lets take this offline and I'll push your contact me button so you can mail me &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2014 14:40:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Script-not-triggered-with-complex-wildcard-search/m-p/125362#M2829</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-06-27T14:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Script not triggered with complex wildcard search</title>
      <link>https://community.splunk.com/t5/Reporting/Script-not-triggered-with-complex-wildcard-search/m-p/125363#M2830</link>
      <description>&lt;P&gt;This is occurring in splunk 6 as well, It doesn't work with long complex splunk queries. Here as well i have to do it using Macro.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2014 15:49:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Script-not-triggered-with-complex-wildcard-search/m-p/125363#M2830</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-09-18T15:49:36Z</dc:date>
    </item>
  </channel>
</rss>

