serilog-sinks-elasticsearch
serilog-sinks-elasticsearch copied to clipboard
Current development status of this sink
Hello there, i am considering using this sink in our application, but looking at the activity it doesn’t seem it is being actively maintained.
just wanted to confirm what is the current status of this sink and the plan for future updates and support for newest elastic search versions.
Excellent question. Unfortunately I m not actively using this Sink or Elasticsearch myself anymore. I see a lot of open issues and PRs which are hard for me to answer and complete. On the other hand, 30.4M downloads from NuGet so it is being used in the wild and has a pretty complete feature set.
I m really hoping for more active contributors. There was some talk by Elastic to create their own version. @Mpdreamz / @stevejgordon can you share your plans? I m really having trouble supporting this sink.
@mivano Mind if I ask where have you switched from Elasticsearch to? I'm always interested what option was chosen when something no longer satisfies requirements.
I used it in the past heavily with our own software hosted in our own data center (both for logging as well as search functionality). When I left 5 years ago, I switched to consultancy and worked on more cloud native solutions where we used Application Insights. Still with Serilog and the AppInsights sinks, but no longer using Elasticsearch. So I missed a couple of versions of that product as well :-).
So the ease of using PaaS in Azure compared to setting up Elasticsearch with Kibana, security etc in Azure makes App Insights more appealing to use.
There are no plans for a direct replacement of this sink currently. Obviously this is is an important and popular package today and Elastic employees are encouraged (and keen to) to contribute as and when time permits. Right now my personal focus is fully on GA for the new .NET client for Elasticsearch and that will consume most of my time for the immediate future, leaving little/no time for contributions to this project unfortunately. @Mpdreamz has indeed experimented in the past with a prototype low-level library called Elastic.Ingest. This supports ingesting data into Elasticsearch through newer primitives offered by System.Threading.Channels and built on our new Transport layer. Right now, it's incomplete and not production ready. That may one day become a good base for future integrations, including logging, although there's no engineering resource for it currently.
Thanks for your feedback @stevejgordon and also understandable, there is enough work elsewhere as well :-)
So @brunobertechini that is the short answer we can give you. I took some time today to create a version 9. Updated nuget packages (ran into some breaking changes), converted the non working CICD to GitHub Actions and pushed a package to nuget. So some progress, but this needs a more active and knowledgeable maintainer(s).
@mivano I was about to create PR for ES 8.x support, but I see you have very little time to maintain the repo. Any idea how I can jump in and help with some PR approvals, fixes, etc.?
@smg-bg thanks for reaching out. I really like ES 8.x support and/or supporting netstandard while still have a working pipeline. So if you have time for a PR, I would certainly welcome it!