<?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 set up via universal forwarder stops and starts working on its own again in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Script-set-up-via-universal-forwarder-stops-and-starts-working/m-p/592437#M12103</link>
    <description>&lt;P&gt;Please provide more information on how the script is being managed. (inputs.conf, script logic, etc)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Also, please make sure your forwarder was running during the time when you did not see data. You can run the below search for that.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| tstats count where index=_internal host="&amp;lt;your forwarder host&amp;gt;" by _indextime
| eval _time=_indextime
| timechart span=1h sum(count)&lt;/LI-CODE&gt;&lt;P&gt;(You should see gap in this timechart if forwarder was down.)&lt;/P&gt;</description>
    <pubDate>Tue, 05 Apr 2022 13:54:24 GMT</pubDate>
    <dc:creator>VatsalJagani</dc:creator>
    <dc:date>2022-04-05T13:54:24Z</dc:date>
    <item>
      <title>Script set up via universal forwarder stops and starts working on its own again</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Script-set-up-via-universal-forwarder-stops-and-starts-working/m-p/592369#M12094</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having a weird issue with Splunk Enterprise. I had set up a universal internal forwarder to execute a script that gives me the list of all different processes within the Linux environment.&lt;/P&gt;&lt;P&gt;All of a sudden the script stopped producing results from 12 am and the panel didn't work. But again it starts working after 3 days by itself. This happened in both the test and production setup. Is there something that should be taken care of when using scripts in Universal forwarder or is there some reason for this unusual behaviour?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pravin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 09:42:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Script-set-up-via-universal-forwarder-stops-and-starts-working/m-p/592369#M12094</guid>
      <dc:creator>_pravin</dc:creator>
      <dc:date>2022-04-05T09:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Script set up via universal forwarder stops and starts working on its own again</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Script-set-up-via-universal-forwarder-stops-and-starts-working/m-p/592437#M12103</link>
      <description>&lt;P&gt;Please provide more information on how the script is being managed. (inputs.conf, script logic, etc)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Also, please make sure your forwarder was running during the time when you did not see data. You can run the below search for that.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| tstats count where index=_internal host="&amp;lt;your forwarder host&amp;gt;" by _indextime
| eval _time=_indextime
| timechart span=1h sum(count)&lt;/LI-CODE&gt;&lt;P&gt;(You should see gap in this timechart if forwarder was down.)&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 13:54:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Script-set-up-via-universal-forwarder-stops-and-starts-working/m-p/592437#M12103</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2022-04-05T13:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Script set up via universal forwarder stops and starts working on its own again</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Script-set-up-via-universal-forwarder-stops-and-starts-working/m-p/592854#M12135</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/93915"&gt;@VatsalJagani&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The script is being managed by input.conf from the internal forwarder. There are a few more scripts and files being managed by the same forwarder which are working as usual but only this particular script doesn't work.&lt;/P&gt;&lt;P&gt;Also, the command doesn't produce any results and shows 0 results found.&lt;/P&gt;&lt;PRE&gt;| tstats count where index=_internal host="&amp;lt;your forwarder host&amp;gt;" by _indextime
| eval _time=_indextime
| timechart span=1h sum(count)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pravin&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 08:52:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Script-set-up-via-universal-forwarder-stops-and-starts-working/m-p/592854#M12135</guid>
      <dc:creator>_pravin</dc:creator>
      <dc:date>2022-04-07T08:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Script set up via universal forwarder stops and starts working on its own again</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Script-set-up-via-universal-forwarder-stops-and-starts-working/m-p/592901#M12147</link>
      <description>&lt;P&gt;Please try this search query to check if server was running all the time or not.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal host="&amp;lt;your forwarder host&amp;gt;"
| timechart span=15m count&lt;/LI-CODE&gt;&lt;UL&gt;&lt;LI&gt;If the forwarder was up all the time&lt;UL&gt;&lt;LI&gt;If the server stopped sending all kinds of data during that time as you mentioned&lt;UL&gt;&lt;LI&gt;then there could be a network bandwidth issue.&lt;/LI&gt;&lt;LI&gt;Also, note that UF has a bandwidth limit of&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;256Kbps&lt;/STRONG&gt; by default&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;If your server is producing a lot of data then your network bandwidth could create that problem.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;If the server stopped sending particular input data &lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;then look at the logs related to that input, and see if you see any errors/warnings.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Check for splunkd logs to see if you see any warnings/errors around that time. It should give answer to your question.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;If above query give you gap in the timechart then that means your forwarder was down during that time.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 07 Apr 2022 13:05:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Script-set-up-via-universal-forwarder-stops-and-starts-working/m-p/592901#M12147</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2022-04-07T13:05:00Z</dc:date>
    </item>
  </channel>
</rss>

