We are trying to integrate an Oracle DB, batch mode seems to work fine and we are able to get data with the query:
However, when changed to "Rising Mode" and using the "EVENT_TIMESTAMP" column as "Rising Column"
We are getting following error:
"error in dbxquery command external search command exited unexpectedly"
We have another DB that has similar Rising configuration and we are able to run the query and save it without problems
We opened a case with support:
Case #3806630 Cannot integrate Oracle DB
Support suggested the following:
We recommend you could create an alias column in the database table that already has the function converted Time Stamp so we do not need to have that mentioned in the rising column input query or if that is not feasible for your DB team then they can create a stored procedure on the database end that could be called from the batch input query, to fetch the records for the last 10 mins, and set the CRON for that batch input for every 10 mins in the DB Connect add-on. That way you can retrieve the db data into splunk that got ingested in the last 10 mins in the Database.
However seems that is not an option for the customer.
Also the best practice is not to use timestamp field as a checkpoint column. There are many reasons for this. With high volume db this field can contains several rows with same value. Also converting checkpoint values between different data types is not a good practice.
The best option is use enough big serial as a checkpoint field. You also must have index for that field.
Have you actually checked the logs to see _how_ the query failed? Have you gathered and reviewed debug logs?