Not able to send add logstash output in Elastic Agent setup

What are you collecting with the Elastic Agent?

Maybe you can switch to use Filebeat/Winlogbeat instead of the Agent.