Skip to content
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

Elastic agent doesn't respect config file parameters #28

Closed
munavirch opened this issue Nov 23, 2021 · 1 comment · Fixed by elastic/beats#29297
Closed

Elastic agent doesn't respect config file parameters #28

munavirch opened this issue Nov 23, 2021 · 1 comment · Fixed by elastic/beats#29297
Assignees
Labels
bug Something isn't working good first issue Good for newcomers Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team v8.1.0

Comments

@munavirch
Copy link

Elastic agent doesn't seem to respect the parameters specified in the config file. As per below config, gRPC should bind to 6790. Rather it binds on 6789 (default).

agent.grpc:
  address: localhost
  port: 6790

Here's the open ports for ES agent after running it.

[elastic-agent.exe]
TCP    127.0.0.1:6789         127.0.0.1:53942        ESTABLISHED     27460
[elastic-agent.exe]
TCP    127.0.0.1:6789         127.0.0.1:53945        ESTABLISHED     27460
[elastic-agent.exe]
TCP    127.0.0.1:6789         127.0.0.1:53954        ESTABLISHED     27460
[elastic-agent.exe]
TCP    127.0.0.1:6789         127.0.0.1:63411        ESTABLISHED     27460
@ruflin ruflin added the Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team label Nov 23, 2021
@jlind23 jlind23 added bug Something isn't working good first issue Good for newcomers 8.1-candidate labels Nov 23, 2021
@narph narph self-assigned this Dec 6, 2021
@narph
Copy link

narph commented Dec 9, 2021

hi @munavirch , elastic/beats#29297 should fix this issue, meanwhile, if you add the:

agent.grpc:
  address: localhost
  port: 6790

inside fleet.yml , things should work. Let us know if they don't.

v1v pushed a commit to v1v/elastic-agent-client that referenced this issue Sep 5, 2022
This will display all the issues in the diff on Github which gives
better developer experience.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team v8.1.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants