How To Analyse IIS Log Files

Every request made to a web application running on IIS is logged. Not only will the page that was requested be registered, but a lot of additional information like the user agent, the client IP address and if the request resulted in an error. Many of those values can be found in Google Analytics, but …

Read more

Monitor your Applications with Kibana

Kibana is the powerful search interface of Elasticsearch. Depending on how many log messages you need to store you can run both tools locally or in the cloud. Today you will learn how you can install Kibana and what possibilities it has to monitor your applications. This post is part of the Improve Your Log …

Read more

Elasticsearch as a Sink for Serilog

When multiple systems continuously produce log messages they accumulate quickly. In combination with a longer retention time we easily talk about millions of log messages that need to be stored and searched. A single System like Seq will reach its limits and we need a bigger, more scalable solution. Elasticsearch is such a system, which …

Read more

Debugging Serilog

When you play with different configurations for Serilog or try to add another sink you may run into problems. If you are out of luck your application crashes without the slightest notice – Serilog silently eats it’s own errors. In such cases you have to dig a little deeper into Serilog to find out what’s …

Read more

Seq as a Sink for Serilog

As I explained in the last posts, log messages are not just strings but have an inner meaning. When we use Serilog to write structured log messages we make them explicit to query them later. The tool we want to use to search for a specific orderId should give us this capability without the need …

Read more

Structured Logging with Serilog

As a .Net developer you can choose from a variety of logging frameworks. All are more or less built to mitigate the shortcomings of the built in tracing framework. While System.Diagnostics.Trace has some helpful concepts, it misses many basic features most other logging frameworks can offer out of the box. Serilog is not just another …

Read more

Testing a Web API with Postman

When you develop a web API and a client for it at the same time you often run into errors. But where did they happen? In the API? Or in the client? It would be a simple thing to pinpoint the source without that many moving parts. A stable client that works would be a …

Read more