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
Register for .conf21 Now! Go Vegas or Go Virtual!

How will you .conf21? You decide! Go in-person in Las Vegas, 10/18-10/21, or go online with .conf21 Virtual, 10/19-10/20.