All Apps and Add-ons

Migrate from dboutput to dbxoutput

jamesmarlowww
Path Finder

How would I convert this dboutput to a dbxoutput with db connect 2?

I have had a go converting it but I haven't had any luck. I haven't been able to find any examples or any documentation on it. It would be appreciated if you could please point me in the right direction or set me straight here 🙂

The only documentation I have found is "dbxoutput output=string" but that hasn't been enough to get it going

| dboutput type=sql database=MyDB streaming=true "INSERT /+APPEND/ INTO interaction_measure_data
(log_date,interaction_name,total_count,avg_response_time)
VALUES
($log_date$,$interaction_name$,$total_count$,$avg_response_time$)"

1 Solution

jcoates_splunk
Splunk Employee
Splunk Employee

hi,

you need to use the UI to make the output, then call it from the command line.

View solution in original post

duartet
Path Finder

Hi,

I'm migrating DB Connect v1 to v3 and I have the exact same problem. After defining the output in DB Connect, how are the previous type, database, table and streaming converted?

Regards,
Tiago

0 Karma

jcoates_splunk
Splunk Employee
Splunk Employee

hi,

you need to use the UI to make the output, then call it from the command line.

Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...