~/talk

.NET:Stay calm and Serilog + Elastic Search + Kibana on .NET Core

Talkat 4Developers 2020 · 2020-09-14..09-18· [dotnet, observability]
links:none on file
slides:none on file

Shows a working .NET Core demo that replaces ILogger with Serilog to write JSON logs to rolling files and push them over HTTP into Elasticsearch for search and dashboards in Kibana. Explains index/shard/replica layout, recommends 3 master + 2 data nodes, hot/warm/cold ILM, avoid JVM heaps >32 GB, use SSDs, and add correlation/trace ids so a provided request id finds the exact divide-by-zero exception in Elasticsearch. Includes APM via a NuGet agent and a simple pipeline option using Beats or Logstash.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:16Problem with missing logging
  3. 3:01Why logging matters in modern apps
  4. 5:11What to log and what not to
  5. 7:40Log levels and security
  6. 9:09Where to store logs
  7. 10:14Relational DB vs Elasticsearch
  8. 12:23Why Elasticsearch
  9. 14:57Elastic Stack architecture
  10. 17:01Kibana dashboards and analytics
  11. 18:30Logstash and Beats explained
  12. 20:38Scaling Elasticsearch
  13. 22:04Hot-warm-cold architecture
  14. 23:31Elasticsearch cluster setup
  15. 25:20Shards and scalability
  16. 27:47Pricing and licensing
  17. 29:13Demo setup with Docker
  18. 30:21Elasticsearch REST API demo
  19. 33:12Kibana Discover and search
  20. 34:14Creating visualizations
  21. 35:42Why Serilog over standard logging
  22. 36:27Serilog vs ILogger demo
  23. 38:51Structured logging in files
  24. 40:19Serilog in ASP.NET Core
  25. 41:23Configuring Serilog with Elasticsearch
  26. 43:56Serilog middleware demo
  27. 45:21Debugging with trace IDs
  28. 47:56ASP.NET Core APM integration
  29. 50:05Elasticsearch best practices
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.