serilog-sinks-elasticsearch
serilog-sinks-elasticsearch copied to clipboard
How can i add a custom Id to es with Serilog.Sinks.Elasticsearch
trafficstars
now i have a demand,i need add a consuom id to es with Serilog.Sinks.Elasticsearch when it write log to es ,so I've tried many ways to do this ,but it still doesn't work
Does this issue relate to a new feature or an existing bug?
- [ ] Bug
- [ √] New Feature
What version of Serilog.Sinks.Elasticsearch is affected? Please list the related NuGet package. Serilog.Sinks.Elasticsearch, Version=9.0.3.0
What is the target framework and operating system? See target frameworks & net standard matrix.
- [ √] netCore6.0
- [ ] netCore 2.0
- [ ] netCore 1.0
- [ ] 4.7
- [ ] 4.6.x
- [ ] 4.5.x
Please describe the current behavior?
Please describe the expected behavior?
If the current behavior is a bug, please provide the steps to reproduce the issue and if possible a minimal demo of the problem