-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fleet server / Elastic agent: "output not supported" using Logstash output on 8.6 #2316
Comments
What is the output of In this case the problem is the fleet-server itself doesn't support any output but Elasticsearch. This is intentional and has always been the case, fleet-server needs an Elasticsearch output to function. 8.6.x is likely just strictly enforcing this because of some changes we made under the hood. elastic-agent/specs/fleet-server.spec.yml Lines 13 to 14 in 98b8fe7
Can you share the agent policy you are using? Fleet server must somehow be getting associated with a Logstash output. |
That makes sense. I have no problem with Fleet servers going direct to Elasticsearch - they're permitted to on the network side and were set up that way intentionally. As long as I can also have the regular Agents go via Logstash, but I'm not sure I can configure it that way myself under a basic license - it's certainly not allowed via the Fleet interface, i.e., there's just one output choice for all agents. Gist of
The actual Fleet Server policy? It's just the default created by Kibana when I first set it up. Gist here. The Cheers. |
Thanks. In 8.6 we made a change in the agent that causes Fleet Server to refuse to start if it is associated with anything other than an Elasticsearch output. This appears to be interacting with the restrictions on output configuration with the basic license, causing your configuration from 8.5.3 to fail to work in 8.6.0. That Fleet Server is refusing to start in this situation is correct from its perspective, but this configuration with a basic license isn't something we specifically decided to break in 8.6. I'll follow up to see what we want to do about it. |
elastic/kibana#152234 (comment) is the issue you want to follow. I believe this may have been working by coincidence in 8.5.x, which is how we unintentionally broke it in 8.6. |
Nice one, thanks. Close this issue? |
Yes, closing this one since the fix is tracked somewhere else. |
Hi there,
I posted this over at discuss.elastic.co but didn't get any response. Apologies for skirting the issue rules but 8.6 is currently unusable. I'm reasonably sure it's a bug though, due to the issue occurring when upgrading from 8.5 to 8.6. Downgrading to 8.5 again resolves the issue.
elastic-agent status
on 8.6 agents showsDEGRADED
status, andFAILED / output not supported
for an unnamed(?) component,*
Discuss post, edited with new info:
I have a previously working* Fleet/Agent config with
8.5.3
and Logstash output configured.* aside from #1790 but I have a workaround for this.
When upgraded to
8.6.x
, when using the Logstash output, agents will appear offline in the Fleet Agent interface.Logstash, Elasticsearch and Kibana are all 8.6.2.
When using the Elasticsearch output agents will connect, however this is not a solution for me as ES is only reachable by a small subset of my agents.
It's 100% unusable in this state as all agents go offline, and I've had to downgrade the agents to 8.5.3 just to get going again.
The text was updated successfully, but these errors were encountered: