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!

.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 ...