-
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
[Stack Monitoring] Shard Activity for completed recoveries shows N/A on Total Time column #135041
Comments
Pinging @elastic/infra-monitoring-ui (Team:Infra Monitoring UI) |
Any traction on this? It seems the lack of the |
Still no action on this? We just upgraded to 8.6.2, and this bug has still not been addressed. |
Didn't notice the issue was already logged when creating elastic/beats#34427. The fix is currently in review and will be available in 8.7.0. Closing this in favor of the dup elastic/beats#34427 |
This is unfortunately still not fixed in 8.8.1. We just upgraded today and are quite disappointed this issue is more than a year old now and still not resolved. |
![]() This screenshot is from my local machine, running the stack at 8.8.1 from source, which works. @MakoWish Can you share more details about your setup? I will share in a moment the query to run and the expected results so you can compare your own data to that. |
I'm assuming you're using Metricbeat so this should be the query (replace
And this is what the result should look like result.json.zip Can you please verify that the recoveries in your result have the property |
We are using Elastic Agent with the Elasticsearch integration to collect logs and metrics. What kind of voodoo are you pulling over there? I just went to grab a screenshot, and it is now showing the times correctly again. We upgraded our cluster yesterday, performing a rolling restart on each node, including our two Kibana/coordinating nodes, and it was still showing Disregard! |
Elastic Agent runs Metricbeat as a subprocess and their versions should align. So if you have Agent 8.8.1 it should bundle Metricbeat 8.8.1 which should include the fix as far as I can tell. Oddly enough we had a similar issue pop up internally, perhaps I can share something more if that investigation leads somewhere. The only other aspect I could think of is the mappings applied but that shouldn't really affect the shape of the reported documents, but there mappings included in the Elasticsearch Integration. Perhaps there was an update of the version there that could have made a change? In any case, glad it's working but I would be happier if we knew why :D |
Yeah, would be good to know why it was still not working initially, but also glad it is now. |
Summary
We heard of a problem with the
Total Time
column in the Shard Activity table showingN/A
After some investigation, I found that the
/api/monitoring/v1/clusters/{clusterUuid}/elasticsearch
endpoint gets the shard activity by querying both ECS and legacy index patterns. However both endpoint and table look at fields that don't exist on ECS docsThese fields are:
The existing fields on ECS are
start_time
andstop_time
. This mismatch causes the table to display wrong info.ES mapping: https://github.com/elastic/elasticsearch/blob/b318cd6f80aaa94fcd074fae2509dc5e028c1b31/x-pack/plugin/core/src/main/resources/monitoring-es-mb.json#L1417
What metricbeat does: https://github.com/elastic/beats/blob/87949288faf8450b35a12ae946050444d4272c18/metricbeat/module/elasticsearch/index_recovery/data.go#L76
AC
The text was updated successfully, but these errors were encountered: