All Apps and Add-ons

DB Connect 3.1.4 Error "unable_to_load_checkpoint" when configured via CLI

rajanala
Path Finder

Version: DB Connect 3.1.4
Issue: DB Connections and DB Inputs created via GUI works fine with no issues.
When new connections and inputs are added via CLI, the checkpoint for new inputs are not created and results in error.
ERROR c.s.d.s.dbinput.task.DbInputCheckpointRepository - action=unable_to_load_checkpoint

0 Karma
1 Solution

harsmarvania57
Ultra Champion

Hi,

Can you please let us know, how you configured via CLI ? If you modified db_inputs.conf directly then it will not create checkpoint file automatically. When you create new input via GUI, it will create initial checkpoint file with value you provided during setup.

View solution in original post

harsmarvania57
Ultra Champion

Hi,

Can you please let us know, how you configured via CLI ? If you modified db_inputs.conf directly then it will not create checkpoint file automatically. When you create new input via GUI, it will create initial checkpoint file with value you provided during setup.

rajanala
Path Finder

Modified db_inputs.conf directly.
And yes, that is exactly my question. Why is the checkpoint created when configured via GUI and why not when edited via CLI ?

0 Karma

harsmarvania57
Ultra Champion

When you create DB Input via GUI, it will hit DB Connect REST API (These are not publicly documented) which will create checkpoint file, however that is not the case when you modify config file directly.

0 Karma

danielbb
Motivator

@harsmarvania57 

Is it possible to define the data input in the back-end including the checkpoint information?

0 Karma

harsmarvania57
Ultra Champion

You can create checkpoint file manually but I'll not recommend it.

0 Karma

danielbb
Motivator

@harsmarvania57

Are you saying that when creating new Data Inputs, I should define the configurations from the UI?

0 Karma

harsmarvania57
Ultra Champion

Yes use the GUI, there are REST APIs but those are not documented by Splunk so I'll not use those as well.

0 Karma

danielbb
Motivator

We did exactly that over the weekend (after finding out that the back-end config doesn't work) and the problem is the initial load from the DB, that in some cases took hours, and we need to do couple of hundreds of DBs soon.

0 Karma

rajanala
Path Finder

That explains the issue. Thanks for the information.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...