<?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: Read from inputs.conf file in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Read-from-inputs-conf-file/m-p/566922#M100739</link>
    <description>&lt;P&gt;Not sure I understand your requirement. If your app is local to the search head (inputs usually don't live on search heads unless you have a single-server deployment), you can possibly use the &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/RESTREF/RESTconf#properties.2F.7Bfile.7D.2F.7Bstanza.7D.2F.7Bkey.7D" target="_self"&gt;REST API&lt;/A&gt; to get the configured value for the host property.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Otherwise, you can dynamically populate a dropdown dashboard element by running a search to look for unique host values for the source type in question.&lt;/P&gt;&lt;P&gt;But I said, I probably don't understand what you are trying to achieve.&lt;/P&gt;</description>
    <pubDate>Mon, 13 Sep 2021 23:13:45 GMT</pubDate>
    <dc:creator>s2_splunk</dc:creator>
    <dc:date>2021-09-13T23:13:45Z</dc:date>
    <item>
      <title>Read from inputs.conf file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Read-from-inputs-conf-file/m-p/566895#M100738</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I want to be able to allow a dashboard of my app read the hostname stored in inputs.conf, which is provided by user when setting up the app. Specifically, I have a button on one of my app's dashboard which links to the hostname url user enters. However, I'm not sure how the dashboard can read the hostname so that the button can be dynamically populated with different hostname.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is how I store the hostname in inputs.conf. Once done setting up, HOST can be filled in properly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[modinput://input]
API_KEY = 
HOST = 
interval = 600&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 16:52:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Read-from-inputs-conf-file/m-p/566895#M100738</guid>
      <dc:creator>MikeJu25</dc:creator>
      <dc:date>2021-09-13T16:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Read from inputs.conf file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Read-from-inputs-conf-file/m-p/566922#M100739</link>
      <description>&lt;P&gt;Not sure I understand your requirement. If your app is local to the search head (inputs usually don't live on search heads unless you have a single-server deployment), you can possibly use the &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/RESTREF/RESTconf#properties.2F.7Bfile.7D.2F.7Bstanza.7D.2F.7Bkey.7D" target="_self"&gt;REST API&lt;/A&gt; to get the configured value for the host property.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Otherwise, you can dynamically populate a dropdown dashboard element by running a search to look for unique host values for the source type in question.&lt;/P&gt;&lt;P&gt;But I said, I probably don't understand what you are trying to achieve.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 23:13:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Read-from-inputs-conf-file/m-p/566922#M100739</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2021-09-13T23:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Read from inputs.conf file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Read-from-inputs-conf-file/m-p/566924#M100740</link>
      <description>&lt;P&gt;Thank you so much! I think you have resolved my question. I tried some searches and it returned the info I need.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 00:11:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Read-from-inputs-conf-file/m-p/566924#M100740</guid>
      <dc:creator>MikeJu25</dc:creator>
      <dc:date>2021-09-14T00:11:07Z</dc:date>
    </item>
  </channel>
</rss>

