Atlantiraptor Docs

splunk_upload

Type: Plugin

Upload rows to splunk.

Argument Type Description
query StoredQuery (required) Source for rows to upload.
threads int64 How many threads to use.
url string The Splunk Event Collector URL.
token string Splunk HEC Token.
index string The name of the index to upload to. If not specified, ensure a column is named _splunk_index.
source string The source field for splunk. If not specified ensure a column is named _splunk_source or this will be ‘velociraptor’.
sourcetype string The sourcetype field for splunk. If not specified ensure a column is named _splunk_source_type or this will ‘vql’
chunk_size int64 The number of rows to send at the time.
skip_verify bool Skip SSL verification(default: False).
root_ca string As a better alternative to skip_verify, allows root ca certs to be added here.
wait_time int64 Batch splunk upload this long (2 sec).
hostname string Hostname for Splunk Events. Defaults to server hostname.
timestamp_field string Field to use as event timestamp.
hostname_field string Field to use as event hostname. Overrides hostname parameter.
secret string Alternatively use a secret from the secrets service. Secret must be of type ‘Splunk’
max_retries int64 Maximum number of retries for failed uploads (default: 3).
retry_wait int64 Base wait time in seconds for exponential backoff between retries (default: 2). Actual wait times: 2s, 4s, 8s, 16s…
idle_conn_timeout int64 How long to keep idle HTTP connections open in seconds (default: 55). Lower values help with firewalls/load balancer/HECs that close connections.

Required permissions: NETWORK

Platforms: macOS, Linux, Windows

Source: vql/server/splunk.go