[Elasticsearch + APM Server Binary + Distributed Tracing] Latency Distribution: No data to display, and no traces are shown

I don't think the property xpack.fleet.isAirGapped: true work with kibana version 8.6.0.

However, I was able to get it to work on Windows by following the above attached thread. Setting up the following property in kibana.yml file did the trick.

xpack.fleet.packages:
  - name: apm
    version: 8.6.0

Do not forget to put two spaces before the hyphen sign and one space after the hyphen sign. You need to mention version as well since it is a required field.

Unfortunately, the above solution did not work on Linux. To make it run on Linux, set up the following property in kibana.yml file by following this thread.

xpack.fleet.registryUrl: "http://localhost:8899"

Make sure the port is down i.e. unreachable.

In either scenarios, run the following query from dev tools in kibana

POST kbn:/api/fleet/epm/packages/apm/8.6.0
{ "force": true }

resource
Hopefully, someone finds it helpful.