Kibana Dashboard Data

Hi there

How kibana UI request this API for dashboard data.


I'm not entirely sure what you're asking...

Are you asking how to make a dashboard that has a visualization displaying the result of that query or are you asking why that query is being run in an existing dashboard?

Either way, you might also be interested in knowing that _msearch is going away from within Kibana as it's part of the legacy elasticsearch plugin.

Hi myasonik

My question is we have a dashboard list once I clicked on a specific dashboard all visualization inside that dashboard will be a load if I am not wrong for data some API is invoked. So where this API

is playing the role and how kibana UI is call this API not able to find inside the code.


        method: 'POST',
        path: '/elasticsearch/_msearch',
        config: {
          payload: {
            parse: 'gunzip'
        async handler(req, h) {
          const { query, payload } = req;
          return callWithRequest(req, 'transport.request', {
            path: '/_msearch',
            method: 'POST',
            body: payload.toString('utf8')
          }).finally(r => h.response(r));

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