Splunk Search

How to DBX3 dbxoutput command

khyoung7410
Communicator

Hi
In dbx1, the dboutput command was used as follows :
index=_internal source=*metrics.log group=per_source_thruput
| eval opt_dt=strftime(_time,"%F")
| eval series_nm=series
| eval mb=kb/1024
| table series_nm, series, mb, opt_dt
| dboutput database=MS type=sql "insert into bigdata_splunk_daily (series_nm, series, mb, opt_dt)
values ($series_nm$, $series$, $mb$, $opt_dt$)"

How should I used it in dbx3?

Tags (1)
0 Karma

p_gurav
Champion

You can use dbxoutput only. Refer below doc:
http://docs.splunk.com/Documentation/DBX/3.1.3/DeployDBX/Createandmanagedatabaseoutputs#Use_dbxoutpu...

Also you can create output using UI.

0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...