<?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: Monitor windows file using environment variable in the path in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-windows-file-using-environment-variable-in-the-path/m-p/227998#M44432</link>
    <description>&lt;P&gt;List both styles? Splunk will ignore inputs that have paths that don't exist.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://C:\windows\Temp\logs.txt]
foo = bar

[monitor://E:\windows\Temp\logs.txt]
foo = bar
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 03 Oct 2016 14:22:10 GMT</pubDate>
    <dc:creator>twinspop</dc:creator>
    <dc:date>2016-10-03T14:22:10Z</dc:date>
    <item>
      <title>Monitor windows file using environment variable in the path</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-windows-file-using-environment-variable-in-the-path/m-p/227997#M44431</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;Can we specify environment variables of windows in the monitor stanza. For example like below:&lt;/P&gt;

&lt;P&gt;[monitor://%systemdrive%\windows\Temp\logs.txt]&lt;/P&gt;

&lt;P&gt;We have logs.txt in Temp directory and we have different system drives, one server is with C:\ &amp;amp; the other server is with E:.&lt;/P&gt;

&lt;P&gt;Can we monitor like above ??&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2016 14:18:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitor-windows-file-using-environment-variable-in-the-path/m-p/227997#M44431</guid>
      <dc:creator>bharathkumarnec</dc:creator>
      <dc:date>2016-10-03T14:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor windows file using environment variable in the path</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-windows-file-using-environment-variable-in-the-path/m-p/227998#M44432</link>
      <description>&lt;P&gt;List both styles? Splunk will ignore inputs that have paths that don't exist.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://C:\windows\Temp\logs.txt]
foo = bar

[monitor://E:\windows\Temp\logs.txt]
foo = bar
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 03 Oct 2016 14:22:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitor-windows-file-using-environment-variable-in-the-path/m-p/227998#M44432</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2016-10-03T14:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor windows file using environment variable in the path</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-windows-file-using-environment-variable-in-the-path/m-p/227999#M44433</link>
      <description>&lt;P&gt;Yeah True! But just wanted to check if that way is possible in the Monitor stanza. Just to reduce number of stanzas in inputs.conf file.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2016 14:25:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitor-windows-file-using-environment-variable-in-the-path/m-p/227999#M44433</guid>
      <dc:creator>bharathkumarnec</dc:creator>
      <dc:date>2016-10-03T14:25:09Z</dc:date>
    </item>
  </channel>
</rss>

