<?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 to differ input files in universal forwarder in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-differ-input-files-in-universal-forwarder/m-p/336845#M12598</link>
    <description>&lt;P&gt;I'm using the universal forwarder, assume i have following log files:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;bar-20170728.log&lt;BR /&gt;
and &lt;/P&gt;

&lt;P&gt;bar-20170728-foo.log&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;How would i setup inputs.conf to differ between the above logs.&lt;BR /&gt;
Thats because i want to give them a different index and sourcetype.&lt;/P&gt;

&lt;P&gt;Thx&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jul 2017 14:55:14 GMT</pubDate>
    <dc:creator>mkrauss1</dc:creator>
    <dc:date>2017-07-28T14:55:14Z</dc:date>
    <item>
      <title>How to differ input files in universal forwarder</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-differ-input-files-in-universal-forwarder/m-p/336845#M12598</link>
      <description>&lt;P&gt;I'm using the universal forwarder, assume i have following log files:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;bar-20170728.log&lt;BR /&gt;
and &lt;/P&gt;

&lt;P&gt;bar-20170728-foo.log&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;How would i setup inputs.conf to differ between the above logs.&lt;BR /&gt;
Thats because i want to give them a different index and sourcetype.&lt;/P&gt;

&lt;P&gt;Thx&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 14:55:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-differ-input-files-in-universal-forwarder/m-p/336845#M12598</guid>
      <dc:creator>mkrauss1</dc:creator>
      <dc:date>2017-07-28T14:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to differ input files in universal forwarder</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-differ-input-files-in-universal-forwarder/m-p/336846#M12599</link>
      <description>&lt;P&gt;[monitor:///path/bar-*.log]&lt;BR /&gt;
disabled=false&lt;BR /&gt;
index=a&lt;BR /&gt;
sourcetype=a&lt;BR /&gt;
whitelist=bar\-\d+\.log$&lt;/P&gt;

&lt;P&gt;[monitor:///path/bar-*.log]&lt;BR /&gt;
disabled=false&lt;BR /&gt;
index=b&lt;BR /&gt;
sourcetype=b&lt;BR /&gt;
whitelist=bar\-\d+\-foo\.log$&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 15:03:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-differ-input-files-in-universal-forwarder/m-p/336846#M12599</guid>
      <dc:creator>sbbadri</dc:creator>
      <dc:date>2017-07-28T15:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to differ input files in universal forwarder</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-differ-input-files-in-universal-forwarder/m-p/336847#M12600</link>
      <description>&lt;P&gt;Thank you &lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 15:39:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-differ-input-files-in-universal-forwarder/m-p/336847#M12600</guid>
      <dc:creator>mkrauss1</dc:creator>
      <dc:date>2017-07-28T15:39:44Z</dc:date>
    </item>
  </channel>
</rss>

