# Creat two index patterns

**URL:** https://discuss.elastic.co/t/creat-two-index-patterns/138352
**Category:** Logstash
**Created:** [July 3, 2018, 10:26am UTC](https://discuss.elastic.co/t/creat-two-index-patterns/138352 "2018-07-03T10:26:13Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![kimfut](https://avatars.discourse-cdn.com/v4/letter/k/b9e5f3/32.png) [@kimfut](https://discuss.elastic.co/u/kimfut)
#### Post date: [July 3, 2018, 10:26am UTC](https://discuss.elastic.co/t/creat-two-index-patterns/138352/1 "2018-07-03T10:26:13Z")

</div>

hello everyone ,

i am looking for an simple example or tutorial of configuration that creat 2 index into ES , because i have 2 type of file logs , i specified 2 path for the 2 types in filebeat.yml ,

but when i followed this tutorial :

[http://www.inanzzz.com/index.php/post/roxb/handling-multiple-log-files-with-filebeat-and-logstash-in-elk-stack](http://www.inanzzz.com/index.php/post/roxb/handling-multiple-log-files-with-filebeat-and-logstash-in-elk-stack)

it doesn't work for me (error seems dont accept keyword [type] in code)

hope someone can help me ,, thank you

---

<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 31, 2018, 10:26am UTC](https://discuss.elastic.co/t/creat-two-index-patterns/138352/2 "2018-07-31T10:26:14Z")

</div>

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