docker run -d --name elasticsearch \
-p 9200 -p 9300 -e "discovery.type=single-node" \
docker.elastic.co/elasticsearch/elasticsearch-oss:6.3.0
docker run --rm -d --name filebeat \
--link elasticsearch --link kibana \
-v $DATA_HOME:/usr/share/filebeat/samplelogs/ \
docker.elastic.co/beats/filebeat:6.3.0
Filebeat.yml
filebeat.inputs:
- type: log
enabled: true
paths:
- "/usr/share/filebeat/samplelogs/sample-ngnix-access.log"
setup.kibana.host: "kibana:5601"
output.elasticsearch:
hosts: ["http://elasticsearch:9200"]
Getting the following error
No matching indices found: No indices match pattern "filebeat-*"
Error: No matching indices found: No indices match pattern "filebeat-*"
at https://kibana.own3.aganitha.ai/bundles/commons.bundle.js:1:699901
at processQueue (https://kibana.own3.aganitha.ai/bundles/vendors.bundle.js:58:134252)
at https://kibana.own3.aganitha.ai/bundles/vendors.bundle.js:58:135201
at Scope.$digest (https://kibana.own3.aganitha.ai/bundles/vendors.bundle.js:58:146077)
at Scope.$apply (https://kibana.own3.aganitha.ai/bundles/vendors.bundle.js:58:148856)
at done (https://kibana.own3.aganitha.ai/bundles/vendors.bundle.js:58:101124)
at completeRequest (https://kibana.own3.aganitha.ai/bundles/vendors.bundle.js:58:106024)
at XMLHttpRequest.xhr.onload (https://kibana.own3.aganitha.ai/bundles/vendors.bundle.js:58:106783)
I am just getting started with Elastic Stack. Please guide me how to to this.
Thanks is advance