ecs-dotnet icon indicating copy to clipboard operation
ecs-dotnet copied to clipboard

Is it possible to write to elastic from log4net using this library ?

Open MalkaGit opened this issue 1 year ago • 3 comments

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 avatar Jan 30 '24 10:01 MalkaGit

@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.

thompson-tomo avatar Feb 12 '24 09:02 thompson-tomo

Thank you so much for your replay .

few short questions:

  1. Is the lib official?
  2. Is there a way to select only some of the field s , to improve computation and network time ?
    1. Are there any known issues about js performance of the lib ?
    1. I am responsible for handling the name of the index (table) to which the data will be written to Elasticsearch. Correct ?
    1. Is there any best practice regarding the index name ? Eg, separate index per day

thank you so much 7.

pumikiPum avatar Feb 14 '24 06:02 pumikiPum

@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.

thompson-tomo avatar Feb 14 '24 09:02 thompson-tomo

Thanks for your answers @thompson-tomo I think we can close this now.

Mpdreamz avatar May 28 '24 18:05 Mpdreamz