No data in uptime dashboard

My uptime dashboard is empty. I am able to see data flowing in the discover tab for the urls I have configured in the heartbeat.yml file.

I am able to see data in the Heartbeat default dashboard but the uptime is empty.

Here is my heartbeat.yml file config.

heartbeat.config.monitors:
  # Directory + glob pattern to search for configuration files
  path: ${path.config}/monitors.d/*.yml
  # If enabled, heartbeat will periodically check the config.monitors path for changes
  reload.enabled: false
  # How often to check for changes
  reload.period: 5s

# Configure monitors inline
heartbeat.monitors:
- type: http
  # List or urls to query
  urls: ["https://test1.example.com:7443/","https://test2.example.com:7443/","https://test3.example.com:7443/","https://test4.example.com:7443/","https://test5.example.com:7443/","https://test6.example.com:7443/","https://test7.example.com:7443/","https://test8.example.com:7443/","https://test9.example.com:7443/","https://test10.example.com:7443/","https://test12.example.com:7443/"]

  check.response.status: 200

  # Configure task schedule
  schedule: '@every 2m'

  # Total test connection and data exchange timeout
  #timeout: 16s
  ssl.verification_mode: none

{
  "_index": "heartbeat-2019.05.04-000001",
  "_type": "_doc",
  "_id": "FNbRi2oB5GIIEeSLGsBB",
  "_version": 1,
  "_score": null,
  "_source": {
    "@timestamp": "2019-05-06T06:24:56.909Z",
    "summary": {
      "up": 1,
      "down": 0
    },
    "tcp": {
      "rtt": {
        "connect": {
          "us": 3337
        }
      }
    },
    "tls": {
      "rtt": {
        "handshake": {
          "us": 15830
        }
      },
      "certificate_not_valid_before": "0001-01-01T00:00:00.000Z"
    },
    "http": {
      "rtt": {
        "response_header": {
          "us": 3279
        },
        "validate": {
          "us": 3285
        },
        "content": {
          "us": 5
        },
        "total": {
          "us": 59614
        },
        "write_request": {
          "us": 43
        }
      },
      "response": {
        "status_code": 200
      }
    },
    "event": {
      "dataset": "uptime"
    },
    "fields": {
      "version": "10.6"
    },
    "ecs": {
      "version": "1.0.0"
    },
    "monitor": {
      "type": "http",
      "check_group": "637a87d6-6fc7-11e9-b79f-005056ac9316",
      "ip": "10.44.10.202",
      "status": "up",
      "duration": {
        "us": 62527
      },
      "id": "auto-http-0XC336D3B18C265DFE-3b15d567e203ce0",
      "name": ""
    },
    "agent": {
      "ephemeral_id": "e8189c91-c22f-4f6e-b8cf-5c682b13d047",
      "hostname": "example.com",
      "id": "2ad2e338-bbe9-4068-b6fc-fc60e7cc1d71",
      "version": "7.0.0",
      "type": "heartbeat"
    },
    "resolve": {
      "ip": "1**.**.**.***",
      "rtt": {
        "us": 2854
      }
    },
    "host": {
      "name": "example.com",
      "architecture": "x86_64",
      "os": {
        "codename": "Maipo",
        "platform": "rhel",
        "version": "7.5 (Maipo)",
        "family": "redhat",
        "name": "Red Hat Enterprise Linux Server",
        "kernel": "3.10.0-862.14.4.el7.x86_64"
      },
      "id": "0709cd0acc86463da7d518c28f145a66",
      "containerized": true,
      "hostname": "example.com"
    },
    "url": {
      "path": "/home",
      "full": "https://example.com:7443/home",
      "scheme": "https",
      "domain": "example.com",
      "port": 7443
    }
  },
  "fields": {
    "@timestamp": [
      "2019-05-06T06:24:56.909Z"
    ],
    "tls.certificate_not_valid_before": [
      "0001-01-01T00:00:00.000Z"
    ]
  },
  "sort": [
    1557123896909
  ]
}

@wardakhan149 Can you please point me to some one. I am not seeing data on the uptime tab. I see the http dashboard loading and working fine though.

Are you using the same major versions of heartbeat and kibana? If you're using heartbeat 7 you must also use kibana 7

@Andrew_Cholakian1
Yes, I am using same versions.

I see index being created as heartbeat-2019.05.08-000001. Should it be like "heartbeat-7.0.0-date". Coz I remember reading that uptime dashboard looks for index with version. Correct me if I am wrong.

Can you post the results of GET /_cat/indices and GET /_cat/aliases? We don't need everything, but we do need everything containing heartbeat.

@Andrew_Cholakian1

green open heartbeat-2019.05.08-000001 z3YVAeGETi-Ck3xLST57xA 1 0 654 0 464.4kb 464.4kb

Aliasas

.kibana    .kibana_3                    - - -
filebeat   filebeat-2019.05.03-000001   - - -
heartbeat  heartbeat-2019.05.08-000001  - - -
metricbeat metricbeat-2019.05.03-000001 - - -

My Heartbeat template.

   "mappings" : {
      "_meta" : {
        "beat" : "heartbeat",
        "version" : "7.0.0"
      },
      "_source" : {
        "enabled" : true
      },
      "dynamic_templates" : [
        {

Need some help when I trying to start heartbeat. What is this problem?

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