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]: TestActionDispatcher/Dispatch_multiples_events_returns_one_error – Expected error HOT 5
- allow multiple hosts to be passed in --fleet-server-es flag HOT 8
- QA test: State Store migrations HOT 4
- Make `elasticinframetricsprocessor` available in `otel` mode HOT 1
- [windows] move service startup to beginning of run function HOT 1
- Elastic Agent on Windows cannot be stopped or removed if --delay-enroll is retrying HOT 6
- Handle new action for switching Agent from privileged to unprivileged mode HOT 6
- [Fleet]: Multiple logs: `[elastic_agent][info] got checkin with pid 0` are generated for installed agent. HOT 5
- [Windows] Service startup failing on CI with otel dependencies linked HOT 4
- [Windows] - `system.diskio` datastream missing on Kibana for unprivileged mode. HOT 6
- Kubernetes e2e tests HOT 10
- Installing elastic agent on AWS EKS HOT 5
- Development agent gets unhealthy on adding Elastic Defend. when not added to the primary agent. HOT 9
- Retry artifact downloads in the integration test framework (artifact fetcher) HOT 2
- Support hints based autodiscover for Fleet managed Agents HOT 1
- [E2E test] Ingesting data with OTel-based shipper pipeline
- `panic: The system cannot find the file specified` when installing Elastic Agent on AWS EC2 Windows Server HOT 3
- Elastic Agent should accept CA fingerprint containing colons HOT 4
- High memory and CPU consumption when fleet-server fails to start during enroll HOT 2
- Clarify cli flags for TLS config for fleet-server, ES and the gent itself HOT 2
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.