All Apps and Add-ons

How to save/configure the DB SQL query input which is returning the Zero rows results at the point of save/configuration in Splunk DB connect app V2. Please provide the solution i.e. without using back-end configuration and Splunk service restart.

arunsunny
Path Finder

How to save/configure the DB SQL query input which is returning the Zero rows results at the point of save/configuration in Splunk DB connect app V2. Please provide the solution i.e. without using back-end configuration and Splunk service restart.

0 Karma
1 Solution

tweaktubbie
Communicator

Saving any query producing a result, and editing the inputs.conf of the app containing that query, will be picked up immediately without refresh/reload actions. But it remains weird even with last months version 3.2.1 you still can't push the Save button. Obviously it didn't come to the programmer's mind queries like checks for rare situations or states/events will be run that don't produce results. But 'hacking' the conf file does not sound typo proof and is for multiple administrative actions an unnecessary amount of work. This definitely has to be fixed in 3.2.2

View solution in original post

0 Karma

tweaktubbie
Communicator

Saving any query producing a result, and editing the inputs.conf of the app containing that query, will be picked up immediately without refresh/reload actions. But it remains weird even with last months version 3.2.1 you still can't push the Save button. Obviously it didn't come to the programmer's mind queries like checks for rare situations or states/events will be run that don't produce results. But 'hacking' the conf file does not sound typo proof and is for multiple administrative actions an unnecessary amount of work. This definitely has to be fixed in 3.2.2

0 Karma

arunsunny
Path Finder

Somehow I find out work around, It will use back-end configuration but we can avoid the Splunk service restart.

Manually edit the inputs.conf and performed the below.

For DB Connect v1 : splunk _internal call /services/apps/local/dbx/_reload

For DB Connect v2 : splunk _internal call /services/apps/local/splunk_app_db_connect/_reload

0 Karma

tweaktubbie
Communicator

I don't know why my inputs-file change gets picked up immediately... On V2 it does, that's the reason we migrated from V1. That reload call didn't work for us, and restarting the splunk server locally was the only option.

But it is annoying as we have DBA's maintaining the DB Connect app contents; and now we have to set/change their queries in config files. Why did they implement this 0 Result issue that V1 didn't have... Glad you have a work around though! 😉

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Introducing ITSI 5.0: Unified Visibility and Actionable Insights

Introducing ITSI 5.0: Unified Visibility and Actionable Insights Tuesday, July 21, 2026  |  10:00AM PT / ...

Inside Splunk Agent Observability: Understanding Agent Behavior, Tokens & Costs

Inside Splunk Agent Observability:Understanding Agent Behavior, Tokens & Costs Thursday, August 06, ...

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...