<?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 Configure Splunk to ignore logs from some VMs on the same physical host in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Configure-Splunk-to-ignore-logs-from-some-VMs-on-the-same/m-p/304005#M19490</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a setup (shown in pics) in which a bunch of forwarders are sending data to Splunk. One of the forwarders has many VMs on a single physical machine.&lt;/P&gt;

&lt;P&gt;I would like to receive data only from vm2, and not ingest logs from vm1,3 and 4. I also want to send _internal logs from this VM to the indexer.&lt;/P&gt;

&lt;P&gt;I do not want to touch any of the other forwarder-indexer connections.&lt;/P&gt;

&lt;P&gt;I would preferably do it on the forwarder instead of the indexer, because the indexer is already receiving logs from other forwarders.&lt;/P&gt;

&lt;P&gt;Please guide me, what settings should I change.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Namritha&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2710i6FB211FE30A9F9EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Mar 2017 05:17:22 GMT</pubDate>
    <dc:creator>namrithadeepak</dc:creator>
    <dc:date>2017-03-29T05:17:22Z</dc:date>
    <item>
      <title>Configure Splunk to ignore logs from some VMs on the same physical host</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Configure-Splunk-to-ignore-logs-from-some-VMs-on-the-same/m-p/304005#M19490</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a setup (shown in pics) in which a bunch of forwarders are sending data to Splunk. One of the forwarders has many VMs on a single physical machine.&lt;/P&gt;

&lt;P&gt;I would like to receive data only from vm2, and not ingest logs from vm1,3 and 4. I also want to send _internal logs from this VM to the indexer.&lt;/P&gt;

&lt;P&gt;I do not want to touch any of the other forwarder-indexer connections.&lt;/P&gt;

&lt;P&gt;I would preferably do it on the forwarder instead of the indexer, because the indexer is already receiving logs from other forwarders.&lt;/P&gt;

&lt;P&gt;Please guide me, what settings should I change.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Namritha&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2710i6FB211FE30A9F9EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 05:17:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Configure-Splunk-to-ignore-logs-from-some-VMs-on-the-same/m-p/304005#M19490</guid>
      <dc:creator>namrithadeepak</dc:creator>
      <dc:date>2017-03-29T05:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Splunk to ignore logs from some VMs on the same physical host</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Configure-Splunk-to-ignore-logs-from-some-VMs-on-the-same/m-p/304006#M19491</link>
      <description>&lt;P&gt;Could you post your inputs.conf of this forwarder?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 07:47:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Configure-Splunk-to-ignore-logs-from-some-VMs-on-the-same/m-p/304006#M19491</guid>
      <dc:creator>gfreitas</dc:creator>
      <dc:date>2017-03-29T07:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Splunk to ignore logs from some VMs on the same physical host</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Configure-Splunk-to-ignore-logs-from-some-VMs-on-the-same/m-p/304007#M19492</link>
      <description>&lt;P&gt;I would recommend reviewing the &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.2/Forwarding/Routeandfilterdatad"&gt;Route and Filter Data&lt;/A&gt; document, specifically you could route the unwanted data to the nullqueue which is discussed in that same document further down the page, &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.2/Forwarding/Routeandfilterdatad#Filter_event_data_and_send_to_queues"&gt;HERE&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 13:09:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Configure-Splunk-to-ignore-logs-from-some-VMs-on-the-same/m-p/304007#M19492</guid>
      <dc:creator>jcrabb_splunk</dc:creator>
      <dc:date>2017-03-29T13:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Splunk to ignore logs from some VMs on the same physical host</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Configure-Splunk-to-ignore-logs-from-some-VMs-on-the-same/m-p/304008#M19493</link>
      <description>&lt;P&gt;Hi Namritha&lt;BR /&gt;
You can configure your inuputs.conf on this particular forwarder to monitor data from VM2 only.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 15:38:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Configure-Splunk-to-ignore-logs-from-some-VMs-on-the-same/m-p/304008#M19493</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-03-29T15:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Splunk to ignore logs from some VMs on the same physical host</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Configure-Splunk-to-ignore-logs-from-some-VMs-on-the-same/m-p/304009#M19494</link>
      <description>&lt;P&gt;Thankyou.&lt;/P&gt;

&lt;P&gt;I would like to route events to null queue based on the source, since the source has the vm name in its format.&lt;/P&gt;

&lt;P&gt;source=/directory to log/hostName-vmName-TypeofLog.log&lt;/P&gt;

&lt;P&gt;How do I do the null queue routing based on the source name?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 16:36:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Configure-Splunk-to-ignore-logs-from-some-VMs-on-the-same/m-p/304009#M19494</guid>
      <dc:creator>namrithadeepak</dc:creator>
      <dc:date>2017-03-29T16:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Splunk to ignore logs from some VMs on the same physical host</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Configure-Splunk-to-ignore-logs-from-some-VMs-on-the-same/m-p/304010#M19495</link>
      <description>&lt;P&gt;why would you like to use null queue? &lt;BR /&gt;
if this is the path to the file you can just specify the [monitor] stanza in inputs.conf&lt;BR /&gt;
something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://directory_to_log/hostName-vm2-TypeofLog.log]
sourcetype = sourcetype
index = index
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;this will save you from monitoring all teh logs on the forwarder and filtering on the indexer...&lt;BR /&gt;
hope this makes sense&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 16:54:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Configure-Splunk-to-ignore-logs-from-some-VMs-on-the-same/m-p/304010#M19495</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-03-29T16:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Splunk to ignore logs from some VMs on the same physical host</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Configure-Splunk-to-ignore-logs-from-some-VMs-on-the-same/m-p/304011#M19496</link>
      <description>&lt;P&gt;Thankyou.&lt;/P&gt;

&lt;P&gt;My requirement is specifically allows all logs except those having vm1, vm3 and vm4 in their source. &lt;BR /&gt;
So, if source is hostname_vm1_logname, host_vm3_logname, hostname_vm4_logname, block them.&lt;/P&gt;

&lt;P&gt;Allow all other logs to flow through.&lt;/P&gt;

&lt;P&gt;All internal logs, and any other logs that may get added on vm2 also needs to be allowed. &lt;/P&gt;

&lt;P&gt;Its more a problem BLOCK a few logs and ALLOW everything else.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:25:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Configure-Splunk-to-ignore-logs-from-some-VMs-on-the-same/m-p/304011#M19496</guid>
      <dc:creator>namrithadeepak</dc:creator>
      <dc:date>2020-09-29T13:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Splunk to ignore logs from some VMs on the same physical host</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Configure-Splunk-to-ignore-logs-from-some-VMs-on-the-same/m-p/304012#M19497</link>
      <description>&lt;P&gt;I would agree its better to not ingest the files if that is an option.  If that is not an option, you can use source as outlined in the link I posted previously (&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.2/Forwarding/Routeandfilterdatad#Filter_event_data_and_send_to_queues"&gt;HERE&lt;/A&gt;), it provides an example for source:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::/var/log/messages]
TRANSFORMS-null= setnull
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 30 Mar 2017 12:50:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Configure-Splunk-to-ignore-logs-from-some-VMs-on-the-same/m-p/304012#M19497</guid>
      <dc:creator>jcrabb_splunk</dc:creator>
      <dc:date>2017-03-30T12:50:20Z</dc:date>
    </item>
  </channel>
</rss>

