Splunk. Ship deploy results to Splunk so you can search and alert on them.
v2.0.0by musterDeploys, Rollbacks, Fleet
muster skill marketplace splunksourcetype="muster:deploy" status=success
1 event · last 15 minutes
{
"service": "web"
"hook": "post-deploy"
"status": "success"
"hostname": "build-1"
}host = build-1 · sourcetype = muster:deploy
Set up in three steps. Everything stays on this machine.
Install it
muster skill marketplace splunkAdd your credentials
muster skill configure splunkIt asks for:
- HEC URL
MUSTER_SPLUNK_HEC_URLhttps://your-splunk:8088/services/collector/event
- HEC tokenhidden while you type
MUSTER_SPLUNK_HEC_TOKENSettings › Data Inputs › HTTP Event Collector › New Token
Values go in the skill’s
config.env, which muster loads before each run.Turn it on
muster skill enable splunkFrom now on it runs by itself. Test it any time with
muster skill run splunk.
When it runs. The hooks it listens to.
- post-deploy
- After each service deploys
- post-rollback
- After each rollback
- fleet-deploy-end
- A fleet deploy finishes
- fleet-machine-deploy-end
- A machine finishes deploying
- fleet-rollback-end
- A fleet rollback finishes
Needs curl on the machine that deploys.