We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
A good way to send data to the Splunk source is to use the Docker Splunk logging driver.
Configure the source:
sources: splunk: type: splunk_hec address: 127.0.0.1:8088 token: "nork" valid_tokens: [ "nork" ]
Then run flog in Docker with this:
flog
> docker run --log-driver=splunk --log-opt splunk-token=nork --log-opt splunk-url=http://localhost:8088 --log-opt splunk-format=json mingrammer/flog -n 2
Change the splunk-format option to either json, inline or raw to test the different formats.
splunk-format
json
inline
raw