-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
host.ip and source.ip have conflicting data types in the metrics-* index pattern #73797
Comments
Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui) |
Pinging @elastic/fleet |
This might be an issue with the integrations, cc @elastic/integrations |
The right type should be ip. @fearful-symmetry it seems linux package does not use it? @jen-huang @mattkime One other issue with index patterns. In an ideal world, the above conflicts would not happen but in reality we will see this more and more often. The problem above comes from the fact that we have |
A while ago I tried to purge all the errant |
@fearful-symmetry Can you follow up on this with a fix? |
@ruflin Is there a something that you'd like to see changed in index patterns? |
Yep. Wanted to fix this last week, ended up getting sidetracked. |
Fixing this now, but the more that I look at this, the more I wonder what |
Ah, never mind, it reports the IP if there's a remote user. |
@mattkime I think the problem lies here not necessarily directly with index pattern as it is correct that there is a conflict. It is the more fundamental issue that we require a |
This can be something handled by In fact, once we have such a single source of truth, we can take this a step further. Packages can then simply reference an ECS field name without needing to specify any more information about the field like its data type, description, etc. At build time ( WDYT @mtojek @ruflin? We can flesh this out further in a dedicated issue in the |
@ycombinator This sounds fantastic! I think it would help alleviate some of the ECS field duplication burden mentioned in elastic/package-spec#63 |
Ah, thanks for linking to elastic/package-spec#63, @ebeahan. Sounds like that issue is proposing pretty much exactly what I proposed above as well! |
Lets continue the discussion in elastic/package-spec#63 around the validation. Thanks @ebeahan for referencing in. |
Kibana version: 7.9.0-SNAPSHOT
Elasticsearch version: 7.9.0-SNAPSHOT
Original install method (e.g. download page, yum, from source, etc.): Docker
Describe the bug:
There are 2 conflicting fields, namely
host.ip
andsource.ip
in the defaultmetrics-*
index pattern.Steps to reproduce:
elastic-agent-7.9.0-SNAPSHOT
(withsystem
integration enabled)metrics-*
index patternExpected behavior:
host.ip
andsource.ip
should be mapped toip
data type.Screenshots (if relevant):
The text was updated successfully, but these errors were encountered: