<?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: Environment variable used in search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Environment-variable-used-in-search/m-p/50316#M12092</link>
    <description>&lt;P&gt;Try setting your variable in $SPLUNK_HOME/etc/splunk-launch.conf and restarting.  That may do it.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jul 2011 19:48:59 GMT</pubDate>
    <dc:creator>mw</dc:creator>
    <dc:date>2011-07-29T19:48:59Z</dc:date>
    <item>
      <title>Environment variable used in search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Environment-variable-used-in-search/m-p/50313#M12089</link>
      <description>&lt;P&gt;How do you set up an Environment variable to be used as part of the path for your data?&lt;BR /&gt;
I set an environment variable on the system and when I try and use the environment variable I receive an error.  The error is :Encountered the following error while trying to save :in handler: machine name: Parameter name : Path must be absolute.  The default datasources splunk uses have a set Environment variable as part of there location: $SPLUNK_HOME/etc/splunk.version.  Any assistance would be great.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2011 12:59:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Environment-variable-used-in-search/m-p/50313#M12089</guid>
      <dc:creator>fresned</dc:creator>
      <dc:date>2011-07-29T12:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Environment variable used in search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Environment-variable-used-in-search/m-p/50314#M12090</link>
      <description>&lt;P&gt;Do you mean within the context of an input?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# inputs.conf
[monitor://$SPLUNK_HOME/etc/apps/cisco/logs/cisco_firewall.log]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 29 Jul 2011 16:06:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Environment-variable-used-in-search/m-p/50314#M12090</guid>
      <dc:creator>mw</dc:creator>
      <dc:date>2011-07-29T16:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Environment variable used in search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Environment-variable-used-in-search/m-p/50315#M12091</link>
      <description>&lt;P&gt;Yes  where and how is $SPLUNK_HOME defined.  I'm trying to define a value $FOO.  in the bash shell i have defined export FOO='/opt/test/test1/'  I can echo $FOO and get /opt/test/test1/.  but splunk returns the error in handler: machine name: Parameter name : Path must be absolute&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2011 16:36:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Environment-variable-used-in-search/m-p/50315#M12091</guid>
      <dc:creator>fresned</dc:creator>
      <dc:date>2011-07-29T16:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Environment variable used in search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Environment-variable-used-in-search/m-p/50316#M12092</link>
      <description>&lt;P&gt;Try setting your variable in $SPLUNK_HOME/etc/splunk-launch.conf and restarting.  That may do it.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2011 19:48:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Environment-variable-used-in-search/m-p/50316#M12092</guid>
      <dc:creator>mw</dc:creator>
      <dc:date>2011-07-29T19:48:59Z</dc:date>
    </item>
  </channel>
</rss>

