<?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: processing only certain hosts from a file in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/processing-only-certain-hosts-from-a-file/m-p/106127#M22334</link>
    <description>&lt;P&gt;Is the [source] stanza actually inputs.conf or did you put it in props.conf?&lt;/P&gt;</description>
    <pubDate>Thu, 31 Jan 2013 13:59:32 GMT</pubDate>
    <dc:creator>okrabbe_splunk</dc:creator>
    <dc:date>2013-01-31T13:59:32Z</dc:date>
    <item>
      <title>processing only certain hosts from a file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/processing-only-certain-hosts-from-a-file/m-p/106123#M22330</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a logfile with a bunch of hosts, but I only want to index certain hosts and throw the rest away. How would I do this?&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2013 11:09:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/processing-only-certain-hosts-from-a-file/m-p/106123#M22330</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2013-01-31T11:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: processing only certain hosts from a file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/processing-only-certain-hosts-from-a-file/m-p/106124#M22331</link>
      <description>&lt;P&gt;Create a regex that matches the hosts you want to index data from and send the rest of the events to the nullQueue. &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.1/Deploy/Routeandfilterdatad#Keep_specific_events_and_discard_the_rest"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.1/Deploy/Routeandfilterdatad#Keep_specific_events_and_discard_the_rest&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2013 11:15:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/processing-only-certain-hosts-from-a-file/m-p/106124#M22331</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-01-31T11:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: processing only certain hosts from a file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/processing-only-certain-hosts-from-a-file/m-p/106125#M22332</link>
      <description>&lt;P&gt;Exactly what I'm looking for! Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2013 11:27:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/processing-only-certain-hosts-from-a-file/m-p/106125#M22332</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2013-01-31T11:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: processing only certain hosts from a file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/processing-only-certain-hosts-from-a-file/m-p/106126#M22333</link>
      <description>&lt;P&gt;I tried following the doc, and I keep getting a possible typo error.  I can't find the problem. &lt;/P&gt;

&lt;P&gt;inputs.conf:&lt;/P&gt;

&lt;P&gt;[monitor:///usr/local/nsmutils/varlog/ncosyslog.log]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
followTail = 0&lt;BR /&gt;
index= throwaway&lt;BR /&gt;
sourcetype = euc_syslogdata&lt;/P&gt;

&lt;P&gt;[source::/usr/local/nsmutils/varlog/ncosyslog.log]&lt;BR /&gt;
TRANSFORMS-set=setnull,setparsing&lt;/P&gt;

&lt;P&gt;transforms.conf:&lt;BR /&gt;
[setnull]&lt;BR /&gt;
REGEX = .&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;[setparsing]&lt;BR /&gt;
REGEX = [vc-]&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = indexQueue&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2013 13:14:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/processing-only-certain-hosts-from-a-file/m-p/106126#M22333</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2013-01-31T13:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: processing only certain hosts from a file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/processing-only-certain-hosts-from-a-file/m-p/106127#M22334</link>
      <description>&lt;P&gt;Is the [source] stanza actually inputs.conf or did you put it in props.conf?&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2013 13:59:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/processing-only-certain-hosts-from-a-file/m-p/106127#M22334</guid>
      <dc:creator>okrabbe_splunk</dc:creator>
      <dc:date>2013-01-31T13:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: processing only certain hosts from a file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/processing-only-certain-hosts-from-a-file/m-p/106128#M22335</link>
      <description>&lt;P&gt;Never mind - brain fart! All set.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2013 14:03:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/processing-only-certain-hosts-from-a-file/m-p/106128#M22335</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2013-01-31T14:03:33Z</dc:date>
    </item>
  </channel>
</rss>

