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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...