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
This commit is contained in:
Afsal Rahim 2018-03-28 03:49:11 +11:00 committed by Dag Wieers
parent 4aa1477470
commit 1428db45bc

View file

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