✅ Sinking with Serilog to ElasticSearch with custom properties / template
Hi! Anyone here familiar with Serilog and sinking into ElasticSearch?
long story short: I have asp.net 6.0 Web Api with Serilog logging, i want to add ElasticSearch sinking with custom additional props like:
user.name, user.phone, class, exception, log_type, message, exception etc.
But I don't know how to approach this.
4 Replies
don't you have just to define an enrich section in the appsettings?
Unknown User•14mo ago
Message Not Public
Sign In & Join Server To View
@Kapitan Boczek have you found the answer?
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View