Open
Conversation
| } | ||
| ] | ||
| } | ||
| ``` |
There was a problem hiding this comment.
"Resource": "arn:aws:es:ap-northeast-1:209570776318:domain/ichef/*"
改成
"Resource": "<AWS ARN>"
應該會比較好
|
lgtm ! |
kidd0717
approved these changes
Feb 20, 2017
wys1203
reviewed
Mar 16, 2017
| 首先我們會先講怎麼在 AWS 上開 ES 以及設定他,接著我們會講在 EC2 上安裝 Logstash 的步驟,最後會講怎麼樣從我們的 Logstash 送東西給 AWS 的 ES,並在 kibana 上看到那些資料 | ||
|
|
||
| ## 設定 AWS 的 Elasticsearch Service | ||
| 首先盡到你的 AWS console,接著在所有服務的 Analytics 區塊裡可以看到 Elasticsearch Service,按下去之後你就會來到 ES 的 Dashboard 裡了!接著按 `Create a new domain` ,這個 domain 可以想像成是一個一個的 ES 資料庫,可以讓你來放跟不同類型的資料,進去創立 domain 的頁面後,先輸入你想要的 domain name,接著選擇符合你的使用量的 instance,接著設定 access policy,來決定這台 ES 可以讓誰 access,這邊我們為了方便,只設定兩個簡單的 rule,第一個是讓 Logstash 的 server 可以做 HTTP POST,這樣就可以新增資料,接著是讓所有人都可以對 ES 做 HTTP GET,讓大家都可以從 ES 裡獲取資訊,以下是 access policy範例: |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
完成系列文第二篇了!
文章請看 https://github.com/iCHEF/ichef.github.io/blob/Alvin_ELK_part2/_posts/2016-4-20-The%20Fashion%20Logging%20System%20--%20ELK%20-%20Part%202.md
請大家不吝鞭打~有說明不清楚了內容就留言吧!