Configure Serilog with Logstash and ElasticSearch
Today I was setting up the Serilog logging that communicates with Logstash. Serilog can communicate to ElasticSearch easily with ElasticSeach sink https://github.com/serilog/serilog-sinks-elasticsearch, but that does not work with Logstash http input. So to use the Logstash http input, we need to install the Serilog Http Sink and configure it properly.
I prefer to use DurableHttpUsingFileSizeRolledBuffers writer, because it will store the log files temporary into disk, if the Logstash …