# Logstash.yml configuration

**URL:** <https://discuss.elastic.co/t/logstash-yml-configuration/171612>\
**Category:** Logstash\
**Created:** [March 10, 2019, 12:34am UTC](https://discuss.elastic.co/t/logstash-yml-configuration/171612 "2019-03-10T00:34:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mysterious\_Ze](https://avatars.discourse-cdn.com/v4/letter/m/c77e96/32.png) [@Mysterious\_Ze](https://discuss.elastic.co/u/Mysterious_Ze)\
**Post date:** [March 10, 2019, 12:34am UTC](https://discuss.elastic.co/t/logstash-yml-configuration/171612/1 "2019-03-10T00:34:15Z")

</div>

Hello  
I am having 2 issues with logstash:

1. i have installed winlogbeat on my windows servers. I see that redis is getting all the logs and while looking into logstash-plain.log, i saw errors of type invalid index name. Index cannot contain chsraxters .....

I want to have like syslog-(machinename)-win on kibana. Can you please guide?

1. if for example i will be adding syslog of linux servers, apache logs,etc. How can i configure logstash to parse the logs and have index like

Syslog-(machinename)-(logtype) on kibana?

Thanks,

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [March 10, 2019, 10:40am UTC](https://discuss.elastic.co/t/logstash-yml-configuration/171612/2 "2019-03-10T10:40:14Z")

</div>

> [@Mysterious\_Ze](#):
>
> i have installed winlogbeat on my windows servers. I see that redis is getting all the logs and while looking into logstash-plain.log, i saw errors of type invalid index name. Index cannot contain chsraxters .....

If I recall correctly there are some characters that are not allowed and I also think index names need to be all lower case.

> [@Mysterious\_Ze](#):
>
> 1. if for example i will be adding syslog of linux servers, apache logs,etc. How can i configure logstash to parse the logs and have index like
> 
> Syslog-(machinename)-(logtype) on kibana?

It should to me like this will result in [a lot of very small indices and shards which is very inefficient and is very likely to lead to performance problems](https://www.elastic.co/blog/how-many-shards-should-i-have-in-my-elasticsearch-cluster). Why can these not live in a single time-based index?

---

<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 7, 2019, 10:40am UTC](https://discuss.elastic.co/t/logstash-yml-configuration/171612/3 "2019-04-07T10:40:15Z")

</div>

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