Skip to content

Commit

Permalink
updated README and default.json
Browse files Browse the repository at this point in the history
  • Loading branch information
vgenev committed Sep 19, 2019
1 parent 499d0b9 commit 3de3fe3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ Ensure that you have created the `mojatemplate` based on the following config: [

#### 1.1.1 Create Template
```curl
curl -X PUT "http://localhost:9200/_template/mojatemplate?pretty" -H 'Content-Type: application/json' -d @config/template-mojaloop.json'
curl -X PUT "http://elasticsearch:9200/_template/mojatemplate?pretty" -H 'Content-Type: application/json' -d @config/template-mojaloop.json'
```

#### 1.1.2 Delete Template
_Note: only needed if you need to remove the template_
```curl
curl -X DELETE "http://localhost:9200/_template/mojatemplate"
curl -X DELETE "http://elasticsearch:9200/_template/mojatemplate"
```

#### 1.1.3 Get Template
_Note: useful for debugging template issues_
```curl
curl -X GET "http://localhost:9200/_template/mojatemplate"
curl -X GET "http://elasticsearch:9200/_template/mojatemplate"
```

2 changes: 1 addition & 1 deletion config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"timeout": 3.0,
"reconnectInterval": 600,
"requireAckResponse": true,
"namespace": "newstash"
"namespace": "logstash"
},
"EFK_CLIENT": {
"host": "dev1-elasticsearch.mojaloop.live",
Expand Down

0 comments on commit 3de3fe3

Please sign in to comment.