updated example with correct parameters (#37679)

Updated EXAMPLES documentation which had following 2 incorrect parameters: 
'type' has been changed to 'ds_type'
'basic_auth' parameter has been removed.

 label: docsite_pr
pull/38005/head
Afsal Rahim 7 years ago committed by Dag Wieers
parent 4aa1477470
commit 1428db45bc

@ -158,10 +158,9 @@ EXAMPLES = '''
grafana_datasource: grafana_datasource:
name: my_elastic name: my_elastic
grafana_url: http://grafana.company.com grafana_url: http://grafana.company.com
type: elasticsearch ds_type: elasticsearch
url: https://elasticsearch.company.com:9200 url: https://elasticsearch.company.com:9200
database: my-index_* database: my-index_*
basic_auth: yes
basic_auth_user: grafana basic_auth_user: grafana
basic_auth_password: xxxxxxxx basic_auth_password: xxxxxxxx
json_data: '{"esVersion":5, "timeField": "@timestamp"}' json_data: '{"esVersion":5, "timeField": "@timestamp"}'

Loading…
Cancel
Save