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!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...