APM empty with entries in apm-* indexes


(Andrej Guran) #1

APM dashboard is not showing any entries (even with expanding time to last 7 days). It shows only: "Looks like you don't have any services with APM installed. Let's add some!"
Request in APM dashboard: http://kibana:5601/api/apm/services?start=2018-09-14T09%3A20%3A57.371Z&end=2018-09-21T09%3A20%3A57.372Z is returning an empty array and request:

http://kibana:5601/api/apm/status/agent

is returning just: {"data_found":false}

I have data in elasticsearch index:
GET apm-server-*/_search

{
  "took": 1,
  "timed_out": false,
  "_shards": {
    "total": 10,
    "successful": 10,
    "skipped": 0,
    "failed": 0
  },
  "hits": {
    "total": 80,
    "max_score": 1,
    "hits": [
      {
        "_index": "apm-server-2018.09.20",
        "_type": "doc",
        "_id": "GDNX9mUBD-fXZyWkhXAt",
        "_score": 1,
        "_source": {
          "transaction": {
            "duration": {
              "us": 550000
            },
            "type": "HTTP",
            "id": "e260d9bb-ef9b-404c-9652-b23b3282fb71",
            "result": "200",
            "name": "GET /",
            "sampled": true
          },
          "tags": [
            "beats_input_raw_event"
          ],
          "host": {
            "name": "a8912a2fbcd9"
          },
          "beat": {
            "version": "6.4.1",
            "hostname": "a8912a2fbcd9",
            "name": "a8912a2fbcd9"
          },
          "@timestamp": "2018-09-20T09:37:34.292Z",
          "@version": "1",
          "processor": {
            "name": "transaction",
            "event": "transaction"
          },
          "context": {
            "service": {
              "agent": {
                "name": "elastic-php",
                "version": "6.3.2"
              },
              "version": "na",
              "name": "localBackend",
              "framework": {
                "name": "Laravel",
                "version": "5.1.43 (LTS)"
              },
              "language": {
                "name": "php",
                "version": "7.1.1"
              }
            },
            "system": {
              "architecture": "x86_64",
              "hostname": "d6eeaed688b8",
              "platform": "Linux",
              "ip": "176.74.57.22"
            },
            "request": {
...

Any idea what is misconfigured?
Thanks


(Silvia Mitter) #2

Hi Andrej,
which version of APM Server and Kibana are you using?
I am not aware of issues with APM dashboards. According to the message you posted, the issue might be with the curated APM UI though. There was an issue with the UI when upgrading to version 6.4.0. You can either apply a fix manually or upgrade to the latest release 6.4.1 where this has been fixed, see APM release notes.


(Andrej Guran) #3

I am running: apm-server version 6.4.1 (amd64), libbeat 6.4.1 [a0b8185430f07f99b8b549d35deecfaf5a5b4694 built 2018-09-13 21:19:09 +0000 UTC]
and kibana:Version: 6.4.0


(Silvia Mitter) #4

In this case updating Kibana to 6.4.1 should fix the issue.


(system) #5

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.