Creating an API application - Part 2
Course Content
0 / 34 completedCourse Project
What are logs, when are they useful
The log levels
Introduction to the Course
Creating an API application - Part 1
Using ILogger - In Controller
Creating an API application - Part 2
Using ILogger - In Program.cs
Using ILogger - Changing the log level while running
Using nlog - Install and use nuget
Create the class itself
Changing the application to our need
Create a custom ILogger
Change the log format
Create a Dockerfile
Create a docker-compose file
How Docker logging mechanism works
docker logs command
Introduction to Logstash
Install using Docker
Configure logstash to receive our gelf output
Using Filter
Using Filter - Continued
Adding categories for better control
Using Tags to control the flow
Install MySQL under Docker
Create a stored procedure
Create a Database and a Table for the data
Output from logstash statistic data
Install MySQL plugin for Logstash
Preparing the environment - Install Grafana Docker
Preparing the environment - Setup data source
Visualizations - Table visualization to see “raw” data
Create an alert subscription