-
Notifications
You must be signed in to change notification settings - Fork 24.7k
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
Type : IP is not supported as dimension field #94380
Comments
Pinging @elastic/es-analytics-geo (Team:Analytics) |
Is this an Elasticsearch issue? I'm asking, because in order to mark fields as dimensions these fields need to use the |
In the field mapping if 'dimension: true' is annotated for a field, the field becomes a dimension. This has been the case for keyword type field. In such cases, in the index template these fields get 'time_series_dimension' attribute as you mention. For a field having metric type 'ip', when 'dimension: true' annotation is done, in the index template for these fields 'time_series_dimension' attribute is not observed. If ES supports dimension for fields of type ip, then the problem lies somewhere else . |
ES does support defining fields of type ip as dimensions. I suspect the problem lies elsewhere? |
@agithomas, Please check if there is any issue in the mapping done by Fleet. This issue as reference. |
@lalit-satapathy @agithomas we're planning to close this one as working as designed, but wanted to check with you to ensure that there isn't anything we are missing here. |
@wchaparro , i just did the testing of this feature and i could see
|
Elasticsearch Version
8.7.0-SNAPSHOT
Installed Plugins
No response
Java Version
bundled
OS Version
Ubuntu 18.08
Problem Description
The problem was identified when i tried to include
host.ip
of typeip
as dimension field. Inspite of annotating the field as dimension field, in the index template the field didn't receivetime_series_dimension": true
. It mapping appears as below in index mapping.To verify this, i created two additional fields, having field mappings (in
fields.yml
) as belowOn verification of component index template , below is my observation
Dimension field mapping appears correctly when the type is
keyword
. Please see belowDimension field mapping does not appears correctly when the type is
ip
. Please see belowSteps to Reproduce
time_series_dimension": true
in field mappingLogs (if relevant)
No response
The text was updated successfully, but these errors were encountered: