# Can't find indices in elasticsearch and kibana after running filebeat

**URL:** https://discuss.elastic.co/t/cant-find-indices-in-elasticsearch-and-kibana-after-running-filebeat/145292
**Category:** Beats
**Created:** [August 21, 2018, 6:27am UTC](https://discuss.elastic.co/t/cant-find-indices-in-elasticsearch-and-kibana-after-running-filebeat/145292 "2018-08-21T06:27:21Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![wonki](https://avatars.discourse-cdn.com/v4/letter/w/aeb1de/32.png) [@wonki](https://discuss.elastic.co/u/wonki)
#### Post date: [August 21, 2018, 6:27am UTC](https://discuss.elastic.co/t/cant-find-indices-in-elasticsearch-and-kibana-after-running-filebeat/145292/1 "2018-08-21T06:27:21Z")

</div>

Hello ! I'm trying to run filebeat and i have one question.  
Below is what i have done so far.

1. Install Elasticstack ( Elasticsearch & kibana & logstash & filebeat )  
and i succeed in making a pipeline Elasticsearch, Kibana, logstash ( use sample log data )

- sample data looks like this.  
212.109.27.134 - - [30/Apr/2017:04:32:36 +0000] "GET /wp-login.php HTTP/1.1" 200 5226 "-" "Mozilla/5.0 (Windows NT 6.0; rv:34.0) Gecko/20100101 Firefox/34.0"  
54.210.20.202 - - [30/Apr/2017:04:32:38 +0000] "POST /wp-cron.php?doing\_wp\_cron=1493526758.2967031002044677734375 HTTP/1.1" 200 - "[http://sundog-soft.com/wp-cron.php?doing\_wp\_cron=1493526758.2967031002044677734375](http://sundog-soft.com/wp-cron.php?doing_wp_cron=1493526758.2967031002044677734375)" "WordPress/4.7.4; [http://sundog-soft.com](http://sundog-soft.com)"

\*logstash.conf  
input{  
file {  
path =\> "/home/wonki/access\_log"  
start\_position =\> "beginning"  
sincedb\_path =\> "/dev/null"  
}  
}

filter{  
grok {  
match =\> {"message" =\> "%{COMBINEDAPACHELOG}"}  
}  
date {  
match =\> ["timestamp", "dd/MMM/yyyy:HH:mm:ss Z"]  
}  
}

output{  
elasticsearch{  
hosts =\> ["127.0.0.1:9200"]  
}  
stdout{  
codec =\> rubydebug  
}  
}

Simply, when i run the logstash, this sample log data is parsed by logstash filter and stored in elasticsearch and also i can find it in kibana.

After made a link among elk, i tried to add filebeat.

So what i expected :  
my sample access\_log ( combined apache log format ) -\> filebeat -\> logstash ( parsed by filter and changed json format ) -\> elasticsearch ( make index and store my sample data in elasticsearch ) -\> kibana.

And what i do:

1. install filebeat.
2. 

filebeat.yml

## change configurations

type: log  
enabled: true  
paths:

- /home/wonki/access\_log

* * *

(commenting it out)

# output elasticsearch

* * *

(uncommenting)  
output logstash  
hosts: ["localhost:5044"]

1. create index

filebeat setup --template -E output.logstash.enabled=false -E 'output.elasticsearch.hosts=["localhost:9200"]'

1. logstash configuration  
-\> filebeat.conf

input{  
beats {  
port =\> 5044  
}  
}

filter{  
grok {  
match =\> {"message" =\> "%{COMBINEDAPACHELOG}"}  
}  
date {  
match =\> ["timestamp", "dd/MMM/yyyy:HH:mm:ss Z"]  
}  
}

output{  
elasticsearch{  
hosts =\> ["127.0.0.1:9200"]  
index =\> "filebeat\_example"  
}  
stdout{  
codec =\> rubydebug  
}  
}

1. dashboard  
filebeat setup --dashboard

2. start filebeat  
sudo service filebeat start

Filebeat run well but i cannot find filebeat\_example index in elasticsearch and kibana.  
But in kibana dashboard, i can see my example data from filebeat.  
So, if i can find my filebeat\_example index in elasticsearch and kibana, what should i do?  
Did i miss some configurations??  
And i wonder that the differences between filebeat input configuration and filebeat modules configuration. In filebeat module configuration, do they have the ability to parse log data? ( for example,  
combined apache log data -\> json data format parsing -\> apache2 modules can do these things? )

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [August 22, 2018, 1:54am UTC](https://discuss.elastic.co/t/cant-find-indices-in-elasticsearch-and-kibana-after-running-filebeat/145292/2 "2018-08-22T01:54:57Z")

</div>

Is there anything in stdout?

---

<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: [September 19, 2018, 3:54am UTC](https://discuss.elastic.co/t/cant-find-indices-in-elasticsearch-and-kibana-after-running-filebeat/145292/3 "2018-09-19T03:54:57Z")

</div>

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