elastic / beats-dashboards

DEPRECATED. Moved to https://github.com/elastic/beats. Please use the new repository to add new issues.
Other
196 stars 72 forks source link

Update usage examples in load.sh #81

Closed monicasarbu closed 8 years ago

monicasarbu commented 8 years ago

Fixes issue: https://github.com/elastic/beats-dashboards/issues/80

monicasarbu commented 8 years ago

@dedemorton could you please update the docs with more usage examples, similar with those that I added in this PR? Thanks!

dedemorton commented 8 years ago

@monicasarbu Are the examples in this section not sufficient? https://www.elastic.co/guide/en/beats/libbeat/1.1/getting-started.html#dashboard-load-options

Are you thinking that maybe I should show the full command line for each of the examples?

monicasarbu commented 8 years ago

@dedemorton I was thinking to add the following:

load.sh -url http://test.com:9200
load.sh -url http://test.com:9200 -index .kibana_env

maybe with the explanations:

  1. you can specify the ES url where to load the dashboards
  2. you can specify the kibana index pattern where to load the dashboards in ES

There are a few ways to pass in the password.

load.sh -url https://xyz.found.io -u admin:pass
load.sh -url https://xyz.found.io -u admin:$(cat ~/pass-file) 
load.sh -url https://user:pass@xyz.found.io 

with the explanations:

  1. use file to not pollute bash history with password
  2. just put user and pass in the url

(cc @andrewkroh )

ruflin commented 8 years ago

LGTM