-
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 ui] apm-server events indexed to metricbeat-*
not displayed in stack monitoring ui
#112926
Comments
Pinging @elastic/stack-monitoring (Team:Monitoring) |
Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui) |
Can you paste the |
The issue is about how (as I was told) stack monitoring UI should read from the |
@stuartnelson3 Sorry, I missed the part where you are reindexing the data. Here is the query we run to determine if we have APM data. You will need to replace
FYI, we are planning on removing |
I've been looking into this for a bit and I can easily reproduce the problem you describe, @stuartnelson3. There are a number of problems with the above query Chris posted, when it comes to the metricbeat mappings, which cause problems even when the data is directly reindexed.
{
"bool": {
"must": {
"term": {
"beats_stats.beat.type": "apm-server" // should be "beat.type": "apm-server"
}
}
}
}
The assumption that reading from metricbeat-* works seems to be false. We will need to look into this. @sayden @elastic/beats any insight you can provide here would be a huge help. |
OK so I think I've narrowed this down. The data stored in This will work when the aliases are installed and backported (if you run Metricbeat from master, you would get the aliases installed). This work is being tracked by this ticket: elastic/beats#26480 Here you can see where the alias is set up for In other words, once the aliases are installed, these queries should work as expected. |
As for this point from @simianhacker:
This is true for now. I've talked with @simitt about this and if there is no way to write to .monitoring or to a new data stream with the aliases installed, then we will have to continue reading from metricbeat for this case, but we would very much like to remove that due to large performance and error-handling costs that it introduces, for no benefit. |
@jasonrhodes I've confirmed that if we expose Since we have a path forward, and you're planning on removing |
@stuartnelson3 that sounds great! Then we can take a look at how to migrate to an APM monitoring "package" that indexes to data streams alongside the other work happening there. |
Kibana version:
7.16.0-SNAPSHOT
Elasticsearch version:
7.16.0-SNAPSHOT
Server OS version: CentOS Linux release 8.4.2105 (using
docker.elastic.co/kibana/kibana:7.16.0-SNAPSHOT
)Browser version: Firefox Develop 93.0b4 (64-bit)
Browser OS version: Ubuntu 21.04
Original install method (e.g. download page, yum, from source, etc.): docker container
Describe the bug: metrics ingested via metricbeat to the default
metricbeat-*
index are not displayed in the stack monitoring ui, even when they are documents re-indexed from a.monitoring-*
index (which are displayed in the stack monitoring ui).Steps to reproduce:
http.enabled: true
.monitoring-*
tometricbeat-*
, eg..monitoring-*
indexExpected behavior: stack monitoring ui reads from both
.monitoring-*
andmetricbeat-*
indices to populate the apm-server sectionAny additional context: This stems from a conversation where it was believed that stack monitoring had been updated to read from both indices.
The text was updated successfully, but these errors were encountered: