Skip to main content
Declined

Query statements on Elastic

Related products:Infra Monitoring - Connectors
  • June 5, 2024
  • 5 replies
  • 38 views

Forum|alt.badge.img+6

A very, very cool and powerful feature would be the possibility to launch sql-statements on Elastic like Oracle or MSSQL with --mode=sql and --sql-statement.

This should open no possibilities to check values from indices.

https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-cli.html

https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-rest-overview.html

5 replies

rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • June 14, 2024
NewDiscussion ongoing

rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • June 14, 2024

Have you ckecked HTTP collections as this should solve your need?

See https://github.com/centreon/centreon-plugins/issues/2520 

 


Forum|alt.badge.img+6
  • Author
  • Steward **
  • June 24, 2024

I think this could be a valid solution.

With the last extension of the plugin that you can set constants in the config file and replace them via the options, you can certainly use it more flexibly.


rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • July 26, 2024

Hello @rmorandell , have you been able to try this out?


rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • September 20, 2024
Discussion ongoingDeclined