<?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: input parsing another file in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/input-parsing-another-file/m-p/346053#M5446</link>
    <description>&lt;P&gt;hey @Vetrikmr&lt;/P&gt;

&lt;P&gt;You can try  &lt;CODE&gt;whitelist&lt;/CODE&gt; and &lt;CODE&gt;blacklist&lt;/CODE&gt; option in &lt;CODE&gt;inputs.conf&lt;/CODE&gt; &lt;BR /&gt;
refer this link to the same: &lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.0.1/Data/Monitorfilesanddirectorieswithinputs.conf#Monitor_syntax_and_examples"&gt;https://docs.splunk.com/Documentation/Splunk/7.0.1/Data/Monitorfilesanddirectorieswithinputs.conf#Monitor_syntax_and_examples&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Also check your log path properly:&lt;BR /&gt;
log path is always &lt;CODE&gt;/&lt;/CODE&gt; and your path contains \&lt;BR /&gt;
I may be wrong but check once again:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://directory/log/log.txt]
index = XXX
sourcetype = xxx
whitelist = &amp;lt;give_regex&amp;gt; OR blacklist = &amp;lt;give_regex&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 15 Dec 2017 05:59:09 GMT</pubDate>
    <dc:creator>mayurr98</dc:creator>
    <dc:date>2017-12-15T05:59:09Z</dc:date>
    <item>
      <title>input parsing another file</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/input-parsing-another-file/m-p/346052#M5445</link>
      <description>&lt;P&gt;hi I have configured few forwarder agents through deployment server. I have given inputs.conf through app. here i need to monitor particular log file from directory and the same directory has a few other files too. here is my inputs.conf&lt;BR /&gt;
[monitor : //directory\log\log.txt]&lt;BR /&gt;
disabled=false&lt;BR /&gt;
sourcetype=XXXX&lt;BR /&gt;
index=XXX&lt;/P&gt;

&lt;P&gt;so here i have to monitor that log file from few agents. But splunk it is monitoring the different file from the same path. &lt;BR /&gt;
source: //directory\log\anotherlog.txt. &lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2017 00:07:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/input-parsing-another-file/m-p/346052#M5445</guid>
      <dc:creator>Vetrikmr</dc:creator>
      <dc:date>2017-12-15T00:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: input parsing another file</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/input-parsing-another-file/m-p/346053#M5446</link>
      <description>&lt;P&gt;hey @Vetrikmr&lt;/P&gt;

&lt;P&gt;You can try  &lt;CODE&gt;whitelist&lt;/CODE&gt; and &lt;CODE&gt;blacklist&lt;/CODE&gt; option in &lt;CODE&gt;inputs.conf&lt;/CODE&gt; &lt;BR /&gt;
refer this link to the same: &lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.0.1/Data/Monitorfilesanddirectorieswithinputs.conf#Monitor_syntax_and_examples"&gt;https://docs.splunk.com/Documentation/Splunk/7.0.1/Data/Monitorfilesanddirectorieswithinputs.conf#Monitor_syntax_and_examples&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Also check your log path properly:&lt;BR /&gt;
log path is always &lt;CODE&gt;/&lt;/CODE&gt; and your path contains \&lt;BR /&gt;
I may be wrong but check once again:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://directory/log/log.txt]
index = XXX
sourcetype = xxx
whitelist = &amp;lt;give_regex&amp;gt; OR blacklist = &amp;lt;give_regex&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 15 Dec 2017 05:59:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/input-parsing-another-file/m-p/346053#M5446</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2017-12-15T05:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: input parsing another file</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/input-parsing-another-file/m-p/346054#M5447</link>
      <description>&lt;P&gt;Also, the monitor stanza has the format monitor://. So you should use three "/" here:&lt;/P&gt;

&lt;P&gt;[monitor:///directory/log/log.txt]&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2017 08:25:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/input-parsing-another-file/m-p/346054#M5447</guid>
      <dc:creator>Yunagi</dc:creator>
      <dc:date>2017-12-15T08:25:04Z</dc:date>
    </item>
  </channel>
</rss>

