# Use of beats, logstash, kibana somewhat of distaster

**URL:** <https://discuss.elastic.co/t/use-of-beats-logstash-kibana-somewhat-of-distaster/53243>\
**Category:** Beats\
**Created:** [June 19, 2016, 9:10pm UTC](https://discuss.elastic.co/t/use-of-beats-logstash-kibana-somewhat-of-distaster/53243 "2016-06-19T21:10:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Montgomery](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@David\_Montgomery](https://discuss.elastic.co/u/David_Montgomery)\
**Post date:** [June 19, 2016, 9:10pm UTC](https://discuss.elastic.co/t/use-of-beats-logstash-kibana-somewhat-of-distaster/53243/1 "2016-06-19T21:10:55Z")

</div>

Helloi Elasticsearch

The beats and logstash documentation is by no stretch of the imagination clear.

1. From by app server I can write json logs to logstash and then I can see the records in kibana. Great, but worthless because I cant visualize in kibana.

This is what I see in a record in kibana of a json field

indexed fields cant be searched.

Here is my logstash config:

```
input {
        beats {
        port => "5043"
        ssl => false
        codec => "json"
    }

   key => "logstash"
}

output {
        elasticsearch {
hosts => ["127.0.0.1:9200"]

}
    stdout {}
}

```

Here is my beats config:

```
filebeat:
  prospectors:
    -
      paths:
        - "/tmp/upload.log"
        - "/var/log/nginx/access.log"
        - "/var/log/nginx/error.log"
      fields:
        type: log
      exclude_lines: ["^.*ELB-HealthChecker.*$"]
output:
  logstash:
    hosts: ["127.0.0.1:5043"]

```

So why? I do have valid json.

---

<div class="post-metadata">

**Author:** ![David\_Montgomery](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@David\_Montgomery](https://discuss.elastic.co/u/David_Montgomery)\
**Post date:** [June 19, 2016, 9:16pm UTC](https://discuss.elastic.co/t/use-of-beats-logstash-kibana-somewhat-of-distaster/53243/2 "2016-06-19T21:16:45Z")

</div>

This SO post solved my issue

> <https://stackoverflow.com/questions/30471859/kibana-logstash-elasticsearch-unindexed-fields>

---

<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:** [July 10, 2016, 9:11pm UTC](https://discuss.elastic.co/t/use-of-beats-logstash-kibana-somewhat-of-distaster/53243/3 "2016-07-10T21:11:30Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
