TomonoriSoejima / Tejun

notes related to working cases
5 stars 3 forks source link

how to get monitoring data from Kibana #1

Open TomonoriSoejima opened 5 years ago

TomonoriSoejima commented 5 years ago

You can use Chrome dev tools to capture the endpoint that returns the response which contains the monitoring data.

Endpoint

endpoint

Capture the request body

chrome

In Postman it looks like this

body

In Postman add headers like this

postman1

Response example

    "nodeSummary": {
        "ephemeral_id": "498da940-566f-4d98-9cf2-e8df864df073",
        "pipeline": {
            "batch_size": 125,
            "workers": 8
        },
        "host": "wave.local",
        "version": "7.1.0",
        "http_address": "127.0.0.1:9600",
        "snapshot": false,
        "status": "green",
        "uuid": "bb091c2e-055d-4046-a10a-b3df011685e4",
        "name": "wave.local",
        "availability": true,
        "events": {
            "filtered": 1,
            "duration_in_millis": 605,
            "out": 1,
            "in": 1
        },
        "reloads": {
            "successes": 0,
            "failures": 0
        },
        "uptime": 1723353
    }