<?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: What configuration settings should be changed to block logs based on source? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/What-configuration-settings-should-be-changed-to-block-logs/m-p/297731#M56353</link>
    <description>&lt;P&gt;You do this with a fully-qualified &lt;CODE&gt;monitor&lt;/CODE&gt; stanzas inside of &lt;CODE&gt;inputs.conf&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///source=/dev/logs/JMS-rhel10y3h_node_0_Performance.log]
other
settings here
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The splunk internal logs are already set to be forwarded and you don't need to do anything to make that happen.&lt;/P&gt;</description>
    <pubDate>Thu, 30 Mar 2017 03:45:08 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2017-03-30T03:45:08Z</dc:date>
    <item>
      <title>What configuration settings should be changed to block logs based on source?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-configuration-settings-should-be-changed-to-block-logs/m-p/297729#M56351</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I would like to block logs which have certain terms in their source.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source=/dev/logs/JMS-rhel10y3h_node_0_Performance.log =&amp;gt; Allow
source=/dev/logs/JMS-rhel10y3h_node_1_Performance.log =&amp;gt; Block
source=/dev/logs/JMS-rhel10y3h_node_2_Performance.log =&amp;gt; Block
source=/dev/logs/JMS-rhel10y3h_node_3_Performance.log =&amp;gt; Block
source=/dev/logs/JMS-rhel10y3h_node_4_Performance.log =&amp;gt; Block
source=/dev/logs/JMS-rhel10y3h_node_5_Performance.log =&amp;gt; Block
source=/dev/logs/JMS-rhel10y3h_node_6_Performance.log =&amp;gt; Block
source=/dev/logs/JMS-rhel10y3h_node_7_Performance.log =&amp;gt; Block
source=/dev/logs/JMS-rhel10y3h_node_8_Performance.log =&amp;gt; Block
internal logs =&amp;gt; Allow
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The rule is: &lt;BR /&gt;
allow all node_0 logs, allow all _internal logs.&lt;BR /&gt;
If an Errorlog or Access log or any other log gets added to node_0 allow that as well.&lt;/P&gt;

&lt;P&gt;I think we can do the above by modifying transforms.conf and props.conf.  What settings should I change?&lt;/P&gt;

&lt;P&gt;Please advise.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Deepak&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:25:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-configuration-settings-should-be-changed-to-block-logs/m-p/297729#M56351</guid>
      <dc:creator>deepak02</dc:creator>
      <dc:date>2020-09-29T13:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: What configuration settings should be changed to block logs based on source?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-configuration-settings-should-be-changed-to-block-logs/m-p/297730#M56352</link>
      <description>&lt;P&gt;You should be able to whitelist only the node_0 in inputs.conf. This way your forwarder won't event monitor and send data from other nodes (reducing network traffic). See this for more information&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.5.2/Data/Whitelistorblacklistspecificincomingdata"&gt;https://docs.splunk.com/Documentation/Splunk/6.5.2/Data/Whitelistorblacklistspecificincomingdata&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 20:22:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-configuration-settings-should-be-changed-to-block-logs/m-p/297730#M56352</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-03-29T20:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: What configuration settings should be changed to block logs based on source?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-configuration-settings-should-be-changed-to-block-logs/m-p/297731#M56353</link>
      <description>&lt;P&gt;You do this with a fully-qualified &lt;CODE&gt;monitor&lt;/CODE&gt; stanzas inside of &lt;CODE&gt;inputs.conf&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///source=/dev/logs/JMS-rhel10y3h_node_0_Performance.log]
other
settings here
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The splunk internal logs are already set to be forwarded and you don't need to do anything to make that happen.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2017 03:45:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-configuration-settings-should-be-changed-to-block-logs/m-p/297731#M56353</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-03-30T03:45:08Z</dc:date>
    </item>
  </channel>
</rss>

