Comments (12)
@ph @urso @jen-huang I think we should change the default port used (if not port is specified) for fleet-server now to 80/443 as if we do it later, it is a breaking change. Thoughts?
from elastic-agent.
I think we should change the default port used (if not port is specified) for fleet-server now to 80/443 as if we do it later, it is a breaking change. Thoughts?
+1 on using default HTTP ports.
We still can do breaking changes to fleet-server.
from elastic-agent.
Pinging @elastic/agent (Team:Agent)
from elastic-agent.
@nchaulet Stumbled over this when testing Kibana without a port specified
@simitt What is apm-server doing here?
from elastic-agent.
No sure what you mean - the APM Server defaults to 8200
if no port is specified.
from elastic-agent.
I the agent is doing the same for ES and Kibana (if you do not specify port it's going to use 5601 as default)
I agree it's confusing, and the port should probably be the default for the protocol 80 or 443. @blakerouse do you think it's something we can change agent side?
Otherwise we probably need to have a fix in Kibana to always explicitly add the port to the agent policy too.
from elastic-agent.
@simitt What about apm agents. If I just spin up an APM Agent and point it to localhost, will it pick 8200 or 80? I think this is the scenario we have here.
I think we should do both:
- By default point to 80 / 443
- Always add the port by default in Kibana
from elastic-agent.
I also filed elastic/kibana#98869 which would help to better bubble up this issue.
from elastic-agent.
What about apm agents.
The port needs to be specified in the APM_SERVER_URL
when configuring the APM agents; if no URL is configured they send data to http://localhost:8200
by default.
Thanks for opening elastic/kibana#98869. IMO it shouldn't matter which default port the Fleet Server listens to. The URL presented to users via Kibana UI or Cloud UI should always contain the fully qualified URL including the port. For cases where there is a proxy in between, the default port is not even exposed to users.
from elastic-agent.
@simitt If not url is specified, I understand it is http://localhost:8200
. But what if http://localhost
or https://localhost
is set? If I remember correctly it will default to 80 / 443 and that is what I think should the elastic agent do too.
from elastic-agent.
Another similar issue elastic/beats#25669 came up where agent defaults to 5601
for Kibana port when there isn't one defined.
On Kibana side we also had to do a fix to always expose Elasticsearch port too elastic/kibana#99240 as agent will default to 9200
.
Can we get rid of these default ports altogether?
from elastic-agent.
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)
from elastic-agent.
Related Issues (20)
- [Flaky Test]: TestEndpointSecurityNonDefaultBasePath, TestEndpointSecurityUnprivileged – version conflict, document already exists HOT 7
- Error while enrolling unprivileged agent [mac] HOT 4
- Actionable error message when attempting to `inspect` an unprivileged Agent as a privileged user HOT 4
- Actionable error message when attempting to `enroll` an unprivileged Agent as a privileged user HOT 7
- Detect and fail early if user attempts to upgrade Fleet-managed Agent using the CLI HOT 4
- [Flaky Test]: TestRepeatedInstallUninstall – failed to set user elastic-agent-user password for service HOT 8
- `--insecure` flag should not be required during enroll/install because we have an `http` FLeet URL HOT 7
- Agent/beats gRPC over domain sockets/named pipes HOT 1
- Make `kubeletstatsreceiver` available in `otel` mode HOT 1
- Improve test proxy/mock fleet server to support further elastic-agent TLS tests HOT 3
- Fleet client configuration validation should take http status code into account HOT 5
- crash when logging empty line HOT 4
- [Windows] TestProxyURL fails with `access denied` error on `fleet.enc` HOT 8
- Can I customize the "agent.name" when sending data to ES instead of using hostname? HOT 1
- [Flaky Test]: TestRpmLogIngestFleetManaged/Monitoring_logs_are_shipped – failed to evaluate all symlinks HOT 3
- Integration tests framework creates more OGC VMs than needed HOT 2
- Extract creating of ESS deployment for integration tests in a separate mage target HOT 5
- Run Elastic Agent in `otel` mode as a service HOT 3
- [Integration Test Framework] Dump process list on first failure HOT 1
- [Flaky Test]: TestActionDispatcher/Dispatch_multiples_events_returns_one_error – Expected error HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elastic-agent.