<?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: Storage for DB Connect Checkpoint values in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Storage-for-DB-Connect-Checkpoint-values/m-p/683046#M19065</link>
    <description>&lt;P&gt;3.6 is old and you should update, then the current documentation would work.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But, it also had a simpler system of checkpoints, storing those in files on disk.&lt;/P&gt;&lt;P&gt;I cannot remember exactly where those were, but maybe something like $SPLUNK_HOME/var/lib/splunk/modinputs/dbx_input...?&amp;nbsp; I don't know, I have that directory and it seems familiar, but it's empty on my system because I try to keep up to date.&amp;nbsp; (Hehehe, you knew I was going to say that, didn't you... ?&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Apr 2024 14:46:18 GMT</pubDate>
    <dc:creator>Richfez</dc:creator>
    <dc:date>2024-04-03T14:46:18Z</dc:date>
    <item>
      <title>Storage for DB Connect Checkpoint values</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Storage-for-DB-Connect-Checkpoint-values/m-p/682325#M19005</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;&lt;BR /&gt;Where are the Checkpoint values for enabled DB Connect Inputs stored?&lt;BR /&gt;&lt;BR /&gt;I did check at folder:&lt;BR /&gt;/opt/splunk/var/lib/splunk/modinputs/server/splunk_app_db_connect&lt;BR /&gt;&lt;BR /&gt;There there are only files with names of our disabled DB Inputs, but not the ones of our enabled DB Inputs.&lt;BR /&gt;&lt;BR /&gt;Splunk Enterprise Version: 9.0.4.1&lt;BR /&gt;Splunk DB Connect Version: 3.6.0&lt;BR /&gt;&lt;BR /&gt;Ps. our three enabled DB Inputs do work correctly, and I can see the checkpoint values from the web.&lt;BR /&gt;Just cannot find where they are stored on the OS&lt;BR /&gt;&lt;BR /&gt;best regards&lt;BR /&gt;Altin&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2024 18:06:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Storage-for-DB-Connect-Checkpoint-values/m-p/682325#M19005</guid>
      <dc:creator>altink</dc:creator>
      <dc:date>2024-03-28T18:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Storage for DB Connect Checkpoint values</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Storage-for-DB-Connect-Checkpoint-values/m-p/682430#M19011</link>
      <description>&lt;P&gt;It's terrible, they're not easily accessible except through the UI.&amp;nbsp; It's a big ... sore spot for some of us who need to use these in a more programmatic way.&lt;/P&gt;&lt;P&gt;But, there is a way using the REST interface from cURL.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -k -u &amp;lt;username&amp;gt;:&amp;lt;password&amp;gt; https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/storage/collections/data/dbx_db_input&lt;/LI-CODE&gt;&lt;P&gt;Obviously fix the username and password to an admin one, and your hostname if it's not on localhost.&lt;/P&gt;&lt;P&gt;&amp;nbsp;You might want to pipe that through jq to 'pretty print' it if you have jq installed because otherwise it's all smashed together and hard to read:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -k -u &amp;lt;username&amp;gt;:&amp;lt;password&amp;gt; https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/storage/collections/data/dbx_db_input | jq .&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;You can also see only an individual one if you append the _key's value for the one you want to the end.&amp;nbsp; (The _key comes from the output of one of the earlier commands.)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -k -u &amp;lt;username&amp;gt;:&amp;lt;password&amp;gt; https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/storage/collections/data/dbx_db_input/6452ce6e55102d0ad735ec31 | jq .&lt;/LI-CODE&gt;&lt;P&gt;You can also delete them or edit them, though ... obviously be careful and do this in a test environment at first!&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -k -u &amp;lt;username&amp;gt;:&amp;lt;password&amp;gt; https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/storage/collections/data/dbx_db_input/6452ce6e55102d0ad735ec31 -X DELETE&lt;/LI-CODE&gt;&lt;P&gt;And I've not found a good way to "edit" them, but it's pretty trivial to just edit the JSON you get from an individual entry, and load that back in wholesale.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -k -u &amp;lt;username&amp;gt;:&amp;lt;password&amp;gt; https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/storage/collections/data/dbx_db_input -d '{ "inputName" : "newEntryforMyDB", "value" : "200", "appVersion" : "3.16.0", "columnType" : 4, "timestamp" : "2024-03-21T13:11:41.633-05:00", "_user" : "nobody", "_key" : "65fc6ce1764e95450b0d98e1" }' -H "Content-Type: application/json"&lt;/LI-CODE&gt;&lt;P&gt;Which would overwrite entry 65fc6... with that new information.&lt;/P&gt;&lt;P&gt;Happy Splunking,&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2024 20:24:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Storage-for-DB-Connect-Checkpoint-values/m-p/682430#M19011</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2024-03-29T20:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Storage for DB Connect Checkpoint values</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Storage-for-DB-Connect-Checkpoint-values/m-p/682537#M19025</link>
      <description>&lt;P&gt;Thank You &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/205010"&gt;@Richfez&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;As a first need (and I should have said this in the opening), I was not asking to access them at all. I just want to know where they are, to backup them just like everything else in /etc/apps folder.&lt;BR /&gt;&lt;BR /&gt;But editing them could also be a need, ex: in case of db inputs info&amp;nbsp; loss of any kind.&amp;nbsp; And if it be the case, I guess to better edit them (at one's own risk) directly into the OS via a text editor since they are json.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Altin&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 31 Mar 2024 21:24:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Storage-for-DB-Connect-Checkpoint-values/m-p/682537#M19025</guid>
      <dc:creator>altink</dc:creator>
      <dc:date>2024-03-31T21:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Storage for DB Connect Checkpoint values</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Storage-for-DB-Connect-Checkpoint-values/m-p/682643#M19043</link>
      <description>&lt;P&gt;Ah, backups.&amp;nbsp; Splunk has this documented, so I'll just point you to their docs on "&lt;A href="https://docs.splunk.com/Documentation/DBX/3.15.0/DeployDBX/Backupandrestore" target="_self"&gt;Backup and restore Splunk DB Connect version 3.10.0 or higher&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;&lt;P&gt;-Rich&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 17:03:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Storage-for-DB-Connect-Checkpoint-values/m-p/682643#M19043</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2024-04-01T17:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Storage for DB Connect Checkpoint values</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Storage-for-DB-Connect-Checkpoint-values/m-p/683041#M19064</link>
      <description>&lt;P&gt;The Documentation link given belongs to DB Connect version 3.15.0 and talks for "Splunk DB Connect version 3.10.0 or higher".&lt;BR /&gt;&lt;BR /&gt;Our DB Connect Version is: 3.6.0&lt;BR /&gt;&lt;BR /&gt;When on the doc link I change the DB Connect version to 3.6.0, I receive this:&lt;BR /&gt;&lt;BR /&gt;"The topic you've asked to see does not apply to the version you selected. "&lt;BR /&gt;&lt;BR /&gt;So it looks documentation tells nothing for backup/restore of DB Connect 3.6.0.&lt;BR /&gt;&lt;BR /&gt;Or am I missing something?&lt;BR /&gt;&lt;BR /&gt;best regards&lt;BR /&gt;Altin&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 14:21:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Storage-for-DB-Connect-Checkpoint-values/m-p/683041#M19064</guid>
      <dc:creator>altink</dc:creator>
      <dc:date>2024-04-03T14:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Storage for DB Connect Checkpoint values</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Storage-for-DB-Connect-Checkpoint-values/m-p/683046#M19065</link>
      <description>&lt;P&gt;3.6 is old and you should update, then the current documentation would work.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But, it also had a simpler system of checkpoints, storing those in files on disk.&lt;/P&gt;&lt;P&gt;I cannot remember exactly where those were, but maybe something like $SPLUNK_HOME/var/lib/splunk/modinputs/dbx_input...?&amp;nbsp; I don't know, I have that directory and it seems familiar, but it's empty on my system because I try to keep up to date.&amp;nbsp; (Hehehe, you knew I was going to say that, didn't you... ?&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 14:46:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Storage-for-DB-Connect-Checkpoint-values/m-p/683046#M19065</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2024-04-03T14:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Storage for DB Connect Checkpoint values</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Storage-for-DB-Connect-Checkpoint-values/m-p/683397#M19079</link>
      <description>&lt;P&gt;Upgrade is not an option for now. furthermore, everything goes OK with DB Connect. it will be upgraded with the whole system.&lt;BR /&gt;&lt;BR /&gt;I did ask this question precisely because could not find the checkpoint values persistence files for our enable DB Input in folder:&lt;BR /&gt;/opt/splunk/var/lib/splunk/modinputs/server/splunk_app_db_connect&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 12:09:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Storage-for-DB-Connect-Checkpoint-values/m-p/683397#M19079</guid>
      <dc:creator>altink</dc:creator>
      <dc:date>2024-04-05T12:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Storage for DB Connect Checkpoint values</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Storage-for-DB-Connect-Checkpoint-values/m-p/685466#M19237</link>
      <description>&lt;P&gt;BTW I don't know if it's clear, but&lt;/P&gt;&lt;P&gt;a) you should be able to find the checkpoint files on disk, but ..&lt;/P&gt;&lt;P&gt;b) even if you don't, if you back up $SPLUNK_HOME/var/lib/modinputs I think you effectively back up your checkpoint files.&amp;nbsp;&lt;/P&gt;&lt;P&gt;A bit of interwebs searching ought to confirm this.&lt;/P&gt;&lt;P&gt;Also note that the checkpoint files are useless if you are trying to back them up pre-updating (at least if you cross the magical version near 3.10 where it switches from checkpoint files to KV store entries), because you can't slap them into place and expect it to find/use them any more.&amp;nbsp; It should migrate them during the upgrade, but I'm not sure it'll ever "re-migrate" later if you have to try to restore files into a kvstore based system.&amp;nbsp; YMMV, etc.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 12:50:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Storage-for-DB-Connect-Checkpoint-values/m-p/685466#M19237</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2024-04-25T12:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Storage for DB Connect Checkpoint values</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Storage-for-DB-Connect-Checkpoint-values/m-p/751191#M22828</link>
      <description>&lt;P&gt;Sorry as per usual late to the party.&lt;/P&gt;&lt;P&gt;Yes have to agree with the painful to amend checkpoints we use ansible to replicate checkpoints between nodes excuse the terrible pasting of the yaml config. You will also note we have the delete before the post. I'm sure the new version does all this but this was created pre later releases &amp;amp; had to be amended when the updates occurred &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- hosts: "{{ splunk_node_primary }}"&lt;BR /&gt;gather_facts: no&lt;BR /&gt;become: no&lt;/P&gt;&lt;P&gt;tasks:&lt;/P&gt;&lt;P&gt;- name: Enumerate db connect primary kvstore names&lt;BR /&gt;ansible.builtin.uri:&lt;BR /&gt;url: "&lt;A href="https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/storage/collections/data/dbx_db_input" target="_blank"&gt;https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/storage/collections/data/dbx_db_input&lt;/A&gt;"&lt;BR /&gt;user: "{{ ansible_user }}"&lt;BR /&gt;password: "{{ ansible_password }}"&lt;BR /&gt;validate_certs: no&lt;BR /&gt;method: GET&lt;BR /&gt;return_content: yes&lt;BR /&gt;register: db_connect_input_primary_name&lt;BR /&gt;failed_when: db_connect_input_primary_name.status == "404"&lt;/P&gt;&lt;P&gt;- name: Set fact for names&lt;BR /&gt;ansible.builtin.set_fact:&lt;BR /&gt;db_connect_prim_name: "{{ db_connect_prim_name | default([]) + [ item ] }}"&lt;BR /&gt;with_items: "{{ db_connect_input_primary_name.json | json_query(inputName_key) }}"&lt;BR /&gt;vars:&lt;BR /&gt;inputName_key: "[*].{inputName: inputName}"&lt;BR /&gt;&lt;BR /&gt;- name: Set fact last&lt;BR /&gt;ansible.builtin.set_fact:&lt;BR /&gt;db_connect_prim_name_unique: "{{ db_connect_prim_name | unique }}"&lt;/P&gt;&lt;P&gt;- name: Repeat block DB Connect&lt;BR /&gt;ansible.builtin.include_tasks: db_connect_repeat_block.yml&lt;BR /&gt;loop: "{{ db_connect_prim_name_unique | default([]) }}"&lt;BR /&gt;&lt;BR /&gt;Then the repeat block&amp;nbsp;&lt;/P&gt;&lt;P&gt;---&lt;BR /&gt;- name: Enumerate db connect primary inputs&lt;BR /&gt;ansible.builtin.uri:&lt;BR /&gt;url: "&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;{{ item.inputName }}"&lt;BR /&gt;user: "{{ ansible_user }}"&lt;BR /&gt;password: "{{ ansible_password }}"&lt;BR /&gt;validate_certs: no&lt;BR /&gt;method: GET&lt;BR /&gt;return_content: yes&lt;BR /&gt;register: db_connect_primary_list&lt;BR /&gt;failed_when: db_connect_primary_list.status == "404"&lt;/P&gt;&lt;P&gt;- name: Enumerate db connect primary kvstore values&lt;BR /&gt;ansible.builtin.uri:&lt;BR /&gt;url: "&lt;A href="https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/storage/collections/data/dbx_db_input" target="_blank"&gt;https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/storage/collections/data/dbx_db_input&lt;/A&gt;"&lt;BR /&gt;user: "{{ ansible_user }}"&lt;BR /&gt;password: "{{ ansible_password }}"&lt;BR /&gt;validate_certs: no&lt;BR /&gt;method: GET&lt;BR /&gt;return_content: yes&lt;BR /&gt;register: db_connect_input_primary_value&lt;BR /&gt;failed_when: db_connect_input_primary_value.status == "404"&lt;/P&gt;&lt;P&gt;- name: Set fact&lt;BR /&gt;ansible.builtin.set_fact:&lt;BR /&gt;db_connect_input_chkpt_value: "{{ db_connect_input_chkpt_value | default([]) + [ inp_chkpt_var ] }}"&lt;BR /&gt;with_items: "{{ db_connect_input_primary_value.json | json_query(inputName_value) }}"&lt;BR /&gt;vars:&lt;BR /&gt;inputName_value: "[?inputName=='{{ item.inputName }}'].{inputName: inputName, value: value, appVersion: appVersion, columnType: columnType, timestamp: timestamp}"&lt;BR /&gt;loop_control:&lt;BR /&gt;label: "{{ inp_chkpt_var }}"&lt;BR /&gt;loop_var: inp_chkpt_var&lt;/P&gt;&lt;P&gt;- name: Set fact last&lt;BR /&gt;ansible.builtin.set_fact:&lt;BR /&gt;db_connect_input_chkpt_val: "{{ db_connect_input_chkpt_value | list | last }}"&lt;/P&gt;&lt;P&gt;- name: Set fact for new Chkpt&lt;BR /&gt;ansible.builtin.set_fact:&lt;BR /&gt;init_chkpt_value: "{{ db_connect_primary_list.json | regex_replace('.checkpoint.: None,', \"'checkpoint': %s,\" % db_connect_input_chkpt_val , multiline=True, ignorecase=True) }}"&lt;/P&gt;&lt;P&gt;- name: Set fact for disabled&lt;BR /&gt;ansible.builtin.set_fact:&lt;BR /&gt;init_chkpt_value_disabled: "{{ init_chkpt_value | regex_replace('.disabled.: false,', \"'disabled': true,\", multiline=True, ignorecase=True) }}"&lt;/P&gt;&lt;P&gt;- name: Enumerate db connect secondary kvstore values&lt;BR /&gt;ansible.builtin.uri:&lt;BR /&gt;url: "&lt;A href="https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/storage/collections/data/dbx_db_input" target="_blank"&gt;https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/storage/collections/data/dbx_db_input&lt;/A&gt;"&lt;BR /&gt;user: "{{ ansible_user }}"&lt;BR /&gt;password: "{{ ansible_password }}"&lt;BR /&gt;validate_certs: no&lt;BR /&gt;method: GET&lt;BR /&gt;return_content: yes&lt;BR /&gt;register: db_connect_input_secondary_value&lt;BR /&gt;failed_when: db_connect_input_secondary_value.status == "404"&lt;BR /&gt;delegate_to: "{{ splunk_node_secondary }}"&lt;/P&gt;&lt;P&gt;- name: Set fact for secondary keys&lt;BR /&gt;ansible.builtin.set_fact:&lt;BR /&gt;db_connect_second_chkpt_key: "{{ db_connect_second_chkpt_key | default([]) + [ item ] }}"&lt;BR /&gt;with_items: "{{ db_connect_input_secondary_value.json | json_query(inputName_key) }}"&lt;BR /&gt;vars:&lt;BR /&gt;inputName_key: "[?inputName=='{{ item.inputName }}'].{_key: _key}"&lt;/P&gt;&lt;P&gt;- name: Show secondary keys&lt;BR /&gt;ansible.builtin.debug:&lt;BR /&gt;msg: "{{ [ inp_second_key ] }}"&lt;BR /&gt;loop: "{{ db_connect_second_chkpt_key | default([]) }}"&lt;BR /&gt;loop_control:&lt;BR /&gt;label: "{{ inp_second_key }}"&lt;BR /&gt;loop_var: inp_second_key&lt;BR /&gt;when: db_connect_second_chkpt_key is defined&lt;/P&gt;&lt;P&gt;- name: Delete db connect secondary kvstore values&lt;BR /&gt;ansible.builtin.uri:&lt;BR /&gt;url: "&lt;A href="https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/storage/collections/data/dbx_db_input/" target="_blank"&gt;https://localhost:8089/servicesNS/nobody/splunk_app_db_connect/storage/collections/data/dbx_db_input/&lt;/A&gt;{{ inp_second_key._key }}"&lt;BR /&gt;user: "{{ ansible_user }}"&lt;BR /&gt;password: "{{ ansible_password }}"&lt;BR /&gt;validate_certs: no&lt;BR /&gt;method: DELETE&lt;BR /&gt;return_content: yes&lt;BR /&gt;delegate_to: "{{ splunk_node_secondary }}"&lt;BR /&gt;loop: "{{ db_connect_second_chkpt_key | default([]) }}"&lt;BR /&gt;loop_control:&lt;BR /&gt;label: "{{ inp_second_key }}"&lt;BR /&gt;loop_var: inp_second_key&lt;BR /&gt;when: db_connect_second_chkpt_key is defined&lt;/P&gt;&lt;P&gt;- name: Enumerate db connect secondary inputs&lt;BR /&gt;ansible.builtin.uri:&lt;BR /&gt;url: "&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;{{ item.inputName }}"&lt;BR /&gt;user: "{{ ansible_user }}"&lt;BR /&gt;password: "{{ ansible_password }}"&lt;BR /&gt;validate_certs: no&lt;BR /&gt;method: GET&lt;BR /&gt;return_content: yes&lt;BR /&gt;status_code:&lt;BR /&gt;- 404&lt;BR /&gt;- 200&lt;BR /&gt;- 500&lt;BR /&gt;delegate_to: "{{ splunk_node_secondary }}"&lt;BR /&gt;register: db_connect_primary_check&lt;/P&gt;&lt;P&gt;- name: Set fact for secondary keys blank&lt;BR /&gt;ansible.builtin.set_fact:&lt;BR /&gt;db_connect_second_chkpt_key: []&lt;/P&gt;&lt;P&gt;- name: Delete db connect secondary inputs&lt;BR /&gt;ansible.builtin.uri:&lt;BR /&gt;url: "&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;{{ item.inputName }}"&lt;BR /&gt;user: "{{ ansible_user }}"&lt;BR /&gt;password: "{{ ansible_password }}"&lt;BR /&gt;validate_certs: no&lt;BR /&gt;method: DELETE&lt;BR /&gt;return_content: yes&lt;BR /&gt;status_code:&lt;BR /&gt;- 204&lt;BR /&gt;delegate_to: "{{ splunk_node_secondary }}"&lt;BR /&gt;when: '"errors" not in db_connect_primary_check.content'&lt;/P&gt;&lt;P&gt;- name: Post db connect secondary inputs&lt;BR /&gt;ansible.builtin.uri:&lt;BR /&gt;url: "&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;BR /&gt;user: "{{ ansible_user }}"&lt;BR /&gt;password: "{{ ansible_password }}"&lt;BR /&gt;validate_certs: no&lt;BR /&gt;method: POST&lt;BR /&gt;body: "{{ init_chkpt_value_disabled }}"&lt;BR /&gt;return_content: yes&lt;BR /&gt;body_format: json&lt;BR /&gt;register: db_connect_secondary_post&lt;BR /&gt;retries: 3&lt;BR /&gt;delay: 10&lt;BR /&gt;until: "db_connect_secondary_post.status == 200"&lt;BR /&gt;delegate_to: "{{ splunk_node_secondary }}"&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 10:03:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Storage-for-DB-Connect-Checkpoint-values/m-p/751191#M22828</guid>
      <dc:creator>Bazza_12</dc:creator>
      <dc:date>2025-08-07T10:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Storage for DB Connect Checkpoint values</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Storage-for-DB-Connect-Checkpoint-values/m-p/751196#M22829</link>
      <description>&lt;P&gt;You can edit your message and insert the ansible part in either a preformatted paragraph or a code box. Then it will not get butchered (most importantly - the indents will be preserved).&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 10:26:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Storage-for-DB-Connect-Checkpoint-values/m-p/751196#M22829</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-08-07T10:26:09Z</dc:date>
    </item>
  </channel>
</rss>

