Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
fix typo and update log stream explanation
  • Loading branch information
wfhu committed Aug 19, 2017
1 parent a446e50 commit c9fcc78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ Then, you can visit http:https://your-ip-address:9000 to visit the portainer UI

## Part Four, let start to collect stdout log and transfer the log to ElasticSearch

*container stdout* -> *logspout in each node* -> *logstash inside the Cluster* -> *outside ElasticSearch*
log stream like this : *container stdout* -> *logspout in each node* -> *logstash inside the Cluster* -> *outside ElasticSearch*

### 1. create a new overlay network for the log transfer, as logspout need to communicate with logstash
```
Expand All @@ -202,7 +202,7 @@ cd mylogspout && docker build -t mylogspout:v1 .
```
if there's error, please make sure mylogspout/build.sh file has exec bit set, check [here](https://github.com/gliderlabs/logspout/issues/238) for more information

#### the tag/push your locally build image to YOUR-REGISTRY
#### then tag/push your locally build image to YOUR-REGISTRY
```
# docker login -u YOUR-USER-NAME -p YOUR-PASSWORD YOUR-REGISTRY-ADDRESS
# docker tag mylogspout:v1 YOUR-REGISTRY-ADDRESS/mylogspout:v1
Expand Down

0 comments on commit c9fcc78

Please sign in to comment.