简体   繁体   中英

Redirect logs to logstash instance instead of ElasticSearch

I have a question :

I`m using Elasticsearch.Net nugget with NLogs in order to send logs to my local Elasticsearch instance. Kibana is visualize them as well, so far soo good.

Is it possible using the same nugget to forwards logs to Logstash instance which is expose on my production environment instead to ElasticSearch

Elasticsearch.Net客户端无法直接写入logstash实例。

要增加Martijn的答案 ,您可以使用NLog将日志写入本地目录,然后使用Filebeat将这些日志发送到Logstash

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM