<?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: Stop Splunk To Read files in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Stop-Splunk-To-Read-files/m-p/454898#M5987</link>
    <description>&lt;P&gt;Use btool to list out your current configuration.  for whatever platform you're on go to the command line into the $SPLUNK_HOME folder and run:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;bin/splunk btool inputs list 'monitor://C:\UCX\dotnet\UCXWinPortal\logs...\Pinnacle_AX_*.log' --debug
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That command is for linux - for windows I believe it would be bin\splunk.exe btool  ...&lt;/P&gt;

&lt;P&gt;If you don't get any results, drop the configuration stanza and just run "splunk btool inputs list --debug | more" and find your configuration.  It should tell you what Splunk sees as the combined configuration, and the configuration file source it's using for each item.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.0/Troubleshooting/Usebtooltotroubleshootconfigurations"&gt;Use btool to troubleshoot configurations&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jul 2019 16:39:09 GMT</pubDate>
    <dc:creator>wenthold</dc:creator>
    <dc:date>2019-07-02T16:39:09Z</dc:date>
    <item>
      <title>Stop Splunk To Read files</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Stop-Splunk-To-Read-files/m-p/454895#M5984</link>
      <description>&lt;P&gt;Hi , currently i need splunk to stop reading the log files from below source location , i updated disabled=true to stop splunk to read files but it still reading and added the blacklist stanza too but nothing works , splunk is still reading and indexing files , Please tell me how can i stop splunk to read the below entire source path ?&lt;/P&gt;

&lt;P&gt;[monitor://C:\UCX\dotnet\UCXWinPortal\logs...\Pinnacle_AX_*.log]&lt;BR /&gt;
disabled = true&lt;BR /&gt;
recursive = false&lt;BR /&gt;
index = xxxxx&lt;BR /&gt;
sourcetype = xxxxx&lt;BR /&gt;
blacklist = .(log)$&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:09:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Stop-Splunk-To-Read-files/m-p/454895#M5984</guid>
      <dc:creator>Prakash493</dc:creator>
      <dc:date>2020-09-30T01:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Stop Splunk To Read files</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Stop-Splunk-To-Read-files/m-p/454896#M5985</link>
      <description>&lt;P&gt;Hi @Prakash493,&lt;BR /&gt;
Try below in inputs.conf-&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://C:\UCX\dotnet\UCXWinPortal\logs...\Pinnacle_AX_*.log]
disabled = 1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also You can disable from UI&lt;BR /&gt;
go to the Web UI -&amp;gt; Settings - Data Inputs -&amp;gt; Files and Directories -&amp;gt; Disable particular input&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 16:29:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Stop-Splunk-To-Read-files/m-p/454896#M5985</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2019-07-02T16:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Stop Splunk To Read files</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Stop-Splunk-To-Read-files/m-p/454897#M5986</link>
      <description>&lt;P&gt;tried with it , didnt worked , i am in indexer cluster and search head cluster environment , where i can disable through deployment server ?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 16:33:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Stop-Splunk-To-Read-files/m-p/454897#M5986</guid>
      <dc:creator>Prakash493</dc:creator>
      <dc:date>2019-07-02T16:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Stop Splunk To Read files</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Stop-Splunk-To-Read-files/m-p/454898#M5987</link>
      <description>&lt;P&gt;Use btool to list out your current configuration.  for whatever platform you're on go to the command line into the $SPLUNK_HOME folder and run:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;bin/splunk btool inputs list 'monitor://C:\UCX\dotnet\UCXWinPortal\logs...\Pinnacle_AX_*.log' --debug
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That command is for linux - for windows I believe it would be bin\splunk.exe btool  ...&lt;/P&gt;

&lt;P&gt;If you don't get any results, drop the configuration stanza and just run "splunk btool inputs list --debug | more" and find your configuration.  It should tell you what Splunk sees as the combined configuration, and the configuration file source it's using for each item.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.0/Troubleshooting/Usebtooltotroubleshootconfigurations"&gt;Use btool to troubleshoot configurations&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 16:39:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Stop-Splunk-To-Read-files/m-p/454898#M5987</guid>
      <dc:creator>wenthold</dc:creator>
      <dc:date>2019-07-02T16:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: Stop Splunk To Read files</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Stop-Splunk-To-Read-files/m-p/454899#M5988</link>
      <description>&lt;P&gt;it worked now actually i made a mistake on my blacklist regex syntax: i added blacklist = /.(log)$   , and it worked , Thanks &lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 17:35:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Stop-Splunk-To-Read-files/m-p/454899#M5988</guid>
      <dc:creator>Prakash493</dc:creator>
      <dc:date>2019-07-02T17:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Stop Splunk To Read files</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Stop-Splunk-To-Read-files/m-p/454900#M5989</link>
      <description>&lt;P&gt;Where are your stanza is written? is it indexer or heavy forwarder or universal forwarder?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 17:36:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Stop-Splunk-To-Read-files/m-p/454900#M5989</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2019-07-02T17:36:06Z</dc:date>
    </item>
  </channel>
</rss>

