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

Disable date detection in index templates #3528

Merged
merged 1 commit into from
Feb 5, 2017

Conversation

andrewkroh
Copy link
Member

We use dynamic fields in some places and date detection is enabled by default so if a Beat sends a dynamic string field that looks like a date, the field mapping will be date. This means that all follow on data using the same field name must also be a date or else a field mapping exception will occur. Disabling date detection will make the generated index mappings more predicable.

Closes #3389

We use dynamic fields in some places and date detection is enabled by default so if a Beat sends a dynamic string field that looks like a date, the field mapping will be date. This means that all follow on data using the same field name must also be a date or else a field mapping exception will occur. Disabling date detection will make the generated index mappings more predicable.

Closes elastic#3389
@ruflin ruflin merged commit 541278a into elastic:master Feb 5, 2017
@ruflin
Copy link
Member

ruflin commented Feb 5, 2017

This could mainly have an effect on "dynamic" fields which are coming from prometheus/collector etc. But if that is becoming an issue, we should fix it there somehow. It seems date_detection can only be set on the root object.

@andrewkroh andrewkroh deleted the feature/date-detection-off branch March 31, 2017 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants