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

[Observability Onboarding] Auto-detect flow: Generated config files are not valid #199117

Closed
flash1293 opened this issue Nov 6, 2024 · 3 comments
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Team:Fleet Team label for Observability Data Collection Fleet team Team:obs-ux-logs Observability Logs User Experience Team

Comments

@flash1293
Copy link
Contributor

Kibana version: serverless/main

Describe the bug: When going through the auto-detect flow, some generated config files like for the system or docker integration are not valid.

Steps to reproduce:

  1. Go through onboarding flow
  2. Install system integration
  3. Errors are shown

Expected behavior:

Should ship data

Errors in browser console (if relevant):

Waiting for healthy status...
curl: (22) The requested URL returned error: 400
Elastic Agent is not healthy.\nCurrent status: FAILED / Invalidcomponentmodel:renderinginputsfailed:condition\\u003cCONDITION\u003e\evaluationfailed:2errorsoccurred:\n\t*conditionline1column0:extraneousinput'\u003c'expecting{TRUE,FALSE,FLOAT,NUMBER,NOT,NAME,STEXT,DTEXT,'(','[','{','$${','${'}\n\t*conditionline1column10:mismatchedinput'\u003e'expecting'('\n\n.\nFor help, please see our troubleshooting guide at https://www.elastic.co/guide/en/fleet/8.13/fleet-troubleshooting.html.

Any additional context:

This is caused by placeholders being added to the generated yaml:

const placeholder = getPlaceholder(varDef);

e.g.

  - id: system-system/metrics
    type: system/metrics
    streams:
      # System core metrics: Collect System core metrics
      - id: system/metrics-system.core
        data_stream:
          dataset: system.core
          type: metrics
        metricsets:
          - core
        core.metrics:
          - percentages
        system.hostfs: <SYSTEM.HOSTFS> # Proc Filesystem Directory: The proc filesystem base directory.
        tags:
          - <TAGS> # Tags
@flash1293 flash1293 added bug Fixes for quality problems that affect the customer experience Team:Fleet Team label for Observability Data Collection Fleet team Team:obs-ux-logs Observability Logs User Experience Team labels Nov 6, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-logs-team (Team:obs-ux-logs)

@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@flash1293
Copy link
Contributor Author

flash1293 commented Nov 7, 2024

Closed by #199168

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Team:Fleet Team label for Observability Data Collection Fleet team Team:obs-ux-logs Observability Logs User Experience Team
Projects
None yet
Development

No branches or pull requests

3 participants