Atlantiraptor Docs

elastic_upload

Type: Plugin

Upload rows to elastic.

This uses the Elastic bulk upload API to push arbitrary rows to elastic. The query specified in query will be run and each row it emits will be uploaded as a separate event to Elastic.

You can either specify the elastic index explicitly using the index parameter or provide an _index column in the query itself to send the row to a different index each time.

Argument Type Description
query StoredQuery (required) Source for rows to upload.
threads int64 How many threads to use.
index string The name of the index to upload to. If not specified ensure a column is named ‘_index’.
type string The type of the index to upload to.
chunk_size int64 The number of rows to send at the time.
addresses list of string A list of Elasticsearch nodes to use.
username string Username for HTTP Basic Authentication.
password string Password for HTTP Basic Authentication.
cloud_id string Endpoint for the Elastic Cloud Service.
api_key string Base64-encoded token for authorization; if set, overrides username and password.
wait_time int64 Batch elastic upload this long (2 sec).
pipeline string Pipeline for uploads
disable_ssl_security bool Disable ssl certificate verifications (deprecated in favor of SkipVerify).
skip_verify bool Disable ssl certificate verifications.
root_ca string As a better alternative to disable_ssl_security, allows root ca certs to be added here.
max_memory_buffer uint64 How large we allow the memory buffer to grow to while we are trying to contact the Elastic server (default 100mb).
action string Either index or create. For data streams this must be create.
secret string Alternatively use a secret from the secrets service. Secret must be of type ‘AWS S3 Creds’

Required permissions: NETWORK

Platforms: macOS, Linux, Windows

Source: vql/server/elastic.go