-
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
Refresh mappings automatically #2236
Comments
+1 - I just spent ~5 hours trying to understand why some fields are missing. Automatic check, periodical check, or a warning would be great. |
This is done purposefully for now. We cache the mapping because large mappings are expensive to parse. We cache the normalized mapping to keep things speedy. We're looking into methods of offering a warning. |
Same as #1713? |
@jimmyjones2 I don't think it's exactly the same (although pretty similar), cause currently the new fields are displayed in _source field, but just not as a separate fields. in both cases, reloading field data manually through settings solves this. |
+1 I'm hitting this wall as well. I'm wondering how to approach this. The choke point is the refreshFields() js function. It does not have an external facing (non-browser) means to call it. The function is a wrapper for doing a GET then POST to ES, and involves a lot of overhead (ES parses and processes the request). Having ES update kibana upon new mappings seems a bit counter to the design schema (kibana knows about ES, but ES doesn't care if kibana exists). Since kibana will not receive 'refresh' commands from ES, kibana would have to do periodic refreshes which would get computationally expensive. This has left me putting the burden of refreshing onto the program indexing new data; when it handles new doc_types it can query/compare ES mappings to the .kibana cache update if needed. Contact me if you would like a python script that refreshes the .kibana cache. I'd like to brainstorm some possibilities and help implement an enhancement. Perhaps a means to know when a search produces results where not all fields are in the cache mapping? This happens in two places:
Ultimately, I would also like to hear from any kibana developers about the possibility to remove the need for any expensive parsing when creating the cache. If I understand things correctly the only parsing done in refreshFields is:
|
+1 for a check box option to allow auto-reload of field names |
Hi all, The main issue is that fields that are present in the index template(not the parsed cookie/query-params fields) are not searchable in Kibana until I refresh the list. Is there a way to tell KIbana what fields it must load for certain index patterns? Thanks, |
+1 I like the "check box option to allow auto-reload of field names" - but we automate many things and we would be happy with a server route - or a script! like
The advantage of a script is that the backend could trigger it when it is required (e.g. new data indexed) |
+1 for automatic refresh. I'd like to have a configuration parameter to specify the refreshing rate instead of having to do it manually. |
+1 for automatic refresh. |
+1 !!! |
+1 |
2 similar comments
+1 |
+1 |
Any update for this? |
I made a python based interface that has a feature that may help people facing this issue: https://github.com/rfarley3/Kibana |
Awesome! On September 22, 2015 3:10:32 PM EDT, R Farley [email protected] wrote:
|
@rfarley3: Thanks |
+1 for integrating support for auto refresh in to stock kibana please! |
+1 |
Replacing with #6498 |
+1 |
+1 |
+1 for automatic fields reloading |
+1 too |
+1 |
+1 |
2 similar comments
+1 |
+1 |
+1 Is there an endpoint that can be hit to do this from PHP? |
+1 |
1 similar comment
+1 |
resolved via #82223 and will be released as part of 7.11 |
When indexing new fields in elasticsearch, kibana doesn't displays the new fields (except from in the _source field). the way to 'tell' kibana that there are new fields in the index is by going into settings-->specific-index-->reload-field-list.
I believe that this should be done automatically. kibana should reload the index mapping and tell that there are new fields available and display them.
The text was updated successfully, but these errors were encountered: