sample
turbot/flowpipe-samples/run-search-in-splunk
Get Involved
Version
License
Run Search in Splunk
Runs the provided search in Splunk, waits for the search to complete, and returns the results.
Installation
Download and install Flowpipe (https://flowpipe.io/downloads). Or use Brew:
brew tap turbot/tapbrew install flowpipeClone:
git clone https://github.com/turbot/flowpipe-samples.gitcd monitoring/run_search_in_splunkflowpipe mod installConnections
No connections are required.
Usage
Run the pipeline to search a query in Splunk
flowpipe pipeline run run_search_in_splunk --arg 'search_query="search *"' --arg insecure=falseConfiguration
To avoid entering variable values when running the pipeline or starting the server, you can set variable values:
cp flowpipe.fpvars.example flowpipe.fpvarsvi flowpipe.fpvars# Requiredsplunk_auth_token = "eyJraWQiOiJzcGx1bmsuc2Vjc..."splunk_server = "localhost"