# Bug : input type logstash aws

**URL:** <https://discuss.elastic.co/t/bug-input-type-logstash-aws/104516>\
**Category:** Logstash\
**Created:** [October 19, 2017, 8:19am UTC](https://discuss.elastic.co/t/bug-input-type-logstash-aws/104516 "2017-10-19T08:19:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![saif](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/saif/32/37431_2.png) [@saif](https://discuss.elastic.co/u/saif)\
**Post date:** [October 19, 2017, 8:19am UTC](https://discuss.elastic.co/t/bug-input-type-logstash-aws/104516/1 "2017-10-19T08:19:24Z")

</div>

i use logstash in AWS linux  
NAME="Amazon Linux AMI"  
VERSION="2017.09"  
ID="amzn"  
ID\_LIKE="rhel fedora"  
VERSION\_ID="2017.09"  
PRETTY\_NAME="Amazon Linux AMI 2017.09"  
ANSI\_COLOR="0;33"  
CPE\_NAME="cpe:/o:amazon:linux:2017.09:ga"  
HOME\_URL="[http://aws.amazon.com/amazon-linux-ami/](http://aws.amazon.com/amazon-linux-ami/)"  
Amazon Linux AMI release 2017.09

i konw that logstash not supported in AWS linux  
but i have a bug

input {  
beats {  
port =\> 5045  
type =\> "test"  
}  
}

output {  
if [type] == "test" {

....  
}  
}

it can't match the test type for the output/filter!

winlogbeat is overwriting this "type" from the Logstash config

but i works for the tag

cheers !

---

<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:** [November 16, 2017, 8:19am UTC](https://discuss.elastic.co/t/bug-input-type-logstash-aws/104516/2 "2017-11-16T08:19:25Z")

</div>

Closed on November 16, 2017, 8:19am UTC

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