Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MalkaGit opened this issue Jan 30, 2024 · 3 comments
Open
Labels
enhancement New feature or request

Comments

@MalkaGit
Copy link

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 MalkaGit added the enhancement New feature or request label Jan 30, 2024
@thompson-tomo
Copy link
Contributor

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

@pumikiPum
Copy link

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.

@thompson-tomo
Copy link
Contributor

thompson-tomo commented Feb 14, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants