Yes that post used the 7.X schema so that is probably why it did not work as the 8.x underlying schema / data model is a bit different. In addition perhaps you are using OTEL?
Perhaps if you Provide a bit more information we can help.
I see you are on 8.18 stack
Are you using the Elastic APM Agent or OTEL Agent...
Which One, Which Version? Which Language?
Are you using sampling? If so what is the value?
Hello Stephen,
Thanks for the welcom, and for your answer.
I will try to give some more info.
I use Elastic and Observability since a few months and i want to create a customized dashboard.
One of the parts I want to include is the Throughput of a service.
This is allready working in de APM. (standard feature i guess)
So i actually just want to copy/paste this data part.
I included this line : service.name: "......" and processor.event: "transaction".
The data is half of the value of the troughput at the APM at the same service.
(I'am not using OTEL Agent.) I'am using APM Server binary.
It also states : This is being replaced by a managed APM Server in Elastic Agent from version 8.0.
The Language is English.
And I don't think i'am using sampling.
Hello Stephen,
Thanks for your help.
I have created everything the same as you did.
It was very helpfull for me to see that I created the right settings.
Anyway I still got the differences.
I think that the sampling maybe the cause of my difference.
I am going to look at this tomorrow.
If you are using sampling you will need to use a different approach you have to use the summary metrics...
I think this is it. I might need to check a little more
EDIT : CORRECTED
Lens
Dataview: APM data View
KQL Bar : metricset.name : "service_transaction" and agent.name : * << CORRECTED
X Axis : Date Histogram on @timestamp
Y Axis : count. <<< CORRECTED...
Breakdown : Top Values service.name
Our Elastic apm-agents have the ELASTIC_APM_TRANSACTION_SAMPLE_RATE set to the value: '0.1'
Using the metricset.name : service_summary as a filter gives the following result (picture, last orange screenshot).
When I look at the instruction about and the documents with the metricset.name : service_summary I do not see direct clues on how to duplicate the existing throughput graph available in the APM app.
i tryed to embed screenshots. But i'am not allowed to sent uploads
Perhaps you can activate my permission to share data.
hopefully this helps you to understand the differences,
Apologies.... I Realized I had an issue / mistake above there is some "magic" here
So go to Lens
Try this.....
Lens
Dataview: APM data View
KQL Bar : metricset.name : "service_transaction" << CORRECTED
X Axis : Date Histogram on @timestamp minimum interval : 1m <<<< VERY IMPORTANT
Y Axis : count. <<< CORRECTED...
Normalize by 1 minute. << IMPORTANT
Breakdown : Top Values service.name
If you look at a doc you will see this... this is how the metrics work ....
This can be a little confusing there is only actually 1 document but it represents aggregate count of 6 ...
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.