<?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: Splunk DB Connect V3 - Automated / Programmatic creation of connections and inputs in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/548147#M65409</link>
    <description>&lt;P&gt;This post has been super helpful, and in the interests of making this easier for others, i've created some examples for use with the VS Code HTTP rest client.&lt;/P&gt;&lt;P&gt;&lt;A href="https://gist.github.com/mark-vandenbos/c550d3f29f6e5991d4c13a5c75c8e358" target="_blank"&gt;https://gist.github.com/mark-vandenbos/c550d3f29f6e5991d4c13a5c75c8e358&lt;/A&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 16 Apr 2021 06:59:18 GMT</pubDate>
    <dc:creator>clamarkv</dc:creator>
    <dc:date>2021-04-16T06:59:18Z</dc:date>
    <item>
      <title>Splunk DB Connect V3 - How create Automated / Programmatic creation of connections and inputs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304409#M36250</link>
      <description>&lt;P&gt;Please note that I'm answering this question in addition to posting it, if you find the answer useful please feel free to vote/award points!&lt;/P&gt;
&lt;HR /&gt;
&lt;H2&gt;The problem&lt;/H2&gt;
&lt;P&gt;After upgrading from Splunk DB Connect V2 to Splunk DB Connect V3 I was disappointed to find that some of the previously useful REST API's I was using to programatically create new connections/data inputs were no longer functional.&lt;/P&gt;
&lt;P&gt;After logging a support ticket I was advised these were never supported, and therefore my request is now an "enhancement".&lt;/P&gt;
&lt;P&gt;After quite a bit of work I did find a way to automate the DB Connect V3, it is likely unsupported by the official application but it works and provides a nice workaround until they officially support automation via REST API or similar.&lt;/P&gt;
&lt;H2&gt;Solution&lt;/H2&gt;
&lt;P&gt;Please see the answer below, comments/better solutions are welcome!&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2022 13:42:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304409#M36250</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2022-08-09T13:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect V3 - Automated / Programmatic creation of connections and inputs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304410#M36251</link>
      <description>&lt;P&gt;The solution I have managed to use for connections/database inputs is below, improved solutions are welcome. If you are using DB Connect V2 you might want to try the REST API solution I found &lt;A href="https://answers.splunk.com/answers/452618/how-do-i-use-the-restful-webservices-to-setup-new.html#answer-452619" target="_blank"&gt;https://answers.splunk.com/answers/452618/how-do-i-use-the-restful-webservices-to-setup-new.html#answer-452619&lt;/A&gt; note that this solution does not work for DB Connect V3!&lt;/P&gt;

&lt;P&gt;EDIT: 2018-03-20 updated to include comments from ehudb and gsrivastava regarding a new REST endpoint in DB Connect 3.x&lt;/P&gt;

&lt;HR /&gt;

&lt;H2&gt;&lt;STRONG&gt;Identities&lt;/STRONG&gt;&lt;/H2&gt;

&lt;P&gt;Quoting the answer in this thread from ehudb, use the REST endpoint:&lt;BR /&gt;
&lt;A href="https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/db_connect/dbxproxy/identities" target="_blank"&gt;https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/db_connect/dbxproxy/identities&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Example&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;curl -k -X POST -u admin:changeit https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/db_connect/dbxproxy/identities -d "{\"name\":\"myuser\",\"username\":\"myuser\",\"password\":\"mypassword\"}"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;HR /&gt;

&lt;H2&gt;&lt;STRONG&gt;Connections&lt;/STRONG&gt;&lt;/H2&gt;

&lt;P&gt;The workaround solution of editing the db_connections.conf file and then trigger a get request to:&lt;BR /&gt;
&lt;A href="https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/configs/conf-db_connections/_reload" target="_blank"&gt;https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/configs/conf-db_connections/_reload&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Is no longer required, as per the comments by gsrivastava you can use:&lt;BR /&gt;
&lt;A href="https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/db_connect/dbxproxy/connections" target="_blank"&gt;https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/db_connect/dbxproxy/connections&lt;/A&gt;&lt;/P&gt;

&lt;HR /&gt;

&lt;H2&gt;&lt;STRONG&gt;Database Inputs&lt;/STRONG&gt;&lt;/H2&gt;

&lt;P&gt;Quoting/paraphrasing the comments from gsrivastava, the URL of:&lt;BR /&gt;
&lt;A href="https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/db_connect/dbxproxy/inputs" target="_blank"&gt;https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/db_connect/dbxproxy/inputs&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Can be used to create DB connect inputs&lt;/P&gt;

&lt;P&gt;JSON data is required, for example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;{
"name": "ABCD",
"query": "select from ABCD",
"interval": "17 ",
"index": "test",
"mode": "rising",
"connection": "abcd",
"rising_column_index": 1,
"timestamp_column_index": 1,
"timestampType": "dbColumn",
"sourcetype": "abcd",
"checkpoint": {"value":"2018-03-22 00:00:00.000","appVersion":"3.1.1","columnType":93,"timestamp":"2018-03-22T11:06:11.000+05:30"}
}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:28:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304410#M36251</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2020-09-29T13:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect V3 - Automated / Programmatic creation of connections and inputs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304411#M36252</link>
      <description>&lt;P&gt;Cool. FWIW, we don't document this yet because it's not stable, as you've found. Glad it worked for you!&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 17:55:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304411#M36252</guid>
      <dc:creator>jcoates_splunk</dc:creator>
      <dc:date>2017-03-29T17:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect V3 - Automated / Programmatic creation of connections and inputs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304412#M36253</link>
      <description>&lt;P&gt;Yes, I would like to see future verisons &lt;STRONG&gt;include&lt;/STRONG&gt; automation by default as there is rarely a use case where we don't want some level of automation within an application!&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2017 00:17:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304412#M36253</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2017-03-30T00:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect V3 - Automated / Programmatic creation of connections and inputs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304413#M36254</link>
      <description>&lt;P&gt;Hi @Anonymous  ,&lt;/P&gt;

&lt;P&gt;I also wanted to automate the creation of DB Connection in DBX3 and I tried the below but it didnt seem to work:&lt;/P&gt;

&lt;P&gt;1) Updated  via CLI identities.conf and db_connections.conf with the new DB details&lt;BR /&gt;
2) Did a reload on the host&lt;BR /&gt;
curl -k -u admin:password &lt;A href="https://myhost:8089/servicesNS/nobody/splunk_app_db_connect/configs/conf-db_connections/_reload" target="_blank"&gt;https://myhost:8089/servicesNS/nobody/splunk_app_db_connect/configs/conf-db_connections/_reload&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Is there anything I'm missing out? Could you please guide..&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:11:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304413#M36254</guid>
      <dc:creator>saranya_fmr</dc:creator>
      <dc:date>2020-09-29T15:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect V3 - Automated / Programmatic creation of connections and inputs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304414#M36255</link>
      <description>&lt;P&gt;This looks a bit different to what I have done:&lt;BR /&gt;
&lt;A href="https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/db_connect/inputs/_reload"&gt;https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/db_connect/inputs/_reload&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;And:&lt;BR /&gt;
&lt;A href="https://localhost:8089/servicesNS/nobody/search/admin/server/_reload"&gt;https://localhost:8089/servicesNS/nobody/search/admin/server/_reload&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Can you try those URL's? In particular the second one reloads the task server which should force it to reload the connections...&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 00:40:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304414#M36255</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2017-08-03T00:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect V3 - Automated / Programmatic creation of connections and inputs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304415#M36256</link>
      <description>&lt;P&gt;Hi @Anonymous ,&lt;/P&gt;

&lt;P&gt;Did you create DB coonection and Identity via CLI initially and then did a reload via Splunk RESTAPI? What was your approach?&lt;/P&gt;

&lt;P&gt;Im only creating a DB connection for DB Data Query and  I do not want to create DB Outputs or inputs so reload inputs URL is not needed for me I think:&lt;/P&gt;

&lt;P&gt;However I did try both the URLs that you suggested , reload task-server and reload inputs but it didnt work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;
 &lt;A href="https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/db_connect/inputs/_reload" target="_blank"&gt;https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/db_connect/inputs/_reload&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I see the connection in UI but it gives me an error as seen in screenshot:&lt;/P&gt;

&lt;P&gt;The splunk_app_db_connect_server.log shows below error:&lt;/P&gt;

&lt;P&gt;2017-08-03 08:33:46.048 -0400  [dw-49 - GET /api/connections/SPOTFIRE60_DEV/status] ERROR io.dropwizard.jersey.errors.LoggingExceptionMapper - Error handling a request: 94204c89a78800be&lt;BR /&gt;
java.lang.IllegalArgumentException: Illegal base64 character 5f&lt;BR /&gt;
        at java.util.Base64$Decoder.decode0(Base64.java:714)&lt;BR /&gt;
        at java.util.Base64$Decoder.decode(Base64.java:526)&lt;BR /&gt;
        at java.util.Base64$Decoder.decode(Base64.java:549)&lt;BR /&gt;
        at com.splunk.dbx.crypto.AESUtils.decrypt(AESUtils.java:75)&lt;BR /&gt;
&lt;IMG src="http://%5CCIFSBOS03a594588Data" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:12:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304415#M36256</guid>
      <dc:creator>saranya_fmr</dc:creator>
      <dc:date>2020-09-29T15:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect V3 - Automated / Programmatic creation of connections and inputs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304416#M36257</link>
      <description>&lt;P&gt;If the connection does not work in the UI then the REST API will not help here, I would suggest trying to get it working manually first...&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 00:18:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304416#M36257</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2017-08-04T00:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect V3 - Automated / Programmatic creation of connections and inputs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304417#M36258</link>
      <description>&lt;P&gt;Hi @garethatiag ,&lt;/P&gt;

&lt;P&gt;I noticed that the password is not getting encrypted even after Splunk restart was the root cause.&lt;BR /&gt;
How does the password get encrypted if restart is not the solution?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 11:22:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304417#M36258</guid>
      <dc:creator>saranya_fmr</dc:creator>
      <dc:date>2017-08-04T11:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect V3 - Automated / Programmatic creation of connections and inputs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304418#M36259</link>
      <description>&lt;P&gt;I'm using the URL:&lt;BR /&gt;
&lt;A href="https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/db_connect/identities/"&gt;https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/db_connect/identities/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;And posting in the values for name/username/password and that takes care of any password encryption for me...&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2017 17:44:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304418#M36259</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2017-08-05T17:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect V3 - Automated / Programmatic creation of connections and inputs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304419#M36260</link>
      <description>&lt;P&gt;Hi @garethatiag ,&lt;/P&gt;

&lt;P&gt;This URL doesnt update password/username for DB Connect V3. I assume it works only for DBX V2:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/db_connect/identities/"&gt;https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/db_connect/identities/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2017 09:01:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304419#M36260</guid>
      <dc:creator>saranya_fmr</dc:creator>
      <dc:date>2017-08-07T09:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect V3 - Automated / Programmatic creation of connections and inputs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304420#M36261</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/194012"&gt;@saranya_fmr&lt;/a&gt; Unfortunately you are correct, I think I used that url for DBX 2 and now when I re-test with DBX 3 I cannot get that to change, I tested:&lt;BR /&gt;
/servicesNS/nobody/splunk_app_db_connect/properties/identities&lt;BR /&gt;
And also:&lt;BR /&gt;
/servicesNS/nobody/splunk_app_db_connect/db_connect/identities/&lt;/P&gt;

&lt;P&gt;And neither work...perhaps an enhancement request to the DB connect team?&lt;BR /&gt;
It is frustrating that it cannot be automated...&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:15:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304420#M36261</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2020-09-29T15:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect V3 - Automated / Programmatic creation of connections and inputs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304421#M36262</link>
      <description>&lt;P&gt;@saranya_fmr - Something just crossed my mind that is tangential but could be extremely important for you: If you make the call with the REST API, won't the URI request appear in the _internal logs? Therefore, the username and password from the call would appear in clear text on the filesystem in the respective Splunk log AND therefore in the _internal index?&lt;/P&gt;

&lt;P&gt;If we're lucky, those parameters are hashed or obfuscated as part of the call and don't appear but since you're not using splunkweb to make the call (and therefore no javascript to do that for you) it's possible they are not secure.&lt;/P&gt;

&lt;P&gt;I would suggest validating that because you'll wanna make sure there's a usage approach that is secure before getting too far into implementing this way.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 12:39:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304421#M36262</guid>
      <dc:creator>sloshburch</dc:creator>
      <dc:date>2017-08-09T12:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect V3 - Automated / Programmatic creation of connections and inputs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304422#M36263</link>
      <description>&lt;P&gt;@garethatiag, As far as I know  we cannot create a new identity by editing the identities.conf file as  the password is stored in encrypted format and the encryption key is not known. &lt;/P&gt;

&lt;P&gt;If identity cannot be created, how can we create a new connection by editing the db_connections.conf file?&lt;/P&gt;

&lt;P&gt;So by your solution, Can we create a new connection with a new identity?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 12:48:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304422#M36263</guid>
      <dc:creator>gsrivastava</dc:creator>
      <dc:date>2018-02-21T12:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect V3 - Automated / Programmatic creation of connections and inputs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304423#M36264</link>
      <description>&lt;P&gt;When I first automated this I could use:&lt;BR /&gt;
/servicesNS/nobody/splunk_app_db_connect/db_connect/identities/&lt;/P&gt;

&lt;P&gt;So &lt;A href="https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/db_connect/identities/" target="_blank"&gt;https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/db_connect/identities/&lt;/A&gt; or similar with a POST request and that would have created the username/password in the appropriate encrypted format. Unfortunately newer versions (3.x) of this application removed that REST endpoint and I'm unsure if they have allowed an equivalent one so far.&lt;/P&gt;

&lt;P&gt;When I last checked I could not find the REST API to create identities, I'm hoping the DB Connect team intend to re-add or at least allow a programmatic way of doing this...perhaps send them an enhancement request via the support portal?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:11:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304423#M36264</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2020-09-29T18:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect V3 - Automated / Programmatic creation of connections and inputs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304424#M36265</link>
      <description>&lt;P&gt;i believe identity.dat is in the certs directory is the encryption key with aes-256.  however i have not able to decrypt the encrypted password.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 21:13:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304424#M36265</guid>
      <dc:creator>wlaenig</dc:creator>
      <dc:date>2018-03-05T21:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect V3 - Automated / Programmatic creation of connections and inputs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304425#M36266</link>
      <description>&lt;P&gt;You can add new Identities &lt;STRONG&gt;with encryption&lt;/STRONG&gt; in DB Connect 3.x:&lt;BR /&gt;
Use the REST endpoint:&lt;BR /&gt;
&lt;A href="https://splunkserver:8089/servicesNS/nobody/splunk_app_db_connect/db_connect/dbxproxy/identities"&gt;https://splunkserver:8089/servicesNS/nobody/splunk_app_db_connect/db_connect/dbxproxy/identities&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Example:&lt;BR /&gt;
    curl -k -X POST -u admin:password &lt;A href="https://splunkserver:8089/servicesNS/nobody/splunk_app_db_connect/db_connect/dbxproxy/identities"&gt;https://splunkserver:8089/servicesNS/nobody/splunk_app_db_connect/db_connect/dbxproxy/identities&lt;/A&gt; -d "{\"name\":\"myuser\",\"username\":\"myuser\",\"password\":\"mypassword\"}"&lt;/P&gt;</description>
      <pubDate>Mon, 19 Mar 2018 08:57:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304425#M36266</guid>
      <dc:creator>ehudb</dc:creator>
      <dc:date>2018-03-19T08:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect V3 - Automated / Programmatic creation of connections and inputs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304426#M36267</link>
      <description>&lt;P&gt;That works, thankyou!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 02:02:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304426#M36267</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2018-03-20T02:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect V3 - Automated / Programmatic creation of connections and inputs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304427#M36268</link>
      <description>&lt;P&gt;Its working fine, thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 05:46:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304427#M36268</guid>
      <dc:creator>gsrivastava</dc:creator>
      <dc:date>2018-03-20T05:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect V3 - Automated / Programmatic creation of connections and inputs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304428#M36269</link>
      <description>&lt;P&gt;Now  a similar endpoint is also available for creating connections - &lt;BR /&gt;
&lt;A href="https://splunkserver:8089/servicesNS/nobody/splunk_app_db_connect/db_connect/dbxproxy/connections"&gt;https://splunkserver:8089/servicesNS/nobody/splunk_app_db_connect/db_connect/dbxproxy/connections&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;We do not need to use a workaround of  editing the db_connections.conf file and then triggering reloads to the server.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 06:13:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-How-create-Automated-Programmatic-creation/m-p/304428#M36269</guid>
      <dc:creator>gsrivastava</dc:creator>
      <dc:date>2018-03-20T06:13:14Z</dc:date>
    </item>
  </channel>
</rss>

