Can anyone let me know which is better option to fetch execution history from Stackstorm HA to ELK.
StackStorm exposes some metrics, see: Metrics and Instrumentation — StackStorm 3.1.0 documentation
While this was tested to work with Statsd and Prometheus, you’ll need to find the way to transport these metrics into Kibana.
Another possibility is to parse the StackStorm execution logs via Logstash/Fluentd or any other log shipping/processing tool that works with Kibana. Check this example about log format: StackStorm Centralized Logging with Graylog - StackStorm
Hope this gives enough pointers to start exploring.