forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update getting started to include info about credentials and new comm…
…and syntax (elastic#4841) * Update getting started to include info about credentials and new command syntax * Add fixes from review
- Loading branch information
1 parent
0e91ea0
commit 8c6b706
Showing
17 changed files
with
207 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
If you've secured Elasticsearch and Kibana, you need to pass credentials when | ||
you run {beatname_uc} commands. You can specify credentials from the command | ||
line, or in the config file. For example, from the command line, specify: | ||
|
||
ifeval::["{start-type}"=="setup-index"] | ||
|
||
["source","sh",subs="attributes"] | ||
---- | ||
{beatname_lc} setup --template -e -E output.elasticsearch.username=elastic -E output.elasticsearch.password=elastic | ||
---- | ||
|
||
endif::[] | ||
|
||
ifeval::["{start-type}"=="setup-dashboards"] | ||
|
||
["source","sh",subs="attributes"] | ||
---- | ||
{beatname_lc} setup --dashboards -e -E output.elasticsearch.username=elastic -E output.elasticsearch.password=elastic -E setup.kibana.username=elastic -E setup.kibana.password=elastic | ||
---- | ||
|
||
endif::[] | ||
|
||
ifeval::["{start-type}"=="start"] | ||
|
||
["source","sh",subs="attributes"] | ||
---- | ||
{beatname_lc} -e -c {beatname_lc}.yml -d "publish" -E output.elasticsearch.username=elastic -E output.elasticsearch.password=elastic | ||
---- | ||
|
||
If you start {beatname_uc} as a service instead of running it in the | ||
foreground, you must specify credentials in the config file. | ||
|
||
endif::[] | ||
|
||
ifeval::["{start-type}"=="modules"] | ||
|
||
["source","sh",subs="attributes"] | ||
---- | ||
{beatname_lc} setup -e -E output.elasticsearch.username=elastic -E output.elasticsearch.password=elastic -E setup.kibana.username=elastic -E setup.kibana.password=elastic | ||
---- | ||
|
||
endif::[] | ||
|
||
See <<{beatname_lc}-configuration>> for more information about specifying | ||
credentials in the config file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
ifeval::["{beatname_lc}"!="winlogbeat"] | ||
. If you've secured Elasticsearch and Kibana, you need to pass credentials when | ||
you run the commands that set up and start {beatname_uc}. You can either pass | ||
credentials at the <<command-line-options,command line>> (as shown later in the | ||
getting started guide), or specify credentials in the config file. If you plan | ||
to run {beatname_uc} as a service, you must specify credentials in the config | ||
file. | ||
endif::[] | ||
ifeval::["{beatname_lc}"=="winlogbeat"] | ||
. If you've secured Elasticsearch and Kibana, you need to specify credentials | ||
in the config file before you run the commands that set up and start | ||
{beatname_uc}. | ||
endif::[] | ||
+ | ||
For example: | ||
+ | ||
[source,yaml] | ||
---- | ||
output.elasticsearch: | ||
hosts: ["myEShost:9200"] | ||
username: elastic | ||
password: elastic | ||
setup.kibana: | ||
host: "mykibanahost:5601" | ||
username: elastic | ||
password: elastic | ||
---- | ||
+ | ||
Also see the security-related options described in <<setup-kibana-endpoint>> and | ||
<<elasticsearch-output,Configure the Elasticsearch output>>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.