Environment of WordPress, ELK and Beats using Docker.
Start container with docker-compose.yml
$ docker-compose up
show browser at localhost:8080
.
$ docker-compose stop
or
$ ctrl + c // force stop
$ curl -H 'Content-Type: application/json' -XPUT 'http://localhost:9200/_template/packetbeat' [email protected]
when creation success, return {“acknowledged":true}
.
To check the index.
$ curl "localhost:9200/_template/packetbeat?pretty"``