Grafana dashboard query editor error

  • What Grafana version and what operating system are you using?
    Grafana 11.3.2, Opensearch 2.18.0

  • What are you trying to achieve?
    Query data from Opensearch data source to Grafana dashboard

  • What happened?
    I setup an Opensearch data source, however when I try to build a dashboard, in the query editor an error is displayed TypeError: (0 , on.isAction) is not a function

  • What did you expect to happen?
    The window where you can register the query normally should be visible.

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

An unexpected error happened
Details
TypeError: (0 , on.isAction) is not a function

at Qn (https://grafana-s3.prosvasis.itml.space/public/plugins/grafana-opensearch-datasource/module.js?_cache=2.22.2:26:18835)
at eval (https://grafana-s3.prosvasis.itml.space/public/plugins/grafana-opensearch-datasource/module.js?_cache=2.22.2:89:868)
at l (https://grafana-s3.prosvasis.itml.space/public/build/4019.8e650672867c3e4c40ad.js:1:172)
at o (https://grafana-s3.prosvasis.itml.space/public/build/4019.8e650672867c3e4c40ad.js:204:119128)
at g (https://grafana-s3.prosvasis.itml.space/public/build/4019.8e650672867c3e4c40ad.js:204:119637)
at div
at div
at div
at of (https://grafana-s3.prosvasis.itml.space/public/build/958.b63f864e3aa7eee86718.js:120:25115)
at On (https://grafana-s3.prosvasis.itml.space/public/build/958.b63f864e3aa7eee86718.js:185:4277)
at Rf (https://grafana-s3.prosvasis.itml.space/public/build/958.b63f864e3aa7eee86718.js:120:29655)
at vf (https://grafana-s3.prosvasis.itml.space/public/build/958.b63f864e3aa7eee86718.js:120:29785)
at c (https://grafana-s3.prosvasis.itml.space/public/build/4019.8e650672867c3e4c40ad.js:668:68)
at div
at z (https://grafana-s3.prosvasis.itml.space/public/build/4019.8e650672867c3e4c40ad.js:4564:820)
at div
at Yf (https://grafana-s3.prosvasis.itml.space/public/build/958.b63f864e3aa7eee86718.js:120:30071)
at On (https://grafana-s3.prosvasis.itml.space/public/build/958.b63f864e3aa7eee86718.js:185:4277)
at y (https://grafana-s3.prosvasis.itml.space/public/build/958.b63f864e3aa7eee86718.js:185:1972)
at kf (https://grafana-s3.prosvasis.itml.space/public/build/958.b63f864e3aa7eee86718.js:120:12762)
at ct (https://grafana-s3.prosvasis.itml.space/public/build/958.b63f864e3aa7eee86718.js:62:949)
at Wl (https://grafana-s3.prosvasis.itml.space/public/build/958.b63f864e3aa7eee86718.js:120:14510)
at W (https://grafana-s3.prosvasis.itml.space/public/build/3866.59307a0fe632af6e8c63.js:62:4511)
at div
at div
at div
at div
at div
at q (https://grafana-s3.prosvasis.itml.space/public/build/958.b63f864e3aa7eee86718.js:120:79486)
at i (https://grafana-s3.prosvasis.itml.space/public/build/4019.8e650672867c3e4c40ad.js:204:30032)
at oe (https://grafana-s3.prosvasis.itml.space/public/build/2559.8679bf64736b1e79bf27.js:6:57)
at $s (https://grafana-s3.prosvasis.itml.space/public/build/DashboardPage.e2d3ad7d8dcc28c6a4e3.js:333:3917)
at div
at g (https://grafana-s3.prosvasis.itml.space/public/build/4019.8e650672867c3e4c40ad.js:296:44822)
at div
at https://grafana-s3.prosvasis.itml.space/public/build/DashboardPage.e2d3ad7d8dcc28c6a4e3.js:333:5465
at div
at div
at i (https://grafana-s3.prosvasis.itml.space/public/build/3866.59307a0fe632af6e8c63.js:1:2296)
at div
at i (https://grafana-s3.prosvasis.itml.space/public/build/3866.59307a0fe632af6e8c63.js:1:4281)
at J (https://grafana-s3.prosvasis.itml.space/public/build/3866.59307a0fe632af6e8c63.js:1:9619)
at div
at i (https://grafana-s3.prosvasis.itml.space/public/build/3866.59307a0fe632af6e8c63.js:1:2296)
at div
at i (https://grafana-s3.prosvasis.itml.space/public/build/3866.59307a0fe632af6e8c63.js:1:4281)
at J (https://grafana-s3.prosvasis.itml.space/public/build/3866.59307a0fe632af6e8c63.js:1:9619)
at div
at div
at div
at W (https://grafana-s3.prosvasis.itml.space/public/build/4019.8e650672867c3e4c40ad.js:600:4400)
at Hs (https://grafana-s3.prosvasis.itml.space/public/build/DashboardPage.e2d3ad7d8dcc28c6a4e3.js:350:1115)
at On (https://grafana-s3.prosvasis.itml.space/public/build/958.b63f864e3aa7eee86718.js:181:96397)
at WithTheme(Connect(Hs))
at pt (https://grafana-s3.prosvasis.itml.space/public/build/DashboardPage.e2d3ad7d8dcc28c6a4e3.js:425:473)
at DashboardPage
at On (https://grafana-s3.prosvasis.itml.space/public/build/958.b63f864e3aa7eee86718.js:181:96397)
at Suspense
at o (https://grafana-s3.prosvasis.itml.space/public/build/4019.8e650672867c3e4c40ad.js:204:119128)
at Kf (https://grafana-s3.prosvasis.itml.space/public/build/4019.8e650672867c3e4c40ad.js:4943:331)
at ve (https://grafana-s3.prosvasis.itml.space/public/build/958.b63f864e3aa7eee86718.js:216:23557)
at fa (https://grafana-s3.prosvasis.itml.space/public/build/958.b63f864e3aa7eee86718.js:207:4727)
at fn (https://grafana-s3.prosvasis.itml.space/public/build/958.b63f864e3aa7eee86718.js:207:10217)
at ks (https://grafana-s3.prosvasis.itml.space/public/build/958.b63f864e3aa7eee86718.js:216:11746)
at ve (https://grafana-s3.prosvasis.itml.space/public/build/958.b63f864e3aa7eee86718.js:216:25752)
at div
at div
at main
at div
at Af (https://grafana-s3.prosvasis.itml.space/public/build/4019.8e650672867c3e4c40ad.js:4940:2407)
at fa (https://grafana-s3.prosvasis.itml.space/public/build/958.b63f864e3aa7eee86718.js:207:4727)
at fn (https://grafana-s3.prosvasis.itml.space/public/build/958.b63f864e3aa7eee86718.js:207:10217)
at zt (https://grafana-s3.prosvasis.itml.space/public/build/958.b63f864e3aa7eee86718.js:207:9607)
at nu (https://grafana-s3.prosvasis.itml.space/public/build/958.b63f864e3aa7eee86718.js:216:12045)
at ve (https://grafana-s3.prosvasis.itml.space/public/build/958.b63f864e3aa7eee86718.js:216:19722)
at div
at l (https://grafana-s3.prosvasis.itml.space/public/build/4019.8e650672867c3e4c40ad.js:224:13290)
at v (https://grafana-s3.prosvasis.itml.space/public/build/958.b63f864e3aa7eee86718.js:37:13858)
at d (https://grafana-s3.prosvasis.itml.space/public/build/958.b63f864e3aa7eee86718.js:629:177403)
at d (https://grafana-s3.prosvasis.itml.space/public/build/4019.8e650672867c3e4c40ad.js:823:19916)
at o (https://grafana-s3.prosvasis.itml.space/public/build/4019.8e650672867c3e4c40ad.js:204:119128)
at g (https://grafana-s3.prosvasis.itml.space/public/build/4019.8e650672867c3e4c40ad.js:204:119637)
at y (https://grafana-s3.prosvasis.itml.space/public/build/958.b63f864e3aa7eee86718.js:181:94091)
at zf (https://grafana-s3.prosvasis.itml.space/public/build/4019.8e650672867c3e4c40ad.js:4954:122)

Whats your query?

1 Like

The error you’ve posted just indicates that within the JS that implements the opensearch plugin in Grafana, there was some error, but doesn’t indicate what.

Please provide more details of the query you were running or what else you were doing with the plugin at the time.

Hi @davidallen5
Thank you for your response.

I cannot run a query. When I enter the dashboard, the query editor window is not accessible and the aforementioned message is displayed. I can only edit the data source and query options.

you could ditch the opensearch plugin and use infinity to query at http://opensearch.ip.address:9200