All Apps and Add-ons

Splunk DB Connect 2: How to fetch and read XML data from BLOB and datetime from timestamp fields in DB2 on Z/OS?

srinathd
Contributor

I am connecting to DB2 database on Z/OS using Splunk DB Connect 2. However, DB Connect is not fetching timestamp and xml fields properly. It is showing values as "## NOT SUPPORTED TYPE ##". How do I get the timestamp and xml fields properly?

0 Karma

jcoates_splunk
Splunk Employee
Splunk Employee

to some degree this is JDBC driver dependent... Splunk does text, not binary, so we need to get a text representation. That should be fine for XML and datetime, but if the driver is passing us binary representation, we can't eat it. To fix this, you can modify your SQL query to CAST or CONVERT the columns to VARCHAR or INT.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...