<?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 Multiple conf files with single endpoint or referencing other conf files? in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/Multiple-conf-files-with-single-endpoint-or-referencing-other/m-p/242423#M2130</link>
    <description>&lt;P&gt;I have an app with setup.xml where a hostname is entered.  I've also made a custom conf file and setup the REST endpoint for it.  A python script uses this info.  This all works great.&lt;/P&gt;

&lt;P&gt;However, I need workflow_actions.conf to also know about that hostname in the URL of an action (link.uri).&lt;/P&gt;

&lt;P&gt;What's the best way to go about this in splunk?&lt;/P&gt;</description>
    <pubDate>Sun, 24 Jan 2016 18:25:49 GMT</pubDate>
    <dc:creator>user4455</dc:creator>
    <dc:date>2016-01-24T18:25:49Z</dc:date>
    <item>
      <title>Multiple conf files with single endpoint or referencing other conf files?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Multiple-conf-files-with-single-endpoint-or-referencing-other/m-p/242423#M2130</link>
      <description>&lt;P&gt;I have an app with setup.xml where a hostname is entered.  I've also made a custom conf file and setup the REST endpoint for it.  A python script uses this info.  This all works great.&lt;/P&gt;

&lt;P&gt;However, I need workflow_actions.conf to also know about that hostname in the URL of an action (link.uri).&lt;/P&gt;

&lt;P&gt;What's the best way to go about this in splunk?&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jan 2016 18:25:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Multiple-conf-files-with-single-endpoint-or-referencing-other/m-p/242423#M2130</guid>
      <dc:creator>user4455</dc:creator>
      <dc:date>2016-01-24T18:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple conf files with single endpoint or referencing other conf files?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Multiple-conf-files-with-single-endpoint-or-referencing-other/m-p/242424#M2131</link>
      <description>&lt;P&gt;There is no way to get a configuration file to reference another configuration file, at least not in the way you describe.&lt;BR /&gt;
However, Splunk has a way to store "state information" like a hostname. There are two variations.&lt;/P&gt;

&lt;P&gt;First, you could write the information to a csv file stored in the lookups subdirectory, and set up the csv file as a lookup.&lt;BR /&gt;
Or, you could write the information (as a collection) to the KV store and set up a lookup based on the collection.&lt;/P&gt;

&lt;P&gt;Here is some documentation that may help:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://dev.splunk.com/view/SP-CAAAEZT"&gt;Tutorial: Use KV Store with a simple app&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.2/Admin/AboutKVstore"&gt;Administer the app key value store&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0/Knowledge/Usefieldlookupstoaddinformationtoyourevents"&gt;Use field lookups&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2016 08:05:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Multiple-conf-files-with-single-endpoint-or-referencing-other/m-p/242424#M2131</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2016-01-25T08:05:07Z</dc:date>
    </item>
  </channel>
</rss>

