samples
turbot/flowpipe-samples/run-search-in-splunk
Get Involved
Version
Run Search in Splunk
Runs the provided search in Splunk, waits for the search to complete, and returns the results.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run run_search_in_splunk.pipeline.run_search_in_splunk \ --arg 'search_query=<string>' \ --arg 'insecure=<bool>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = run_search_in_splunk.pipeline.run_search_in_splunk args = { search_query = <string> insecure = <bool> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
splunk_auth_token | string | Yes | Auth token to authenticate requests with Splunk. | eyJraWQiOiJzcGx1bmsuc2Vjc... |
splunk_server | string | Yes | The Splunk server. | localhost |
search_query | string | Yes | The query to be searched. | - |
insecure | bool | Yes | Disable TLS verification. | - |
Outputs
Name | Description |
---|---|
search_result |