All Apps and Add-ons

Splunk DB Connect - Strip space from CHAR fields?

andreasknutsson
Engager

We have Splunk DB Connect tailing a table in an Oracle DB. Everything is working fine except that the events end up in Splunk with space characters filling out the fields of CHAR type up to the configured length.
ex:

2020-04-27 19:28:59.000, ACTION="replace    ", STATUS="OK   ", TYPE="FRAC        "

Is it possible to configure DB Connect to remove these extra space characters?
is it possible to add something to the SQL statement to accomplish this?

0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...