<?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 How do I configure Universal Forwarder to not send INFO Metrics over TCP? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-Universal-Forwarder-to-not-send-INFO-Metrics/m-p/214997#M42319</link>
    <description>&lt;P&gt;My ouputs conf looks like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
defaultgroup = logstash
disabled = false

forwardedindex.0.whitelist = .*
forwardedindex.1.blacklist = _.*
forwardedindex.2.blacklist = (_audit|_internal|_introspection)

[tcpout:logstash]
server=localhost:7777
sendCookedData = false
useACK = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;As well as my actual events, I'm seeing loads of messages being emitted like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; INFO  Metrics - group=thruput, name=uncooked_output, instantaneous_kbps=0.176377, instantaneous_eps=0.096773, average_kbps=0.355449, total_k_processed=44.000000, kb=5.467773, ev=3.000000
 INFO  Metrics - group=thruput, name=thruput, instantaneous_kbps=0.176377, instantaneous_eps=0.096773, average_kbps=0.371606, total_k_processed=46.000000, kb=5.467773, ev=3.000000, load_average=0.030000
 INFO  Metrics - group=thruput, name=cooked_output, instantaneous_kbps=0.000000, instantaneous_eps=0.000000, average_kbps=0.000000, total_k_processed=0.000000, kb=0.000000, ev=0.000000
 INFO  Metrics - group=tcpout_connections, name=logstash:127.0.0.1:7777:0, sourcePort=8090, destIp=127.0.0.1, destPort=7777, _tcp_Bps=186.73, _tcp_KBps=0.18, _tcp_avg_thruput=0.39, _tcp_Kprocessed=46, _tcp_eps=0.10, kb=5.47
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How can I eliminate these from the forwarder output?&lt;/P&gt;</description>
    <pubDate>Fri, 06 Nov 2015 11:12:57 GMT</pubDate>
    <dc:creator>markdixon</dc:creator>
    <dc:date>2015-11-06T11:12:57Z</dc:date>
    <item>
      <title>How do I configure Universal Forwarder to not send INFO Metrics over TCP?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-Universal-Forwarder-to-not-send-INFO-Metrics/m-p/214997#M42319</link>
      <description>&lt;P&gt;My ouputs conf looks like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
defaultgroup = logstash
disabled = false

forwardedindex.0.whitelist = .*
forwardedindex.1.blacklist = _.*
forwardedindex.2.blacklist = (_audit|_internal|_introspection)

[tcpout:logstash]
server=localhost:7777
sendCookedData = false
useACK = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;As well as my actual events, I'm seeing loads of messages being emitted like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; INFO  Metrics - group=thruput, name=uncooked_output, instantaneous_kbps=0.176377, instantaneous_eps=0.096773, average_kbps=0.355449, total_k_processed=44.000000, kb=5.467773, ev=3.000000
 INFO  Metrics - group=thruput, name=thruput, instantaneous_kbps=0.176377, instantaneous_eps=0.096773, average_kbps=0.371606, total_k_processed=46.000000, kb=5.467773, ev=3.000000, load_average=0.030000
 INFO  Metrics - group=thruput, name=cooked_output, instantaneous_kbps=0.000000, instantaneous_eps=0.000000, average_kbps=0.000000, total_k_processed=0.000000, kb=0.000000, ev=0.000000
 INFO  Metrics - group=tcpout_connections, name=logstash:127.0.0.1:7777:0, sourcePort=8090, destIp=127.0.0.1, destPort=7777, _tcp_Bps=186.73, _tcp_KBps=0.18, _tcp_avg_thruput=0.39, _tcp_Kprocessed=46, _tcp_eps=0.10, kb=5.47
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How can I eliminate these from the forwarder output?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2015 11:12:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-Universal-Forwarder-to-not-send-INFO-Metrics/m-p/214997#M42319</guid>
      <dc:creator>markdixon</dc:creator>
      <dc:date>2015-11-06T11:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do I configure Universal Forwarder to not send INFO Metrics over TCP?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-Universal-Forwarder-to-not-send-INFO-Metrics/m-p/214998#M42320</link>
      <description>&lt;P&gt;Splunk automatically forwards its internal logs. The &lt;CODE&gt;inputs.conf&lt;/CODE&gt; settings can be disabled to stop this. The settings may be found in several places, but usually they are set in &lt;CODE&gt;$SPLUNK_HOMEetc/apps/SplunkUniversalForwarder/default/inputs.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Since you shouldn't edit anything in a default directory, create a local directory and create an &lt;CODE&gt;inputs.conf&lt;/CODE&gt; that contains&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://$SPLUNK_HOME/var/log/splunk/splunkd.log]
disabled = true

[monitor://$SPLUNK_HOME/var/log/splunk/metrics.log]
disabled = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Do the same for &lt;CODE&gt;$SPLUNK_HOME/etc/system/local/inputs.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://$SPLUNK_HOME/var/log/splunk]
disabled=true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If the problem continues, or you see other files in the tcp output stream, check all the inputs.conf files on your system. There may be a few other default inputs that you need to disable.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2015 07:18:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-Universal-Forwarder-to-not-send-INFO-Metrics/m-p/214998#M42320</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2015-11-09T07:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do I configure Universal Forwarder to not send INFO Metrics over TCP?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-Universal-Forwarder-to-not-send-INFO-Metrics/m-p/214999#M42321</link>
      <description>&lt;P&gt;Hi there,&lt;BR /&gt;
I know this is old and all, but is it still valid on version 7.0.1?&lt;BR /&gt;
Adding the file:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/etc/apps/SplunkUniversalForwarder/local/inputs.conf
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;With content:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://$SPLUNK_HOME/var/log/splunk/metrics.log]
#_TCP_ROUTING = *
#index = _internal
disabled = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Doesn't disable the metrics input.&lt;BR /&gt;
(Trying to disable it since splunk-optimize goes crazy when trying to run on _internal index and ends up crashing the server out of memory).&lt;/P&gt;</description>
      <pubDate>Sun, 04 Feb 2018 14:29:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-Universal-Forwarder-to-not-send-INFO-Metrics/m-p/214999#M42321</guid>
      <dc:creator>alexsayegh</dc:creator>
      <dc:date>2018-02-04T14:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I configure Universal Forwarder to not send INFO Metrics over TCP?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-Universal-Forwarder-to-not-send-INFO-Metrics/m-p/215000#M42322</link>
      <description>&lt;P&gt;Editing the default/inputs.conf also doesn't&lt;/P&gt;</description>
      <pubDate>Sun, 04 Feb 2018 14:30:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-Universal-Forwarder-to-not-send-INFO-Metrics/m-p/215000#M42322</guid>
      <dc:creator>alexsayegh</dc:creator>
      <dc:date>2018-02-04T14:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I configure Universal Forwarder to not send INFO Metrics over TCP?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-Universal-Forwarder-to-not-send-INFO-Metrics/m-p/215001#M42323</link>
      <description>&lt;P&gt;Never edit the files in the default directories. Even if it works, your changes will be overwritten when you update Splunk. The files in the corresponding local directories always override the default directories.&lt;/P&gt;

&lt;P&gt;This should still work in Splunk 7, but you are in the wrong directory. Do the same thing, but put it in &lt;CODE&gt;$SPLUNK_HOME/etc/system/local&lt;/CODE&gt; (which is probably &lt;CODE&gt;/opt/splunkforwarder/etc/system/local&lt;/CODE&gt; on a Linux box).&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 19:39:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-Universal-Forwarder-to-not-send-INFO-Metrics/m-p/215001#M42323</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2018-02-05T19:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I configure Universal Forwarder to not send INFO Metrics over TCP?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-Universal-Forwarder-to-not-send-INFO-Metrics/m-p/215002#M42324</link>
      <description>&lt;P&gt;New answer: what if you want to send some information to Splunk, but not everything?&lt;BR /&gt;
Maybe you don't want the metrics, but you would like the errors, etc. from the splunkd.log&lt;/P&gt;

&lt;P&gt;In &lt;CODE&gt;$SPLUNK/HOME/etc/system/local/inputs.conf&lt;/CODE&gt;, only disable the metrics log&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [monitor://$SPLUNK_HOME/var/log/splunk/metrics.log]
 disabled = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can set the "log levels" on the forwarder by copying &lt;CODE&gt;$SPLUNK_HOME/etc/log.cfg&lt;/CODE&gt; to &lt;CODE&gt;$SPLUNK_HOME/etc/log-local.cfg&lt;/CODE&gt;&lt;BR /&gt;
Edit &lt;CODE&gt;$SPLUNK_HOME/etc/log-local.cfg&lt;/CODE&gt; to customize the logging, but remember that these logs are a primary source for Splunk Monitoring Console. These edits will mostly affect the splunkd.log&lt;BR /&gt;
There are &lt;EM&gt;many&lt;/EM&gt; log channels, and you don't need to reset all of them. Just change "INFO" to "WARN" on any categories where you want to reduce the messages. You can delete any lines that you want to leave at INFO level. The following channels should always be left at INFO level:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;category.TailingProcessor=INFO
category.loader=INFO
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 05 Feb 2018 20:04:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-Universal-Forwarder-to-not-send-INFO-Metrics/m-p/215002#M42324</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2018-02-05T20:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I configure Universal Forwarder to not send INFO Metrics over TCP?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-Universal-Forwarder-to-not-send-INFO-Metrics/m-p/215003#M42325</link>
      <description>&lt;P&gt;Thanks Iguinn, I know about the default directory, and I'll definitely try the log levels.&lt;BR /&gt;
I migrated the whole indexer to a new Cloud instance, so there is no longer an issue with the tsids...but i'll test it out anyway.&lt;BR /&gt;
Appreciate it&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 08:29:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-Universal-Forwarder-to-not-send-INFO-Metrics/m-p/215003#M42325</guid>
      <dc:creator>alexsayegh</dc:creator>
      <dc:date>2018-02-06T08:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I configure Universal Forwarder to not send INFO Metrics over TCP?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-Universal-Forwarder-to-not-send-INFO-Metrics/m-p/562403#M100179</link>
      <description>&lt;P&gt;[monitor://$SPLUNK_HOME/var/log/splunk]&lt;BR /&gt;blacklist = metrics\.log&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 11:23:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-Universal-Forwarder-to-not-send-INFO-Metrics/m-p/562403#M100179</guid>
      <dc:creator>law</dc:creator>
      <dc:date>2021-08-06T11:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I configure Universal Forwarder to not send INFO Metrics over TCP?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-Universal-Forwarder-to-not-send-INFO-Metrics/m-p/704972#M116603</link>
      <description>&lt;P&gt;&lt;SPAN&gt;[monitor://$SPLUNK_HOME/var/log/splunk]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;blacklist = metrics\.log$&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;metrics\.log$&lt;/EM&gt; is the correct regex assigned to the blacklist variable. It is possible the one provided won't work, or at least, it didn't work for me.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 17:16:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-configure-Universal-Forwarder-to-not-send-INFO-Metrics/m-p/704972#M116603</guid>
      <dc:creator>dems2234</dc:creator>
      <dc:date>2024-11-21T17:16:14Z</dc:date>
    </item>
  </channel>
</rss>

