ecs-dotnet
ecs-dotnet copied to clipboard
Is it possible to write to elastic from log4net using this library ?
ECS integration/library project(s) (e.g. Elastic.CommonSchema.Serilog):
Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like A clear and concise description of what you want to happen.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.
@MalkaGit have u taken a look at https://github.com/elastic/ecs-dotnet/blob/main/src/Elastic.CommonSchema.Log4net/README.md which talks about the options.
Thank you so much for your replay .
few short questions:
- Is the lib official?
- Is there a way to select only some of the field s , to improve computation and network time ?
-
- Are there any known issues about js performance of the lib ?
-
- I am responsible for handling the name of the index (table) to which the data will be written to Elasticsearch. Correct ?
-
- Is there any best practice regarding the index name ? Eg, separate index per day
thank you so much 7.
@pumikiPum yes it is an official library by Elastic. The library by default populates values into a number of properties which can not be controlled.
I can not comment on performance.
In relation to indexes, I would suggest you look at: https://www.elastic.co/blog/what-is-an-elasticsearch-index but I would keep your indexes minimal.
Thanks for your answers @thompson-tomo I think we can close this now.