1
Answer

how to send log data to fluent bit

Tamil Rk

Tamil Rk

2y
1.8k
1

I need to push c# web api log data to azure adx for that need to follow below concept.

1. Use serilog tcp to send log data in fluent bit

2. Send fluent bit to azure adx.

serilog tcp code 

var configuration = new LoggerConfiguration()
               .MinimumLevel.Debug()
               .MinimumLevel.Override("Microsoft", LogEventLevel.Information)
               .MinimumLevel.Override("Microsoft.AspNetCore", LogEventLevel.Warning);

configuration.WriteTo.TCPSink(
               ipAddress: IPAddress.Parse("1.3.3.7"),
               port:8888,
               textFormatter: new JsonTextFormatter());
C#

I followd the this link but i'm not recived any log data from fluent bit

please help how to send web api log to fluent bit

Answers (1)
2
K P  Singh Chundawat

K P Singh Chundawat

776 1k 213.2k 10y
Thanks for replying Nimit Joshi. Nice Article by you ..but it's not helpful for me .....Right now getting same problem .If you have any other solution then let me know ....
1
Nimit Joshi

Nimit Joshi

NA 26.9k 14.6m 10y
Do you have the Office driver for your office version?? If it is not installed please install it. You can get the reference from the following article:


http://www.c-sharpcorner.com/UploadFile/4b0136/connectivity-of-excel-2013-to-Asp-Net-web-application/
0
K P  Singh Chundawat

K P Singh Chundawat

776 1k 213.2k 10y
Yeah...Solved it using this .. Thanks for help me
0
Shweta Lodha

Shweta Lodha

20 48.6k 4.2m 10y
Hello KP Singh,
Is your problem solved?
0
K P  Singh Chundawat

K P Singh Chundawat

776 1k 213.2k 10y
Thank you
0
K P  Singh Chundawat

K P Singh Chundawat

776 1k 213.2k 10y
Thanks to reply me . Yeah I checked it. my MS office is 64 bit and MS SQL 2008 R2 also.
0
Shweta Lodha

Shweta Lodha

20 48.6k 4.2m 10y
KP Singh,
It may be bit-level issue. Please cross check your office, is it also 64 bit ?
SQL server and Office both should share the same architecture.