This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
Update README.md #222
Merged
VijayanB
merged 3 commits into
opendistro-for-elasticsearch:master
from
VijayanB:update-read-me
Sep 4, 2020
Merged
Update README.md #222
Changes from 2 commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
|
@@ -25,13 +25,29 @@ Users can run this CLI from MacOS, Windows, Linux and connect to any valid Elast | |
|
||
Launch your local Elasticsearch instance and make sure you have the Open Distro for Elasticsearch AD plugin installed. | ||
|
||
To install the AD CLI: | ||
To install and set-up AD CLI: | ||
|
||
|
||
1. Install from source: | ||
1. Download and extract esad Binaries | ||
|
||
``` | ||
$ go get github.com/opendistro-for-elasticsearch/anomaly-detection/cli | ||
Download esad binaries suitable for your system from https://github.com/opendistro-for-elasticsearch/anomaly-detection/actions/runs/224422434 | ||
``` | ||
|
||
2. Make esad executable | ||
|
||
``` | ||
chmod +x ./esad | ||
|
||
``` | ||
3. Move the binary in to your PATH. | ||
``` | ||
sudo mv ./esad /usr/local/bin/esad | ||
|
||
``` | ||
4. Test to ensure the version you installed is up-to-date: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we show the version is update to date or not with command There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I updated the step now. Can you review it again? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks good, thanks |
||
``` | ||
esad --version | ||
``` | ||
|
||
## Configure | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This requires user have enough permission to move esad to local bin folder. How about add another option for user who has no sudo permission? Will be a blocker for some user if AD CLI must need sudo permission.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ack