# Simple way to test output of data getting written to local Kibana REST endpoint

**URL:** <https://discuss.elastic.co/t/simple-way-to-test-output-of-data-getting-written-to-local-kibana-rest-endpoint/149009>\
**Category:** Logstash\
**Created:** [September 18, 2018, 6:07pm UTC](https://discuss.elastic.co/t/simple-way-to-test-output-of-data-getting-written-to-local-kibana-rest-endpoint/149009 "2018-09-18T18:07:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dirtyballer3](https://avatars.discourse-cdn.com/v4/letter/d/779978/32.png) [@dirtyballer3](https://discuss.elastic.co/u/dirtyballer3)\
**Post date:** [September 18, 2018, 6:07pm UTC](https://discuss.elastic.co/t/simple-way-to-test-output-of-data-getting-written-to-local-kibana-rest-endpoint/149009/1 "2018-09-18T18:07:29Z")

</div>

I have what i think a simple Docker logstash setup and im trying to troubleshoot why data isnt getting to my endpoint (Kibana)...I am running in debug mode and not seeing any errors so wanted to get some direction on how i could troubleshoot this.

- config/logstash.yml

node.name: test\_1  
pipeline.id: main  
pipeline.workers: 1  
pipeline.batch.size: 15  
pipeline.batch.delay: 50  
path.config: /usr/share/logstash/pipeline  
log.level: debug  
log.format: json

- pipeline/logstash.conf

input {  
generator {  
lines =\> [  
"line 1",  
"line 2",  
"line 3"  
]  
# Emit all lines 3 times.  
count =\> 20  
}  
file {  
path =\> ["/usr/share/logstash/log/test\_json.log"]  
}  
}

output {  
http {  
url =\> "[https://in.datalens.nordstrom.com/nonprod/kafka/topics/esb-proton-logs](https://in.datalens.nordstrom.com/nonprod/kafka/topics/esb-proton-logs)"  
http\_method =\> "post"  
format =\> "json"  
headers =\> {"X-API-Key" =\> "Mk8hzwid84cZfWARfPAhsubZ3f7\_Q96aFXwm"}  
}  
}

- test\_json.log  
{"employees":[  
{ "firstName":"John", "lastName":"Doe" },  
{ "firstName":"Anna", "lastName":"Smith" },  
{ "firstName":"Peter", "lastName":"Jones" }  
]}

---

<div class="post-metadata">

**Author:** ![dirtyballer3](https://avatars.discourse-cdn.com/v4/letter/d/779978/32.png) [@dirtyballer3](https://discuss.elastic.co/u/dirtyballer3)\
**Post date:** [September 18, 2018, 7:26pm UTC](https://discuss.elastic.co/t/simple-way-to-test-output-of-data-getting-written-to-local-kibana-rest-endpoint/149009/2 "2018-09-18T19:26:57Z")

</div>

switched to the generator input and now seeing some connection to endpoint failures which gets me on a path to troubleshoot...good to go.

---

<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:** [October 16, 2018, 7:26pm UTC](https://discuss.elastic.co/t/simple-way-to-test-output-of-data-getting-written-to-local-kibana-rest-endpoint/149009/3 "2018-10-16T19:26:58Z")

</div>

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