Elastic Agent on Windows - can't get syslog data sources working - is it just me?

Hello!

I've been using Elastic Agents on Windows with numerous integrations (security/event logs/O365), however I just can't get any integration that's syslog based (Sonicwall, Fortigate, Sophos) to work through a Windows based Elastic Agent.

I can confirm syslog traffic is making it to my host, so it's not firewall related (even tried turning the firewall off) - wireshark shows that the logs are arriving to the appropriate port on my hosts, however when I set up an integration on an agent, the logs are never picked up. I can make this work with a standard filebeat, but when I bring in the Elastic Agent (which is technically just managing filebeat under the hood) nothing happens.

I'm running this in Elastic Cloud and haven't gotten anywhere with support. I can see my elastic agent listening on the appropriate port with netstat, and I can see the agent is running, but it never does anything with the logs. At this point I'm stumped. Has anyone gotten this working or can think of something I might be missing?

Posted Jan 18, 2022, 1:20 AM UTC

34
SandhuX•

What's the host value set to in your Elastic Agent Integration for windows? Try using 0.0.0.0 instead of localhost or 127.0.0.1.

4
gregoldeOP•

THIS WAS IT! Thank you! As soon as I made the change the logs started flowing in.

3
[deleted]•

[removed]

1
SandhuX•

You're welcome. :)

1
gllermaly•

Did you find something in your logs? The files are in the data/{your-agent-id}/logs folder. Please post the output

1