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 package doesn't contain all possible agent data streams #953

Closed
jen-huang opened this issue Apr 27, 2021 · 4 comments
Closed
Assignees
Labels

Comments

@jen-huang
Copy link
Contributor

In Kibana > Stack Management > Index Management, with just a Fleet Server agent enrolled and running, only the metrics-elastic_agent.elastic_agent-default has a specific index template attached to it:

image

The other ones just have the generic logs or metrics index template:

image

This is because the Elastic Agent package only ships elastic_agent data stream:
https://github.com/elastic/integrations/tree/d7e83a6aa3b94cb9a4a94c205c0c580ace6a7cee/packages/elastic_agent/data_stream

(also, the elasticsearch.index_template setting should be removed as it is invalid)

title: Elastic Agent
dataset: elastic_agent.elastic_agent
type: metrics
-elasticsearch:
-  index_template:
-    mappings:
-      dynamic: false

It should ship all the other data streams too so that Fleet can install index templates properly for all of them.

@jen-huang jen-huang added release-pending Team:Integrations Label for the Integrations team and removed release-pending labels Apr 27, 2021
@elasticmachine
Copy link

Pinging @elastic/integrations (Team:Integrations)

@elasticmachine
Copy link

Pinging @elastic/agent (Team:Agent)

@ruflin
Copy link
Contributor

ruflin commented Jul 15, 2021

Started a PR to get this fixed here: #1298

@ruflin
Copy link
Contributor

ruflin commented Sep 6, 2021

Closing as #1298 was merged and @nchaulet did a few follow up fixes.

@ruflin ruflin closed this as completed Sep 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants