If there is an error log in an application, how to send log files onto elastic search

if there is an error log in an application, how to send log files onto Elasticsearch

Why not sending all the logs to Elasticsearch?

Which tool are you using to send data to Elasticsearch?

i m new in elastic Search and consulting which tool can be used for sending log to Elastic Search. For example, filebeat, logstash ? or what ?? may you please share with me, thank you

You could start from here: Free log analytics training using Elasticsearch and Kibana | Elastic Training

which tool can be used for sending log to Elastic Search. may i ask, thanks

You can pick one of them:

  • filebeat
  • elastic agent

Read Beats and Elastic Agent capabilities | Fleet and Elastic Agent Guide [8.10] | Elastic

elastic agent talking about logstash ?
and what about windows program ? is it one of the tools for sending logs onto Elasticsearch ?

thanks

No. I'm talking about Elastic Agent. Did you read the link I shared?

Yes.

windows program talking about some plug-in..let say .netcore plug-in ? may i ask, thanks

I don't understand the question

can developer use .net core to write a program code and use some "plug-in" to directly send log to Elasticsearch ? thanks

See

May i ask if you know how to use source code to write log directly into Elastic Search using .netcore ? thanks

No I don't know.

are there some plugin in .netcore which can help push some program log ( source code ) into Elasticsearch? thanks

I have no idea about what Netcore is so I can not help. May be others...

if there is "debug" in the field of Level, then, debug log is including "error" log ? may i ask, thanks

Unless you share examples and details (like code) about what you are after, there is barely no chance we could help.

thank you for your support. this is screen. May i consult your advices? thanks

What do you want to do? I don't understand what it means:

if there is "debug" in the field of Level, then, debug log is including "error" log ?