<?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 configure IP range in inputs.conf on heavy forwarder in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-IP-range-in-inputs-conf-on-heavy-forwarder/m-p/411988#M72940</link>
    <description>&lt;P&gt;Do you recieve any messages in the web console?&lt;/P&gt;</description>
    <pubDate>Tue, 06 Nov 2018 10:53:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-11-06T10:53:48Z</dc:date>
    <item>
      <title>How to configure IP range in inputs.conf on heavy forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-IP-range-in-inputs-conf-on-heavy-forwarder/m-p/411985#M72937</link>
      <description>&lt;P&gt;I have logs coming to a heavy forwarder being stored under directories based on IPs (i.e. " /var/log/remote/192.168.1.6"&lt;/P&gt;

&lt;P&gt;How do I use inputs.conf to capture a range of IPs while setting the index and sourcetype? This doesn't work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///var/log/remote/192.168.1.*/*.log]
 host_segment=4
 sourcetype=bar
 index=foo
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Oct 2018 11:54:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-IP-range-in-inputs-conf-on-heavy-forwarder/m-p/411985#M72937</guid>
      <dc:creator>nzarzyckivs</dc:creator>
      <dc:date>2018-10-09T11:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure IP range in inputs.conf on heavy forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-IP-range-in-inputs-conf-on-heavy-forwarder/m-p/411986#M72938</link>
      <description>&lt;P&gt;To elaborate further, what I'm trying to do is tag all directories with IP names with the same index and sourcetype before being forwarded to my indexers.  So:&lt;/P&gt;

&lt;P&gt;/var/log/remote/192.168.1.&lt;EM&gt;/&lt;/EM&gt;.log&lt;/P&gt;

&lt;P&gt;The below did not work:&lt;/P&gt;

&lt;P&gt;[monitor:///var/log/remote/192.168.1*./*.log]&lt;BR /&gt;
host_segment=4&lt;BR /&gt;
sourcetype=bar&lt;BR /&gt;
index=foo&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:31:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-IP-range-in-inputs-conf-on-heavy-forwarder/m-p/411986#M72938</guid>
      <dc:creator>nzarzyckivs</dc:creator>
      <dc:date>2020-09-29T21:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure IP range in inputs.conf on heavy forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-IP-range-in-inputs-conf-on-heavy-forwarder/m-p/411987#M72939</link>
      <description>&lt;P&gt;Do you get any error messages in the console`?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Nov 2018 10:53:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-IP-range-in-inputs-conf-on-heavy-forwarder/m-p/411987#M72939</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-06T10:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure IP range in inputs.conf on heavy forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-IP-range-in-inputs-conf-on-heavy-forwarder/m-p/411988#M72940</link>
      <description>&lt;P&gt;Do you recieve any messages in the web console?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Nov 2018 10:53:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-IP-range-in-inputs-conf-on-heavy-forwarder/m-p/411988#M72940</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-06T10:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure IP range in inputs.conf on heavy forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-IP-range-in-inputs-conf-on-heavy-forwarder/m-p/411989#M72941</link>
      <description>&lt;P&gt;What you want is probably something like this. You want to do a recursive monitor. To be able to do this, you'll need a whitelist for it. I can't test it right now because I don't have any hosts stored as ip address file names. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///var/log/remote/.../*.log]
host_segment=4
sourcetype=bar
index=foo
whitelist = your ip address regex
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Put in your IP address regex here, for example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;whitelist = (\/var\/log\/remote\/192\.168\.1.)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Depending on which IP addresses you want to monitor.&lt;/P&gt;

&lt;P&gt;Skalli&lt;/P&gt;</description>
      <pubDate>Tue, 06 Nov 2018 11:30:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-IP-range-in-inputs-conf-on-heavy-forwarder/m-p/411989#M72941</guid>
      <dc:creator>skalliger</dc:creator>
      <dc:date>2018-11-06T11:30:51Z</dc:date>
    </item>
  </channel>
</rss>

