# How to generate index of Prometheus in OpenSearch Dashboard?

**URL:** <https://forum.opensearch.org/t/how-to-generate-index-of-prometheus-in-opensearch-dashboard/20709>\
**Category:** OpenSearch Dashboards\
**Tags:** alerting\
**Created:** [August 7, 2024, 5:44am UTC](https://forum.opensearch.org/t/how-to-generate-index-of-prometheus-in-opensearch-dashboard/20709 "2024-08-07T05:44:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ommkwn](https://avatars.discourse-cdn.com/v4/letter/o/43a26b/32.png) [@ommkwn](https://forum.opensearch.org/u/ommkwn)\
**Post date:** [August 7, 2024, 5:44am UTC](https://forum.opensearch.org/t/how-to-generate-index-of-prometheus-in-opensearch-dashboard/20709/1 "2024-08-07T05:44:15Z")

</div>

**Versions** (relevant - OpenSearch/Dashboard/Server OS/Browser):

OpenSearch Version: 2.15.0  
OpenSearch Dashboard Version: 2.15.0  
minikube: v1.28.3  
Browser: Firefox , Google Chrome

**Describe the issue** :

I am using OpenSearch-Dashboard and Prometheus. So in the OpenSearch dashboard i connect a Prometheus with this method :

```auto
POST _plugins/_query/_datasources 
{
    "name" : "my_prometheus",
    "connector": "prometheus",
    "properties" : {
        "prometheus.uri" : "http://prometheus-server.default.svc.cluster.local:80"
    }
}

```

So the Prometheus is connected and get data matrices in the OpenSearch dashboard and the index are also create in MANAGEMENT \> INDEXE MANAGEMENT \> INDEXES in this INDEXES the index name is “.ql-datasources”.

So i want alerting so i go to the OPEN SEARCHE PLUGGINGS \> ALERTING \> MONITORS \> CREATE MONITOR in this case the dashboard are open for details.

In the CREATE MONITOR dashboard the one detail is “Select data” in this data i choose the index of Prometheus but there are not any “.ql-datasources” index are available in the Select data there are no any another “. …” dot start index name are available.

**Configuration** :

So how to index are create without dot and all Prometheus data are get in the index and i choose the index in the CREATE MONITOR \> “Select data”…

**Relevant Logs or Screenshots** :

OPEN SEARCHE PLUGGINGS \> ALERTING \> MONITORS \> CREATE MONITOR Dashboard:

 ![Screenshot 2024-08-07 110828](https://us1.discourse-cdn.com/flex019/uploads/mauve_hedgehog/original/2X/b/b2e4e02014547b9f0c455e0b4bd7195d313baec2.png)
