Logging into Elasticsearch using Serilog and viewing logs in Kibana | .NET Core Tutorial

preview_player
Показать описание

Hello everybody I'm Nick and in this video I will show you how you can very easily get started with logging into Elasticsearch in your .NET core application. We won't go in depth on how Elasticsearch works and why it is a good fit for a log sink but instead I am going to show you how you can quickly use Serilog to replace Microsoft's built in logging mechanism and start pushing logs into Elasticsearch, which you can then use Kibana to view and analyse. There will be a second video coming showing some of the cool stuff that you can do in Kibana with those logs.

Don't forget to comment, like and subscribe :)

Social Media:

#dotnet #elasticsearch #logging #kibana
Рекомендации по теме
Комментарии
Автор

Thank you - I have been trying to get started with elasticsearch logging for a while without success. This was the video where I finally got it :) Great video, and just the right level of detail to your explanations.

ianf
Автор

I really appreciate the way you explain things, keep up the good work. thanks

paragsarin
Автор

Very nice. Excited for the full elastic search video

lemurza
Автор

Nick, you can also add serilog as a default logging provider into Microsoft extensions logging. So you won’t have to change from the ms implementation of Ilogger<> into serilog logger and continue to record your logs in the serilog format.

evilroxxx
Автор

Thank you for this video.
TIP: you can search trough commands history in terminal emulator with CTRL+R and then typing, way faster that up/down arrows.

romanhrytskiv
Автор

Thanks and great job. waiting for your next Elastic search video

ahmeddan
Автор

These videos are great! I am learning so much!

daa
Автор

Hello, first of all congratulations for your videos, they are simple and very clear and always touch on very interesting topics, also I really like your way of explaining, you can see that you love what you do and that you do it well Today I saw this video, and it would be nice if you made one on elastic stack and how would you structure your logs (real cases) in case of using filebeat. Great, keep it up

Pampua
Автор

Excellent explanation. Thank you Nick.

mestrestephane
Автор

log templates with custom properties are working when using ILogger<T> interface as well

piotrkowalski
Автор

Nick, another perfect video
Thank you so much!
You're the guy!

Автор

Thanks a lot. Really useful knowledge 👍

denisosipenko
Автор

This is really great, thank you for all the videos you make - please never stop making videos and remember: keep coding :)

clearlyunwell
Автор

Nick, you are simply awesome, i don't it is coincident or what, your all videos are linked to my current work like. Net core, serilog, reflections, redis cache, elastic search, system. Text.Json, logger etc etc... Thanks a lot for helping in directely us to building a Product

shreneekpatil
Автор

Awesome! Thanks!. Waiting for the Elasticsearch tuto. I have a question for you.
Does this logging to elasticsearch have a retry in case the service is down or in case of error trying to log?

matiascasag
Автор

Hi Nick, thanks for the video. Are you still planning on doing a video on ElasticSearch only (or maybe OpenSearch)? That'd be awesome:)

ricardo
Автор

This is great - thank you.
I'm really interested in trying it out myself, but I came unstuck with the docker/yaml stuff. I can't get hold of your repo as there seems to be a problem with the invite system. Can you help?

mortware
Автор

Would be great if you would cover the NEST library as well

benlewies
Автор

Nick Please do a tutorial on MS Search integration.

sps
Автор

Great content. Is it possible to configure a retention policy of the logs in elastic search? So like if you want to keep only the last 2 months of logs.

trocomerlo