<?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 to Stop logging certain type of logs in Splunk in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484122#M82941</link>
    <description>&lt;P&gt;Because I see in the documentation and Saw this "Add the following line to your monitor stanza in the /&lt;STRONG&gt;local/inputs.conf&lt;/STRONG&gt; file for the app context that you defined the input in.&lt;BR /&gt;
&lt;STRONG&gt;blacklist = "&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I am not sure if this it has to be done in the inputs.conf of the SplunkUniversalForwarder, and try to to a regular expression that excludes this one "itoken-cl-app.log" for example.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Apr 2020 17:24:19 GMT</pubDate>
    <dc:creator>dnavia29</dc:creator>
    <dc:date>2020-04-28T17:24:19Z</dc:date>
    <item>
      <title>How to Stop logging certain type of logs in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484120#M82939</link>
      <description>&lt;P&gt;Hello, I am facing problems of disk usage in Splunk and I've been asked to stop logging certain kinds of logs. I have read about Blacklists and Whitelists in order to ignore files but I am not able to manage that. All my logs are in /opt/config/logs/splunk and the log I'd like to stop logging has a type "itoken-app.log". I checked in the splunkforwarder to see if these logs as well were there but they don't appear in that route. Please help in giving me any idea to stop the itoken logs to be in my logs in splunk.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 16:44:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484120#M82939</guid>
      <dc:creator>dnavia29</dc:creator>
      <dc:date>2020-04-28T16:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to Stop logging certain type of logs in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484121#M82940</link>
      <description>&lt;P&gt;Blacklists are the usual way to do that.  Why can you not use them?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 17:06:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484121#M82940</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-04-28T17:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to Stop logging certain type of logs in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484122#M82941</link>
      <description>&lt;P&gt;Because I see in the documentation and Saw this "Add the following line to your monitor stanza in the /&lt;STRONG&gt;local/inputs.conf&lt;/STRONG&gt; file for the app context that you defined the input in.&lt;BR /&gt;
&lt;STRONG&gt;blacklist = "&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I am not sure if this it has to be done in the inputs.conf of the SplunkUniversalForwarder, and try to to a regular expression that excludes this one "itoken-cl-app.log" for example.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 17:24:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484122#M82941</guid>
      <dc:creator>dnavia29</dc:creator>
      <dc:date>2020-04-28T17:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to Stop logging certain type of logs in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484123#M82942</link>
      <description>&lt;P&gt;Yes, blacklist goes in the inputs.conf file on the UF.  I don't understand how that prevents you from specifying a blacklist.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 18:14:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484123#M82942</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-04-28T18:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to Stop logging certain type of logs in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484124#M82943</link>
      <description>&lt;P&gt;You can simply add this entry to your monitor stanza in /opt/splunkforwarder/etc/system/local/inputs.conf&lt;/P&gt;

&lt;P&gt;e.g.&lt;/P&gt;

&lt;P&gt;[monitor:///opt/config/logs/splunk]&lt;BR /&gt;
  blacklist = itoken-app.log&lt;/P&gt;

&lt;P&gt;You will need to restart the UF for the change to take effect.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 18:18:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484124#M82943</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2020-04-28T18:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to Stop logging certain type of logs in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484125#M82944</link>
      <description>&lt;P&gt;We shouldn't make changes to etc/system/local on a UF.  It prevents the deployment server from overriding those changes later.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 19:12:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484125#M82944</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-04-28T19:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to Stop logging certain type of logs in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484126#M82945</link>
      <description>&lt;P&gt;@richgalloway that is a very valid point. I was just trying to provide a quick example, but you are definitely correct.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 19:59:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484126#M82945</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2020-04-28T19:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to Stop logging certain type of logs in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484127#M82946</link>
      <description>&lt;P&gt;Yes that's right, the inputs.conf I found it "/opt/splunkforwarder/etc/search/local" so that way prevents what you just said... Thank you, I think that might work.. I need to wait now to see if it's not logging anymore&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 20:24:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484127#M82946</guid>
      <dc:creator>dnavia29</dc:creator>
      <dc:date>2020-04-28T20:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to Stop logging certain type of logs in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484128#M82947</link>
      <description>&lt;P&gt;I tried it putting the complete name in the blacklist like you suggested and then restart the UF but it didn't work.. Should I use regex instead? since all the logs have the format at the end "app.log"&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 20:51:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484128#M82947</guid>
      <dc:creator>dnavia29</dc:creator>
      <dc:date>2020-04-28T20:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to Stop logging certain type of logs in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484129#M82948</link>
      <description>&lt;P&gt;Yes, you may need to wildcard the log file name for blacklist'ing...&lt;/P&gt;

&lt;P&gt;Try this:&lt;BR /&gt;
blacklist = .-app.log$&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 21:16:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484129#M82948</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2020-04-28T21:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to Stop logging certain type of logs in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484130#M82949</link>
      <description>&lt;P&gt;With the caveat that, as @richgalloway mentioned, if you are using a deployment server, this is not necessarily ideal. If you are not using one, this should get you by.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 21:20:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484130#M82949</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2020-04-28T21:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to Stop logging certain type of logs in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484131#M82950</link>
      <description>&lt;P&gt;No no, I meant the rest of the logs... for example, "security-app.log, transfers-superapp-cl-app.log, home-mobile-latam-app.log, cards-app.log, itoken-cl-app.log" and from that list I'd like to exclude the "itoken-cl-app.log", so should I use wildcard like "blacklist = &lt;EM&gt;itoken&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 21:22:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484131#M82950</guid>
      <dc:creator>dnavia29</dc:creator>
      <dc:date>2020-04-28T21:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to Stop logging certain type of logs in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484132#M82951</link>
      <description>&lt;P&gt;No I am not using a deployment server, I am trying this one in QA first&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 21:25:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484132#M82951</guid>
      <dc:creator>dnavia29</dc:creator>
      <dc:date>2020-04-28T21:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to Stop logging certain type of logs in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484133#M82952</link>
      <description>&lt;P&gt;Ugh, Splunk forum page keeps stripping out slashes in my replies.&lt;BR /&gt;
The syntax should be blacklist = (backslash).-app.log$'&lt;/P&gt;

&lt;P&gt;Replace (backslash with "\")&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 21:27:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484133#M82952</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2020-04-28T21:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to Stop logging certain type of logs in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484134#M82953</link>
      <description>&lt;P&gt;I think I put it in the wrong way, what I meant was I have other logs with this format "app.log" for example "payments-app.log, transfers-app.log, security-app.log, transfers-cl-app.log, itoken-cl-app.log"... From all the logs with the same format, I only need to exclude "itoken-cl-app.log" so I cannot use wildcard at the end with the format because is going to exclude all the logs.. so Should I use wildcard like "blacklist = &lt;EM&gt;itoken&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 21:35:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484134#M82953</guid>
      <dc:creator>dnavia29</dc:creator>
      <dc:date>2020-04-28T21:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to Stop logging certain type of logs in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484135#M82954</link>
      <description>&lt;P&gt;Ah, ok...just blacklist (backslash).itoken.$ then and you should be good.&lt;/P&gt;

&lt;P&gt;Again, weird quirk with replies here but replace (backslash) the actual backslash character.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 21:35:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484135#M82954</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2020-04-28T21:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to Stop logging certain type of logs in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484136#M82955</link>
      <description>&lt;P&gt;(* )itoken(*)&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 21:36:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484136#M82955</guid>
      <dc:creator>dnavia29</dc:creator>
      <dc:date>2020-04-28T21:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to Stop logging certain type of logs in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484137#M82956</link>
      <description>&lt;P&gt;It worked putting (|) with the name of the two logs that I needed to block, thanks for your help @codebuilder &lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 19:26:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484137#M82956</guid>
      <dc:creator>dnavia29</dc:creator>
      <dc:date>2020-04-29T19:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to Stop logging certain type of logs in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484138#M82957</link>
      <description>&lt;P&gt;Good deal, glad it's working for you and happy to help!&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 20:01:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484138#M82957</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2020-04-29T20:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to Stop logging certain type of logs in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484139#M82958</link>
      <description>&lt;P&gt;Thank you, I have another question regarding this issue.. If I want to exclude certain type of logs, the ones with the word "itoken" in it, but not all the logs that are in a file?.. Example:&lt;/P&gt;

&lt;P&gt;I have files called "admin-app.log" and "admin-api.log", inside this files there are logs of "itoken", I want to exclude only the logs that contains "itoken" but not the other logs inside those files, any idea about how can I approach this? thanks&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 20:41:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Stop-logging-certain-type-of-logs-in-Splunk/m-p/484139#M82958</guid>
      <dc:creator>dnavia29</dc:creator>
      <dc:date>2020-04-29T20:41:40Z</dc:date>
    </item>
  </channel>
</rss>

