Skip to content

Conversation

joshdover
Copy link
Contributor

@joshdover joshdover commented Mar 17, 2022

What does this PR do?

Fixes the missing ecs.version fields on the elastic_agent package.

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.

How to test this PR locally

  1. Run elastic-package build
  2. Run elastic-package stack up
  3. Go to Discover and within the logs-* data view, type ecs.version: "8.0.0" into the filter bar
  4. Verify that logs from elastic_agent are shown

Related issues

Screenshots

image

@elasticmachine
Copy link

elasticmachine commented Mar 17, 2022

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2022-03-18T12:46:26.486+0000

  • Duration: 12 min 32 sec

Test stats 🧪

Test Results
Failed 0
Passed 30
Skipped 0
Total 30

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@joshdover joshdover added bug Something isn't working, use only for issues Team:Fleet Fleet team [elastic/fleet] Integration:elastic_agent Elastic Agent labels Mar 18, 2022
@joshdover joshdover marked this pull request as ready for review March 18, 2022 12:04
@joshdover joshdover requested a review from a team as a code owner March 18, 2022 12:04
@elasticmachine
Copy link

Pinging @elastic/fleet (Team:Fleet)

@joshdover joshdover marked this pull request as draft March 18, 2022 12:13
@joshdover
Copy link
Contributor Author

Hold on, didn't quite do this right

@joshdover joshdover changed the title Fix elastic_agent ecs fields Add ecs.version to elastic_agent fields Mar 18, 2022
@joshdover joshdover marked this pull request as ready for review March 18, 2022 12:19
@ruflin
Copy link
Contributor

ruflin commented Mar 18, 2022

I already approved but now wonder why you only picked the logs dataset?

@joshdover
Copy link
Contributor Author

I already approved but now wonder why you only picked the logs dataset?

Fixed, good catch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working, use only for issues Integration:elastic_agent Elastic Agent Team:Fleet Fleet team [elastic/fleet]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Fleet]: Different ecs version for a single agent found under Discover tab and unable to filter data using 8.0.0 version.
4 participants