<?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: Adding large number of databases to DB Connect in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/Adding-large-number-of-databases-to-DB-Connect/m-p/135132#M7497</link>
    <description>&lt;P&gt;Would you suggest making REST API calls based on OID ?&lt;/P&gt;</description>
    <pubDate>Thu, 06 Feb 2014 18:23:37 GMT</pubDate>
    <dc:creator>theouhuios</dc:creator>
    <dc:date>2014-02-06T18:23:37Z</dc:date>
    <item>
      <title>Adding large number of databases to DB Connect</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Adding-large-number-of-databases-to-DB-Connect/m-p/135130#M7495</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;

&lt;P&gt;Has anyone of you faced an issue where you had to add 300-500 DB Connections to DB Connect? If you did , did you use any easy method to solve it rather than adding each one of them manually? Please let me know if there is any better way to do it rather than adding it manually.&lt;/P&gt;

&lt;P&gt;Update:&lt;/P&gt;

&lt;P&gt;I am using the database.conf to do this as of now. But would like to know if there is a way to automate the part where splunk can update the conf file with all necessary parameters in case a new Database is being stood up. This can either be from a FAT file or from a DNS entry or by using a OID.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2014 15:32:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Adding-large-number-of-databases-to-DB-Connect/m-p/135130#M7495</guid>
      <dc:creator>theouhuios</dc:creator>
      <dc:date>2014-02-03T15:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Adding large number of databases to DB Connect</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Adding-large-number-of-databases-to-DB-Connect/m-p/135131#M7496</link>
      <description>&lt;P&gt;You could automate this via scripting calls to Splunk's REST API to create connections, but the details are far beyond the scope of what is possible via this answer.  &lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2014 17:32:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Adding-large-number-of-databases-to-DB-Connect/m-p/135131#M7496</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2014-02-06T17:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Adding large number of databases to DB Connect</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Adding-large-number-of-databases-to-DB-Connect/m-p/135132#M7497</link>
      <description>&lt;P&gt;Would you suggest making REST API calls based on OID ?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2014 18:23:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Adding-large-number-of-databases-to-DB-Connect/m-p/135132#M7497</guid>
      <dc:creator>theouhuios</dc:creator>
      <dc:date>2014-02-06T18:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Adding large number of databases to DB Connect</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Adding-large-number-of-databases-to-DB-Connect/m-p/135133#M7498</link>
      <description>&lt;P&gt;The Splunk REST API is pretty nuanced.  In short, you make a GET request to /services/admin/databases/_new to get the required and optional fields.  Then, to create a new database, you would POST to /services/admin/databases with the required and optional fields you want in the payload of the POST (aka postargs).&lt;/P&gt;

&lt;P&gt;Note that this is just a workaround for automation, and that the REST interface for DB Connect could change in future versions.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2014 18:29:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Adding-large-number-of-databases-to-DB-Connect/m-p/135133#M7498</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2014-02-06T18:29:23Z</dc:date>
    </item>
  </channel>
</rss>

