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

Data stops for integrations with Logstash output selected, when agent is installed with --unprivileged flag. #4121

Closed
amolnater-qasource opened this issue Jan 23, 2024 · 4 comments

Comments

@amolnater-qasource
Copy link

Kibana Build details:

VERSION: 8.13.0-SNAPSHOT
BUILD: 70749
COMMIT: a0f4897f7c04069faf2a86dbda1dabea78c161c1
Artifact Link: https://snapshots.elastic.co/8.13.0-l534sdis/downloads/beats/elastic-agent/elastic-agent-8.13.0-SNAPSHOT-linux-x86_64.tar.gz

Host OS: Linux- SLES15, Ubuntu 22

Preconditions:

  1. 8.13.0 Snapshot linux agent should be installed.
  2. Linux Agents should be installed using below command:
    sudo ./elastic-agent install --url=<url> --enrollment-token=<token> --unprivileged

Steps to reproduce:

  1. Add Logstash output.
  2. Select Integrations output under Agent policy: Logstash Output.
  3. Observe agents get unhealthy and no new data is shipped for logstash output.

What's working fine:

  • Issue is not reproducible on Linux- SLES15, Ubuntu 22 when agents are installed without --unprivileged flag.

Screen Recording:

Data.streams.-.Fleet.-.Elastic.-.Google.Chrome.2024-01-23.14-58-01.mp4

Logs:

elastic-agent-diagnostics-2024-01-23T09-28-27Z-00.zip

Agent JSON:
ip-172-31-83-5-agent-details.zip

Expected Result:
Data should be generated for integrations with Logstash output selected, when agent is installed with --unprivileged flag.

Feature:
https://github.com/elastic/ingest-dev/issues/1766

@amolnater-qasource amolnater-qasource added bug Something isn't working Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team impact:high Short-term priority; add to current release, or definitely next. labels Jan 23, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@amolnater-qasource
Copy link
Author

@manishgupta-qasource Please review.

@manishgupta-qasource
Copy link

Secondary review for this ticket is Done

@amolnater-qasource
Copy link
Author

Sorry for the confusion team, there was some ports issue on Logstash output host.
We are closing this as working fine.

@amolnater-qasource amolnater-qasource removed bug Something isn't working Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team impact:high Short-term priority; add to current release, or definitely next. labels Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants