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

Expose seting for "lookback" range for _field_stats API #4886

Closed
pjcard opened this issue Sep 8, 2015 · 5 comments
Closed

Expose seting for "lookback" range for _field_stats API #4886

pjcard opened this issue Sep 8, 2015 · 5 comments

Comments

@pjcard
Copy link

pjcard commented Sep 8, 2015

The issue 'Missing mappings' #3226 describes issues I too encountered when attempting to update my mappings. My problem was the same, that I was unaware that time based indicies limited the number of previous days in which they searched for new fields.

Now that I'm aware of it, this setting makes perfect sense, but it is hidden in the advanced page, underneath a warning about not changing it. I think perhaps it would be beneficial to either allow viewing or viewing and altering of the value at the point at which 'Reload field list is accessed'.

@w33ble
Copy link
Contributor

w33ble commented Sep 10, 2015

Dealing with time based indices in Kibana will be going away with #4342. Since it's all getting removed, we're not planning to enhance what we have now too much. I'm going to close this since there is already a workaround for it as you pointed out.

@w33ble w33ble closed this as completed Sep 10, 2015
@pjcard
Copy link
Author

pjcard commented Sep 10, 2015

Great news about the related enhancement, that actually solves another issue I've been having (how to efficiently target a range of date based indices).

But won't the reload mappings still require a lookback value? Even if it's using the _field_stats api instead of an index pattern, won't it still need to know how far back to look for new mappings?

@w33ble
Copy link
Contributor

w33ble commented Sep 10, 2015

That's a good point, the API will still need to be told how far back to look, and it would be nice if the user can specify that range. Since I don't see any specific mention of that in the _field_stats issue, I'm re-opening and linking that issue back here.

@w33ble w33ble reopened this Sep 10, 2015
@w33ble w33ble changed the title Expose indexPattern:fieldMapping:lookBack Expose seting for "lookback" range for _field_stats API Sep 10, 2015
@pjcard
Copy link
Author

pjcard commented Sep 11, 2015

Thanks, much appreciated.

@jbudz
Copy link
Member

jbudz commented Jul 21, 2017

We removed usage of the field stats API, closed by #12814

@jbudz jbudz closed this as completed Jul 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants