<?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: app.conf does not honor environment variables in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/app-conf-does-not-honor-environment-variables/m-p/168376#M98208</link>
    <description>&lt;P&gt;It looks like some of Splunk's config files do expand environment variables. Do you know if there's a list? I'm particularly interested in being able to use $HOSTNAME in transforms.conf at an intermediate forwarder to be able to track what intermediate forwarder the event passed through.&lt;/P&gt;</description>
    <pubDate>Fri, 29 May 2015 13:02:31 GMT</pubDate>
    <dc:creator>mikaelbje</dc:creator>
    <dc:date>2015-05-29T13:02:31Z</dc:date>
    <item>
      <title>app.conf does not honor environment variables</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/app-conf-does-not-honor-environment-variables/m-p/168374#M98206</link>
      <description>&lt;P&gt;i'd like to embed an env variable in my app label, so i add this to my app.conf:&lt;/P&gt;

&lt;P&gt;[ui]&lt;BR /&gt;
label = My App $SPLUNK_HOME&lt;/P&gt;

&lt;P&gt;However, the variable didn't get expanded by Splunk (i got the verbatim label)&lt;BR /&gt;
Also tried with quotes but made no difference.&lt;/P&gt;

&lt;P&gt;Looks like app.conf doesn't like env variables.&lt;BR /&gt;
Any idea?&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2014 20:11:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/app-conf-does-not-honor-environment-variables/m-p/168374#M98206</guid>
      <dc:creator>tony_luu</dc:creator>
      <dc:date>2014-05-16T20:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: app.conf does not honor environment variables</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/app-conf-does-not-honor-environment-variables/m-p/168375#M98207</link>
      <description>&lt;P&gt;That is true.&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2014 21:53:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/app-conf-does-not-honor-environment-variables/m-p/168375#M98207</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2014-05-16T21:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: app.conf does not honor environment variables</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/app-conf-does-not-honor-environment-variables/m-p/168376#M98208</link>
      <description>&lt;P&gt;It looks like some of Splunk's config files do expand environment variables. Do you know if there's a list? I'm particularly interested in being able to use $HOSTNAME in transforms.conf at an intermediate forwarder to be able to track what intermediate forwarder the event passed through.&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2015 13:02:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/app-conf-does-not-honor-environment-variables/m-p/168376#M98208</guid>
      <dc:creator>mikaelbje</dc:creator>
      <dc:date>2015-05-29T13:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: app.conf does not honor environment variables</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/app-conf-does-not-honor-environment-variables/m-p/168377#M98209</link>
      <description>&lt;P&gt;@mikaelbje Did u get the $HOSTNAME working in Transforms.conf I am facing the same problem.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 21:50:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/app-conf-does-not-honor-environment-variables/m-p/168377#M98209</guid>
      <dc:creator>abhishekdharga</dc:creator>
      <dc:date>2018-09-13T21:50:37Z</dc:date>
    </item>
  </channel>
</rss>

