# Graylog Development

**URL:** <https://community.graylog.org/t/graylog-development/12903>\
**Category:** Development\
**Created:** [November 23, 2019, 7:21am UTC](https://community.graylog.org/t/graylog-development/12903 "2019-11-23T07:21:01Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![velmurugan](https://avatars.discourse-cdn.com/v4/letter/v/74df32/32.png) [@velmurugan](https://community.graylog.org/u/velmurugan)\
**Post date:** [November 23, 2019, 7:21am UTC](https://community.graylog.org/t/graylog-development/12903/1 "2019-11-23T07:21:01Z")

</div>

Hi All,

Please guide me how to capture my incoming requests to graylog in .NET

Thanks.

---

<div class="post-metadata">

**Author:** ![bahram](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/bahram/32/4874_2.png) [@bahram](https://community.graylog.org/u/bahram)\
**Post date:** [November 24, 2019, 9:38am UTC](https://community.graylog.org/t/graylog-development/12903/2 "2019-11-24T09:38:01Z")

</div>

Hi,  
Explain exactly what you want to do.

---

<div class="post-metadata">

**Author:** ![velmurugan](https://avatars.discourse-cdn.com/v4/letter/v/74df32/32.png) [@velmurugan](https://community.graylog.org/u/velmurugan)\
**Post date:** [November 26, 2019, 9:47am UTC](https://community.graylog.org/t/graylog-development/12903/3 "2019-11-26T09:47:16Z")

</div>

Hi @bahram Thanks for your reply. I need to use Graylog for logging purpose. Administrative part we have some idea. But Technically i need help on the integration to store the data in .Net.  
Kindly help me.

---

<div class="post-metadata">

**Author:** ![bahram](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/bahram/32/4874_2.png) [@bahram](https://community.graylog.org/u/bahram)\
**Post date:** [November 26, 2019, 10:34am UTC](https://community.graylog.org/t/graylog-development/12903/4 "2019-11-26T10:34:23Z")

</div>

OK  
The Graylog is designed for exactly that purpose!  
What data do you want to store? (Log , Flow Traffic, …)  
I still don’t know exactly what you want to do

---

<div class="post-metadata">

**Author:** ![velmurugan](https://avatars.discourse-cdn.com/v4/letter/v/74df32/32.png) [@velmurugan](https://community.graylog.org/u/velmurugan)\
**Post date:** [November 26, 2019, 10:35am UTC](https://community.graylog.org/t/graylog-development/12903/5 "2019-11-26T10:35:47Z")

</div>

I want to store my application log i.e., Incoming request and outgoing response.

---

<div class="post-metadata">

**Author:** ![bahram](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/bahram/32/4874_2.png) [@bahram](https://community.graylog.org/u/bahram)\
**Post date:** [November 26, 2019, 10:59am UTC](https://community.graylog.org/t/graylog-development/12903/6 "2019-11-26T10:59:15Z")

</div>

1:[https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-overview.html](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-overview.html)  
2: [https://www.elastic.co/guide/en/beats/packetbeat/current/packetbeat-overview.html](https://www.elastic.co/guide/en/beats/packetbeat/current/packetbeat-overview.html)

I think you haven’t read the Graylog documents yet.!  
[https://docs.graylog.org/en/3.1/pages/getting\_started.html](https://docs.graylog.org/en/3.1/pages/getting_started.html)

---

<div class="post-metadata">

**Author:** ![velmurugan](https://avatars.discourse-cdn.com/v4/letter/v/74df32/32.png) [@velmurugan](https://community.graylog.org/u/velmurugan)\
**Post date:** [November 26, 2019, 11:09am UTC](https://community.graylog.org/t/graylog-development/12903/7 "2019-11-26T11:09:34Z")

</div>

Hi I read the document already… i required the coding part to store my log using the Inputs .

Can you help me on the coding part using .NET C#.

Here are my queries on the same,

Which inputs are good to use. UDP / TCP / HTTP.?  
Do i need to form GELF type messages?  
please share any sample .net coding .

---

<div class="post-metadata">

**Author:** ![bahram](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/bahram/32/4874_2.png) [@bahram](https://community.graylog.org/u/bahram)\
**Post date:** [November 26, 2019, 12:07pm UTC](https://community.graylog.org/t/graylog-development/12903/8 "2019-11-26T12:07:06Z")

</div>

Okay, sorry  
I thought you were going to send the application logs to the graylog …

---

<div class="post-metadata">

**Author:** ![velmurugan](https://avatars.discourse-cdn.com/v4/letter/v/74df32/32.png) [@velmurugan](https://community.graylog.org/u/velmurugan)\
**Post date:** [November 26, 2019, 12:55pm UTC](https://community.graylog.org/t/graylog-development/12903/9 "2019-11-26T12:55:31Z")

</div>

HI @bahram Can you able to assist me on the inputs and coding…

---

<div class="post-metadata">

**Author:** ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)\
**Post date:** [November 28, 2019, 4:46pm UTC](https://community.graylog.org/t/graylog-development/12903/10 "2019-11-28T16:46:10Z")

</div>

he @velmurugan

you might want to be a little more verbose.

Do you want to implement for example GELF Logging to Graylog in your .NET C# programm? Is that where you need help? If yes - you might want to explain what exactly you do not understand how to implement.

If I get you wrong, please explain in other words.

Jan

---

<div class="post-metadata">

**Author:** ![velmurugan](https://avatars.discourse-cdn.com/v4/letter/v/74df32/32.png) [@velmurugan](https://community.graylog.org/u/velmurugan)\
**Post date:** [November 29, 2019, 5:55am UTC](https://community.graylog.org/t/graylog-development/12903/11 "2019-11-29T05:55:02Z")

</div>

Hi @jan Thank you for your advice and reply.

Yes i need to implement GELF logging to graylog in .NET C#.

For that first of all I want to know which INPUTS like GELF TCP / GELF UDP / GELF HTTP / RAW PLAINTEXT etc., is the best to write logs. Since our log may contain large data more than 2 mb.

Secondly want to know how to use the Inputs to write the log in C#…for eg., GELF UDP is it simply like a UDP post?

Can you help me by sharing any sample .NET C# CODES to write the logs.

Thank you.

---

<div class="post-metadata">

**Author:** ![bahram](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/bahram/32/4874_2.png) [@bahram](https://community.graylog.org/u/bahram)\
**Post date:** [November 29, 2019, 6:57am UTC](https://community.graylog.org/t/graylog-development/12903/12 "2019-11-29T06:57:10Z")

</div>

No, Sorry velmurugan  
I’m completely unfamiliar with the windows and .NET them

---

<div class="post-metadata">

**Author:** ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)\
**Post date:** [November 29, 2019, 3:45pm UTC](https://community.graylog.org/t/graylog-development/12903/13 "2019-11-29T15:45:25Z")

</div>

The input type depends on your requirements.

How you implement that in .NET C# might reveal the Marketplace: [https://marketplace.graylog.org/addons?tag=.net](https://marketplace.graylog.org/addons?tag=.net)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [December 13, 2019, 3:45pm UTC](https://community.graylog.org/t/graylog-development/12903/14 "2019-12-13T15:45:29Z")

</div>

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