-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Different handling for security specific errors in the CLI. Fix for #…
- Loading branch information
Showing
2 changed files
with
14 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,15 @@ the first parameter: | |
$ ./bin/elasticsearch-sql-cli https://some.server:9200 | ||
-------------------------------------------------- | ||
|
||
If security is enabled on your cluster, you can pass the username | ||
and password in the form `username:password@host_name:port` | ||
to the SQL CLI: | ||
|
||
[source,bash] | ||
-------------------------------------------------- | ||
$ ./bin/elasticsearch-sql-cli https://sql_user:[email protected]:9200 | ||
-------------------------------------------------- | ||
|
||
Once the CLI is running you can use any <<sql-spec,query>> that | ||
Elasticsearch supports: | ||
|
||
|
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