-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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] ECS compliant Elastic agent metadata sent to fleet #18006
Conversation
Pinging @elastic/ingest-management (Project:fleet) |
@@ -15,6 +15,57 @@ import ( | |||
"github.com/elastic/go-sysinfo/types" | |||
) | |||
|
|||
// ECSMeta is a collection of agent related metadata in ECS compliant object form. | |||
type ECSMeta struct { | |||
Agent *AgentECSMeta `json:"agent"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ph Same question as on the Kibana issue: I remember we said we prefix this agent meta data by elastic.
as there might be other agent metadata which correlates better with the ECS defition.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The guidance is that no brand name (or proper names in general) should get into the schema. ECS should only contain concepts to which multiple technologies can map.
So there's no need to "reserve" the prefix elastic.
, IMO.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, my concern was teams using namespaces and possible clash because in the "elastic" namespace. But I do understand the no "brand name" but I wonder if is something we should have internally or a process.
💚 Build SucceededExpand to view the summary
Build stats
|
…lastic#18006) * use meta object * changelog * agent.* => elastic.agent.*
What does this PR do?
Fixes sending of metadata to fleet where instead of generated map we send an ECS compliant object.
Tested with elastic/kibana#64452
Why is it important?
To be fully ECS compliant
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.