# REST return Json object - How to push it to Logstash C#?

**URL:** <https://discuss.elastic.co/t/rest-return-json-object-how-to-push-it-to-logstash-c/253533>\
**Category:** Logstash\
**Created:** [October 28, 2020, 8:45am UTC](https://discuss.elastic.co/t/rest-return-json-object-how-to-push-it-to-logstash-c/253533 "2020-10-28T08:45:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yaharin\_ben\_ayon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yaharin_ben_ayon/32/41037_2.png) [@yaharin\_ben\_ayon](https://discuss.elastic.co/u/yaharin_ben_ayon)\
**Post date:** [October 28, 2020, 8:45am UTC](https://discuss.elastic.co/t/rest-return-json-object-how-to-push-it-to-logstash-c/253533/1 "2020-10-28T08:45:21Z")

</div>

Hey I have a json object returning from a rest call - how can i push it to logstash?  
The code is in C#.  
Thanks!

---

<div class="post-metadata">

**Author:** ![Wolfram\_Haussig](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wolfram_haussig/32/70528_2.png) [@Wolfram\_Haussig](https://discuss.elastic.co/u/Wolfram_Haussig)\
**Post date:** [October 28, 2020, 12:08pm UTC](https://discuss.elastic.co/t/rest-return-json-object-how-to-push-it-to-logstash-c/253533/2 "2020-10-28T12:08:24Z")

</div>

Hi,

You could create a LgoStash pipeline with an [HTTP input](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-http.html). With this you can use a simple HTTP POST to send the data to LogStash.

Best regards  
Wolfram

---

<div class="post-metadata">

**Author:** ![yaharin\_ben\_ayon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yaharin_ben_ayon/32/41037_2.png) [@yaharin\_ben\_ayon](https://discuss.elastic.co/u/yaharin_ben_ayon)\
**Post date:** [November 1, 2020, 3:31pm UTC](https://discuss.elastic.co/t/rest-return-json-object-how-to-push-it-to-logstash-c/253533/3 "2020-11-01T15:31:45Z")

</div>

can you elaborate more? Not sure i understood how to do that.

---

<div class="post-metadata">

**Author:** ![Wolfram\_Haussig](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wolfram_haussig/32/70528_2.png) [@Wolfram\_Haussig](https://discuss.elastic.co/u/Wolfram_Haussig)\
**Post date:** [November 2, 2020, 5:35am UTC](https://discuss.elastic.co/t/rest-return-json-object-how-to-push-it-to-logstash-c/253533/4 "2020-11-02T05:35:28Z")

</div>

Hi,

What do you want to have explained? I am happy to answer your questions(if I can) but I will not create a detailed step by step documentation because the Elastic documenation is far better than I could provide.

Best regards  
Wolfram

---

<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 30, 2020, 5:35am UTC](https://discuss.elastic.co/t/rest-return-json-object-how-to-push-it-to-logstash-c/253533/5 "2020-11-30T05:35:38Z")

</div>

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