# Log viewing through Filebeat

**URL:** <https://discuss.elastic.co/t/log-viewing-through-filebeat/267713>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [March 18, 2021, 7:33pm UTC](https://discuss.elastic.co/t/log-viewing-through-filebeat/267713 "2021-03-18T19:33:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Akhil2](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@Akhil2](https://discuss.elastic.co/u/Akhil2)\
**Post date:** [March 18, 2021, 7:33pm UTC](https://discuss.elastic.co/t/log-viewing-through-filebeat/267713/1 "2021-03-18T19:33:50Z")

</div>

Hello there,

I am trying to explore the possibility of log viewing through Kibana dashboard.

I understand the process of setting up logs location in filebeat.yml file and then create index in kibana and then view logs from discover section.

what if I have more than one location from where l need to pick logs and then create multiple indexes to view them. how i am supposed to do that? How am I supposed to create more than one index? Because with the process I described above kibana automatically shows me the index I need to create.

please let me know!

Thanks,  
Akhil

---

<div class="post-metadata">

**Author:** ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)\
**Post date:** [March 18, 2021, 7:52pm UTC](https://discuss.elastic.co/t/log-viewing-through-filebeat/267713/2 "2021-03-18T19:52:32Z")

</div>

Filebeat lets you create multiple inputs, even of the same type (most probably `log` in your case). See the second example in [Log input | Filebeat Reference [7.11] | Elastic](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-input-log.html).

By having multiple inputs, each input can specify different settings. One of these settings is the Elasticsearch index you want data from that input to be indexed into: [Log input | Filebeat Reference [7.11] | Elastic](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-input-log.html#_index_11).

Hope that helps,

Shaunak

---

<div class="post-metadata">

**Author:** ![Akhil2](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@Akhil2](https://discuss.elastic.co/u/Akhil2)\
**Post date:** [March 18, 2021, 8:38pm UTC](https://discuss.elastic.co/t/log-viewing-through-filebeat/267713/3 "2021-03-18T20:38:03Z")

</div>

Thank you Shaunak!! Appreciate your help. Will look into it

---

<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:** [April 20, 2021, 4:02am UTC](https://discuss.elastic.co/t/log-viewing-through-filebeat/267713/5 "2021-04-20T04:02:54Z")

</div>

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