# Dump1090\_ELK\_Flight-track issue

**URL:** https://discuss.elastic.co/t/dump1090-elk-flight-track-issue/77347
**Category:** Kibana
**Created:** [March 3, 2017, 6:40pm UTC](https://discuss.elastic.co/t/dump1090-elk-flight-track-issue/77347 "2017-03-03T18:40:17Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ipl2004](https://avatars.discourse-cdn.com/v4/letter/i/bcef8e/32.png) [@ipl2004](https://discuss.elastic.co/u/ipl2004)
#### Post date: [March 3, 2017, 6:40pm UTC](https://discuss.elastic.co/t/dump1090-elk-flight-track-issue/77347/1 "2017-03-03T18:40:17Z")

</div>

Kosho ([https://github.com/kosho/flight-track](https://github.com/kosho/flight-track)) did a fantastic application for ELK. However, following the readme I belive there is an error. My Dump1090 running on a Rpi does not have the  
dump1090 --net --aggressive --quiet (--quiet) option. The http port 30003 output is in the form below;

MSG,5,,,A6F5D7,,,,,,,12150,,,,,,,,,,  
MSG,5,,,A6F5D7,,,,,,,12150,,,,,,,,,,  
MSG,5,,,A6F5D7,,,,,,,12200,,,,,,,,,,  
MSG,5,,,A6F5D7,,,,,,,12225,,,,,,,,,,  
MSG,5,,,A6F5D7,,,,,,,12250,,,,,,,0,0,0,0  
MSG,5,,,A6F5D7,,,,,,,12275,,,,,,,,,,  
MSG,5,,,A6F5D7,,,,,,,12375,,,,,,,,,,  
MSG,8,,,A6F5D7,,,,,,,,,,,,,,,,,  
MSG,8,,,A0C7CC,,,,,,,,,,,,,,,,,  
MSG,8,,,A0C7CC,,,,,,,,,,,,,,,,,  
MSG,8,,,A0C7CC,,,,,,,,,,,,,,,,,  
MSG,8,,,A0C7CC,,,,,,,,,,,,,,,,,  
MSG,5,,,A0C7CC,,,,,,,34000,,,,,,,,,,  
MSG,5,,,A0C7CC,,,,,,,34000,,,,,,,0,0,0,0  
MSG,5,,,A6F5D7,,,,,,,12900,,,,,,,,,,  
MSG,5,,,A6F5D7,,,,,,,12900,,,,,,,,,,  
MSG,5,,,A0C7CC,,,,,,,34000,,,,,,,,,,  
MSG,5,,,A0C7CC,,,,,,,34000,,,,,,,,,,  
MSG,5,,,A0C7CC,,,,,,,34000,,,,,,,,,,  
MSG,8,,,A0C7CC,,,,,,,,,,,,,,,,,  
MSG,8,,,A0C7CC,,,,,,,,,,,,,,,,,  
MSG,8,,,A0C7CC,,,,,,,,,,,,,,,,,  
MSG,5,,,A0C7CC,,,,,,,34000,,,,,,,0,0,0,0  
MSG,5,,,A0C7CC,,,,,,,34000,,,,,,,,,,  
MSG,5,,,A0C7CC,,,,,,,34000,,,,,,,,,,  
MSG,8,,,A0C7CC,,,,,,,,,,,,,,,,,  
MSG,5,,,A0C7CC,,,,,,,34000,,,,,,,,,,  
MSG,8,,,A0C7CC,,,,,,,,,,,,,,,,,  
MSG,8,,,A0C7CC,,,,,,,,,,,,,,,,,  
MSG,5,,,A0C7CC,,,,,,,34000,,,,,,,,,,  
MSG,5,,,A0C7CC,,,,,,,34000,,,,,,,,,,  
MSG,8,,,A0C7CC,,,,,,,,,,,,,,,,,

The Flight-tracker-logstash.conf looks to be searching for decoded data.

input {  
http\_poller {  
urls =\> {  
dump1090 =\> "[http://192.168.0.17:30003/data.json](http://192.168.0.17:30003/data.json)"  
}  
request\_timeout =\> 60  
interval =\> 5  
codec =\> "json"  
}  
}  
filter {  
if "\_jsonparsefailure" in [tags] { drop { } }  
if "\_http\_request\_failure" in [tags] { drop { } }  
if [flight] {  
mutate { strip =\> ["flight"] }  
ruby {  
code =\> 'event.set("[airline]", event.get("[flight]")[0..2])'  
}  
}  
if [flight] == "" {  
mutate {  
remove\_field =\> ["flight", "airline"]  
add\_field =\> {  
"flight" =\> "unknown"  
"airline" =\> "unknown"  
}  
}  
}  
mutate {  
remove\_field =\> ["message"]  
remove\_field =\> ["response\_headers", "code", "response\_message", "time\_retried", "runtime\_seconds"]  
}  
if [lat] and [lon] {  
mutate {  
add\_field =\> ["location", "%{lat}, %{lon}"]  
remove\_field =\> ["lat", "lon"]  
}  
}  
}  
output {  
stdout { codec =\> rubydebug { metadata =\> true } }  
if [validtrack] {  
elasticsearch {  
hosts =\> "[http://localhost:9200](http://localhost:9200)"

# user =\> ""

# password =\> ""

```
    index => "flight-track-%{+YYYY-MM-dd}"
    template => "/usr/share/logstash/flight-track-template.json"
    template_name => "flight-track"
    template_overwrite => true
}

```

}  
}

Where does the --quiet option come from?

Ian

---

<div class="post-metadata">

### Author: ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)
#### Post date: [March 3, 2017, 7:40pm UTC](https://discuss.elastic.co/t/dump1090-elk-flight-track-issue/77347/2 "2017-03-03T19:40:39Z")

</div>

Hi Ian,

You should probably post your issue in that [https://github.com/kosho/flight-track](https://github.com/kosho/flight-track) repo instead of this Kibana channel. But I sent a message to Kosho about it. But he might be traveling the next few days for Elastic{ON} so you may not hear back for a while.

Regards,  
Lee

---

<div class="post-metadata">

### Author: ![ipl2004](https://avatars.discourse-cdn.com/v4/letter/i/bcef8e/32.png) [@ipl2004](https://discuss.elastic.co/u/ipl2004)
#### Post date: [March 3, 2017, 7:42pm UTC](https://discuss.elastic.co/t/dump1090-elk-flight-track-issue/77347/3 "2017-03-03T19:42:18Z")

</div>

Hi Lee  
I was just typing up a comment on GitHub. Many thanks for your response.

Ian

---

<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: [March 31, 2017, 7:42pm UTC](https://discuss.elastic.co/t/dump1090-elk-flight-track-issue/77347/4 "2017-03-31T19:42:21Z")

</div>

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