Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 882 Bytes

showdatasources.rst

File metadata and controls

36 lines (24 loc) · 882 Bytes

show datasources

Table of contents

Using show datasources command to query datasources configured in the PPL engine. show datasources command could be only used as the first command in the PPL query.

show datasources

The example fetches all the datasources of type prometheus.

PPL query for all PROMETHEUS DATASOURCES:

os> show datasources | where CONNECTOR_TYPE='PROMETHEUS';
fetched rows / total rows = 1/1
+-------------------+------------------+
| DATASOURCE_NAME   | CONNECTOR_TYPE   |
|-------------------+------------------|
| my_prometheus     | PROMETHEUS       |
+-------------------+------------------+