<?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: How can I get Splunk_TA_nix to stop running lsof.sh? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-Splunk-TA-nix-to-stop-running-lsof-sh/m-p/495200#M60915</link>
    <description>&lt;P&gt;I had to remove/re-install the splunk_TA_nix app to get it to stop behaving this way.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 02:42:47 GMT</pubDate>
    <dc:creator>esalesapns2</dc:creator>
    <dc:date>2020-09-30T02:42:47Z</dc:date>
    <item>
      <title>How can I get Splunk_TA_nix to stop running lsof.sh?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-Splunk-TA-nix-to-stop-running-lsof-sh/m-p/495191#M60906</link>
      <description>&lt;P&gt;&lt;STRONG&gt;I can't figure out why lsof.sh is running every minute.&lt;BR /&gt;Here's the&lt;/STRONG&gt; "btool inputs list --debug" &lt;STRONG&gt;output for lsof:&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;/opt/splunkforwarder/etc/apps/DS2-ns2-Splunk_TA_nix-cre/local/inputs.conf [script:///opt/splunkforwarder/etc/apps/Splunk_TA_nix/bin/lsof.sh]
/opt/splunkforwarder/etc/system/default/inputs.conf _rcvbuf = 1572864
/opt/splunkforwarder/etc/apps/Splunk_TA_nix/local/inputs.conf disabled = 1
/opt/splunkforwarder/etc/system/local/inputs.conf host = c20sbap01l01
/opt/splunkforwarder/etc/apps/DS2-ns2-Splunk_TA_nix-cre/local/inputs.conf index = cre_linux
/opt/splunkforwarder/etc/apps/Splunk_TA_nix/local/inputs.conf interval = 600
/opt/splunkforwarder/etc/apps/Splunk_TA_nix/default/inputs.conf source = lsof
/opt/splunkforwarder/etc/apps/Splunk_TA_nix/default/inputs.conf sourcetype = lsof
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;Here's my splund.log output:&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;10-10-2019 16:07:12.898 +0000 INFO ExecProcessor - New scheduled exec process: /opt/splunkforwarder/etc/apps/Splunk_TA_nix/bin/lsof.sh
10-10-2019 16:07:12.898 +0000 INFO ExecProcessor - interval: 60000 ms
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;I've tried restarting splunk to no effect...&lt;BR /&gt;Notice that the interval is set to 600 (600 seconds) in the btool output, but 60000 (60 seconds) in the splunkd.log output.&lt;BR /&gt;I'll try interval = -1 next, and then a single app after that.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jun 2020 17:53:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-Splunk-TA-nix-to-stop-running-lsof-sh/m-p/495191#M60906</guid>
      <dc:creator>esalesapns2</dc:creator>
      <dc:date>2020-06-06T17:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get Splunk_TA_nix to stop running lsof.sh?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-Splunk-TA-nix-to-stop-running-lsof-sh/m-p/495192#M60907</link>
      <description>&lt;P&gt;Do you want to stop lsof.sh from running at all or just make it run every 10 minutes?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2019 19:39:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-Splunk-TA-nix-to-stop-running-lsof-sh/m-p/495192#M60907</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-10-10T19:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get Splunk_TA_nix to stop running lsof.sh?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-Splunk-TA-nix-to-stop-running-lsof-sh/m-p/495193#M60908</link>
      <description>&lt;P&gt;stop it altogether.  some of my servers have 5M files open at a time...&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2019 19:41:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-Splunk-TA-nix-to-stop-running-lsof-sh/m-p/495193#M60908</guid>
      <dc:creator>esalesapns2</dc:creator>
      <dc:date>2019-10-10T19:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get Splunk_TA_nix to stop running lsof.sh?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-Splunk-TA-nix-to-stop-running-lsof-sh/m-p/495194#M60909</link>
      <description>&lt;P&gt;Dumb question, but did you run btool on the same machine that the splunkd log is from?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2019 19:55:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-Splunk-TA-nix-to-stop-running-lsof-sh/m-p/495194#M60909</guid>
      <dc:creator>jacobpevans</dc:creator>
      <dc:date>2019-10-10T19:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get Splunk_TA_nix to stop running lsof.sh?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-Splunk-TA-nix-to-stop-running-lsof-sh/m-p/495195#M60910</link>
      <description>&lt;P&gt;Yes, I did.  I have since stopped Splunk, removed deploymentclient.conf, and the DS2-Splunk_TA_nix-cre directory, and set the indexes for all the Splunk_TA_nix inputs in Splunk_TA_nix/local/inputs.conf, and restarted splunk.  I'm still getting a steady stream of lsof events every minute.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:26:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-Splunk-TA-nix-to-stop-running-lsof-sh/m-p/495195#M60910</guid>
      <dc:creator>esalesapns2</dc:creator>
      <dc:date>2020-09-30T02:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get Splunk_TA_nix to stop running lsof.sh?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-Splunk-TA-nix-to-stop-running-lsof-sh/m-p/495196#M60911</link>
      <description>&lt;P&gt;This is on Splunk Universal Forwarder 7.0.1.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2019 20:07:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-Splunk-TA-nix-to-stop-running-lsof-sh/m-p/495196#M60911</guid>
      <dc:creator>esalesapns2</dc:creator>
      <dc:date>2019-10-10T20:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get Splunk_TA_nix to stop running lsof.sh?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-Splunk-TA-nix-to-stop-running-lsof-sh/m-p/495197#M60912</link>
      <description>&lt;P&gt;Ok, I stopped Splunk, removed the Splunk_TA_nix app, started splunk put the app back and started splunk, and I'm finally no longer getting lsof events.  However, I now need to do the same on all my deployment clients...  Good thing I was planning on working late.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:26:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-Splunk-TA-nix-to-stop-running-lsof-sh/m-p/495197#M60912</guid>
      <dc:creator>esalesapns2</dc:creator>
      <dc:date>2020-09-30T02:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get Splunk_TA_nix to stop running lsof.sh?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-Splunk-TA-nix-to-stop-running-lsof-sh/m-p/495198#M60913</link>
      <description>&lt;P&gt;I should say I restarted Splunk after I put the app back.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2019 20:58:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-Splunk-TA-nix-to-stop-running-lsof-sh/m-p/495198#M60913</guid>
      <dc:creator>esalesapns2</dc:creator>
      <dc:date>2019-10-10T20:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get Splunk_TA_nix to stop running lsof.sh?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-Splunk-TA-nix-to-stop-running-lsof-sh/m-p/495199#M60914</link>
      <description>&lt;P&gt;The &lt;CODE&gt;btool&lt;/CODE&gt; is your friend here.  You could have an &lt;CODE&gt;inputs.conf&lt;/CODE&gt; in any app that is causing things so try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/bin/splunk btool list inputs --debug | grep lsof
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 14 Oct 2019 01:22:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-Splunk-TA-nix-to-stop-running-lsof-sh/m-p/495199#M60914</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-10-14T01:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get Splunk_TA_nix to stop running lsof.sh?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-Splunk-TA-nix-to-stop-running-lsof-sh/m-p/495200#M60915</link>
      <description>&lt;P&gt;I had to remove/re-install the splunk_TA_nix app to get it to stop behaving this way.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:42:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-Splunk-TA-nix-to-stop-running-lsof-sh/m-p/495200#M60915</guid>
      <dc:creator>esalesapns2</dc:creator>
      <dc:date>2020-09-30T02:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get Splunk_TA_nix to stop running lsof.sh?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-Splunk-TA-nix-to-stop-running-lsof-sh/m-p/495201#M60916</link>
      <description>&lt;P&gt;Thank you for the insights shared, my question is; when you set the indexes for all the  &lt;CODE&gt;Splunk_TA_nix&lt;/CODE&gt; inputs in  &lt;CODE&gt;Splunk_TA_nix/local/inputs.conf&lt;/CODE&gt;, did you use the same index for all the inputs, and was the index/indexes defined in your  &lt;CODE&gt;indexes.conf&lt;/CODE&gt;? Bare with me, new to Splunk.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 15:49:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-can-I-get-Splunk-TA-nix-to-stop-running-lsof-sh/m-p/495201#M60916</guid>
      <dc:creator>corybits</dc:creator>
      <dc:date>2020-06-04T15:49:00Z</dc:date>
    </item>
  </channel>
</rss>

