Splunk Search

How to rename a database input from "db_input_1" to "db_input_X" without losing state.xml values and maintain data integrity?

ronak
Path Finder

Hi

I've defined database input "db_input_1" and that points to index "index_1"...the setup is in production meaning the state.xml has latest rising column values (for incremental extracts)

I've a need to rename the database input to "db_input_X".

What would be my steps to follow to be able to make the change so that I don't lose the state.xml value, and my data integrity is not disturbed.

thanks, ronak

0 Karma

jcoates_splunk
Splunk Employee
Splunk Employee

Hi, it won't work to do this. The architecturally different DB Connect 2 would work though.

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

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...