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!

Faster Insights with AI, Streamlined Cloud-Native Operations, and More New Lantern ...

Splunk Lantern is a Splunk customer success center that provides practical guidance from Splunk experts on key ...

Splunk Enterprise Security: Your Command Center for PCI DSS Compliance

Every security professional knows the drill. The PCI DSS audit is approaching, and suddenly everyone's asking ...

Developer Spotlight with Guilhem Marchand

From Splunk Engineer to Founder: The Journey Behind TrackMe    After spending over 12 years working full time ...