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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...