StackStorm / st2

StackStorm (aka "IFTTT for Ops") is event-driven automation for auto-remediation, incident responses, troubleshooting, deployments, and more for DevOps and SREs. Includes rules engine, workflow, 160 integration packs with 6000+ actions (see https://exchange.stackstorm.org) and ChatOps. Installer at https://docs.stackstorm.com/install/index.html
https://stackstorm.com/
Apache License 2.0
6.11k stars 746 forks source link

HTTP Requests logs for rules #5617

Open vicgb opened 2 years ago

vicgb commented 2 years ago

Hello everyone.

There is some option to follow on streaming events of the type CREATE, DELETE, PUT, etc for a rule, by pointing to.. /stream/v1/stream? I mean, some options for listening into HTTP Requests that affect rules such as a rule has been created or updated or deleted.

What I would like is to see something similar to what you can see with /stream/v1/stream/events=st2.executions... but with any events relative to rules.

Thanks in advance.

nzlosh commented 2 years ago

Not that I'm aware of, you'll need to poll the api https://api.stackstorm.com/api/v1/ruleenforcements/

vicgb commented 2 years ago

Agreed. I was looking for a way to push from the stackstorm API any HTTP Request instead of doing periodic pulls, so as not to overload the system. In any case, I'll take a look at it.

Thank you very much :)