# Want to create multiple index for multiple input

**URL:** <https://discuss.elastic.co/t/want-to-create-multiple-index-for-multiple-input/95538>\
**Category:** Logstash\
**Created:** [August 2, 2017, 1:30pm UTC](https://discuss.elastic.co/t/want-to-create-multiple-index-for-multiple-input/95538 "2017-08-02T13:30:14Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![vivekpandey564](https://avatars.discourse-cdn.com/v4/letter/v/858c86/32.png) [@vivekpandey564](https://discuss.elastic.co/u/vivekpandey564)\
**Post date:** [August 3, 2017, 1:17pm UTC](https://discuss.elastic.co/t/want-to-create-multiple-index-for-multiple-input/95538/13 "2017-08-03T13:17:00Z")

</div>

Thanks For your reply.  
Please see this link from where i added wild character.

> [@How to handle multiple inputs with Logstash to different indices](https://discuss.elastic.co/t/how-to-handle-multiple-inputs-with-logstash-to-different-indices/24541):
>
> Directory Structure: ....Results ....Project1 +....RUN1 +....Run2 ....Project2 +....RUN1 +....Run2 "Results" directory contains Project1 & Project2 sub directories. Also there might be more "Project....n" sub dir gets created depending upon test run for several projects. Each Project DIR contains more that one RUN directories.... I want to process each "Projects" directories as and when they are created and out put them to different indices at elasticsearch. e.g. For Project1 index to…

I just want to match with file name .for eg  
admin.log  
user1.log  
for above log file i need to have respective index  
I hope you understand.

---

_[View the full topic](https://discuss.elastic.co/t/want-to-create-multiple-index-for-multiple-input/95538)._
