Monitoring elasticstack whit elastic agent

Hi!

I've a production elasticsatack deployment (elasticsearch, kibana, logstash) these are running in containers with docker, and at the same time I've anoher deploy in diferent server with just elasticsearch, kibana and fleet server that I use to monitoring the producction server but now I'm trying to add elasticsearch intrgration to my agent-policy but I don't know if it's possible since it is running in a dockerized environment.

can anyone help me!

Thanks for reaching out, @erickhillo. Would something like what's described here work for you?