# Forwarding from beats to logstash

**URL:** https://discuss.elastic.co/t/forwarding-from-beats-to-logstash/67776
**Category:** Logstash
**Created:** [December 1, 2016, 2:27pm UTC](https://discuss.elastic.co/t/forwarding-from-beats-to-logstash/67776 "2016-12-01T14:27:22Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![bob-bza](https://avatars.discourse-cdn.com/v4/letter/b/9f8e36/32.png) [@bob-bza](https://discuss.elastic.co/u/bob-bza)
#### Post date: [December 1, 2016, 2:27pm UTC](https://discuss.elastic.co/t/forwarding-from-beats-to-logstash/67776/1 "2016-12-01T14:27:22Z")

</div>

I was new not ELK, sending logs from multiple beats to single logstash with same tag, but was not able to see all the beats hosts in kibana.  
for ex: i was sending 5beats to 1logstash with same tag name. but can see only first beat logs but rest other beats i was not able to see. this was syntax i was using.

input {  
beats {  
port =\> 5044  
tags =\> ["kafka"]  
}  
output {  
if "kafka" in [tags] {  
elasticsearch {  
action =\> "index"  
hosts =\> "elasticsearch:80"  
index =\> "kafka"  
}  
}

---

<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: [December 29, 2016, 2:27pm UTC](https://discuss.elastic.co/t/forwarding-from-beats-to-logstash/67776/2 "2016-12-29T14:27:32Z")

</div>

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