# Elastic not saving data from Filebeat

**URL:** https://discuss.elastic.co/t/elastic-not-saving-data-from-filebeat/137756
**Category:** Beats
**Tags:** filebeat
**Created:** [June 28, 2018, 7:29am UTC](https://discuss.elastic.co/t/elastic-not-saving-data-from-filebeat/137756 "2018-06-28T07:29:14Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![newbee14](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@newbee14](https://discuss.elastic.co/u/newbee14)
#### Post date: [June 28, 2018, 7:29am UTC](https://discuss.elastic.co/t/elastic-not-saving-data-from-filebeat/137756/1 "2018-06-28T07:29:15Z")

</div>

```
      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

---

<div class="post-metadata">

### Author: ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)
#### Post date: [June 28, 2018, 5:55pm UTC](https://discuss.elastic.co/t/elastic-not-saving-data-from-filebeat/137756/2 "2018-06-28T17:55:51Z")

</div>

Have you checked the Filebeat log output? And how about the Elasticsearch log output? What's do they say?

---

<div class="post-metadata">

### Author: ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)
#### Post date: [June 28, 2018, 5:57pm UTC](https://discuss.elastic.co/t/elastic-not-saving-data-from-filebeat/137756/3 "2018-06-28T17:57:51Z")

</div>

You might find this project useful for getting started. It's a docker-compose setup that runs ES, Kibana, and Filebeat in containers. I use it a lot to test things.

> **[elastic/stack-docker](https://github.com/elastic/stack-docker)**
>
> stack-docker - The Elastic Stack, on Docker, right now.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 26, 2018, 5:57pm UTC](https://discuss.elastic.co/t/elastic-not-saving-data-from-filebeat/137756/4 "2018-07-26T17:57:59Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
