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

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

Nick Chapsas

3 года назад

87,176 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@aronszocs5259
@aronszocs5259 - 14.05.2023 12:56

one container, elasticsearch doesn't work for me for some reason. It starts and runs for a bit but then stops with "ERROR: Elasticsearch exited unexpectedly".

Nick, do you have the sourcecode available somewhere perhaps? (Although I'm pretty sure I copied correctly.)

Ответить
@mestrestephane9087
@mestrestephane9087 - 20.04.2023 18:19

Excellent explanation. Thank you Nick.

Ответить
@maradasa985
@maradasa985 - 04.09.2022 02:46

Nick I am still waiting the elasticsearch video XD.

Ответить
@UstinBelarus
@UstinBelarus - 13.05.2022 16:44

in case someone faces the issue with elastic service run - add "discovery.type=single-node" to the elastic service's environment

Ответить
@irinamurmur
@irinamurmur - 28.04.2022 17:03

Thank you! Very useful

Ответить
@CutePoisonization
@CutePoisonization - 07.04.2022 12:22

my elastic server is remotely hosted and need username and password to authenticate, where do i specify these credentials in my .net core application?

Ответить
@yanaraldaghestani6305
@yanaraldaghestani6305 - 05.04.2022 11:47

amazing man

Ответить
@VitorOliveiraDM
@VitorOliveiraDM - 18.02.2022 15:30

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

Ответить
@whoiam6395
@whoiam6395 - 15.02.2022 00:47

So useful! Thanks 👍🏻

Ответить
@zoran123456
@zoran123456 - 08.12.2021 15:02

you omitted logstash, how would you refactor the code to support logstash? Thanks for the tutorial.

Ответить
@daa82
@daa82 - 07.11.2021 16:39

These videos are great! I am learning so much!

Ответить
@ianferguson4845
@ianferguson4845 - 02.11.2021 16:31

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.

Ответить
@pranavpandey7163
@pranavpandey7163 - 24.10.2021 11:56

Hi Nick, As you said you are going to create a video on Elastisearch, when you are planning to upload that?

Ответить
@smrsgv
@smrsgv - 20.09.2021 13:26

Logging not working when i publish it to IIS, but work normally locally, there is no restriction in network, how can i solve it? maybe i missed some config for production?

Ответить
@feelingeverfine
@feelingeverfine - 02.09.2021 19:40

What does this have over just using Serilog and Seq? What did Elastic and Kibana get over this?

Ответить
@ricardo190988
@ricardo190988 - 12.08.2021 12:33

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

Ответить
@shreneekpatil220
@shreneekpatil220 - 29.07.2021 21:26

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

Ответить
@ADSNGreenLife
@ADSNGreenLife - 08.07.2021 07:28

really useful video!!!!!

Ответить
@benlewies8828
@benlewies8828 - 06.07.2021 14:01

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

Ответить
@darkydrone
@darkydrone - 01.06.2021 16:47

Can you use that with the Serlilogs Log.Error also?

Ответить
@MarkStoddard
@MarkStoddard - 16.04.2021 23:57

Ha. I just started getting familiar with ELK stack. While I generally loathe Java, there's a lot of good tools built with Java

Ответить
@clearlyunwell
@clearlyunwell - 04.04.2021 21:42

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

Ответить
@evilroxxx
@evilroxxx - 21.03.2021 07:47

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.

Ответить
@TheraPi
@TheraPi - 04.03.2021 22:05

nice and practical tutorial. However, I'm not seeing my index pattern in Kibana. I followed the exact steps, bus used the official E-L-K docker containers

Ответить
@noelfrancisco5778
@noelfrancisco5778 - 10.02.2021 07:56

This is great tool, is it possible to replace with this tool the logging from SQL (through SQL trigger, during create, update, and delete transaction)? TIA :)

Ответить
@kartheeknandini3767
@kartheeknandini3767 - 09.02.2021 06:15

Nice video. I have one question. How Kibana accessing Elastic search DB. where you have configured it

Ответить
@Pampua84
@Pampua84 - 23.01.2021 02:07

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

Ответить
@piotrkowalski3460
@piotrkowalski3460 - 15.01.2021 00:16

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

Ответить
@trocomerlo
@trocomerlo - 16.11.2020 03:14

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.

Ответить
@emlplsn
@emlplsn - 13.11.2020 14:24

Awesome video, thanks for sharing.

Ответить
@sps014
@sps014 - 04.11.2020 14:49

Nick Please do a tutorial on MS Search integration.

Ответить
@davisflora2985
@davisflora2985 - 13.10.2020 07:36

I bought a cc from @lordfloyd on telegram best vendor I know and very trustworthy.He sell cc,fullz,Bank Drops,Dumps and Bank logs

Ответить
@MartinHAndersen
@MartinHAndersen - 04.10.2020 12:09

Thanks for another great video. Really learning a lot from you.
First it's freaking awesome that you can have all that functionality with so little code, awesome.

I would like to have Serilog to log to different devices dependent on the environment the program are running in.
localmachine to console, TEST, QA and PROD to Elastic.
What would be the best approach?

Ответить
@paragsarin2177
@paragsarin2177 - 16.09.2020 23:14

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

Ответить
@mortware
@mortware - 15.09.2020 16:31

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?

Ответить
@kevinli4606
@kevinli4606 - 13.09.2020 17:39

Personally I reckon having the configuration all coming from appsettings is a better approach

Ответить
@romanhrytskiv5598
@romanhrytskiv5598 - 09.09.2020 10:00

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.

Ответить
@89chiponline
@89chiponline - 04.09.2020 19:09

thanks

Ответить
@denisosipenko7413
@denisosipenko7413 - 31.08.2020 18:57

Thanks a lot. Really useful knowledge 👍

Ответить
@ahmeddan7734
@ahmeddan7734 - 27.08.2020 11:46

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

Ответить
@lemurza5236
@lemurza5236 - 26.08.2020 10:01

Very nice. Excited for the full elastic search video

Ответить
@CRBarchager
@CRBarchager - 26.08.2020 00:36

We're already doing this in all of our applications internally :D

Ответить
@christianista
@christianista - 25.08.2020 23:22

How can we use Elasticsearch/Serilog when API is hosted on Azure?

Ответить
@matiascasag
@matiascasag - 25.08.2020 18:10

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?

Ответить
@suryanarayanbaliarsingh5363
@suryanarayanbaliarsingh5363 - 25.08.2020 16:06

very nice. Thanks for sharing.

Ответить
@ajmalya
@ajmalya - 25.08.2020 15:31

super cool. Thanks for it.

Ответить
@LetsLearnWithA.R
@LetsLearnWithA.R - 25.08.2020 14:43

Awesome !!

Ответить