使用Web后端的日志存储

huangapple go评论84阅读模式
英文:

Logging storage with web backend

问题

我们需要存储一些服务的日志,每个日志都有其级别、命名空间(可能是点分隔的命名空间)、标签(作为列表)、时间戳(日志创建时)和内容(作为文本)。

我们还需要一个具备显示/搜索/过滤具有级别、命名空间和标签的日志的 Web 后端。

是否有一个开源系统可以实现这个功能?我更喜欢使用 Go 或 Python 语言。如果没有,那么对我们来说最好的解决方案是什么?

我不知道这个问题是否符合 stackoverflow 的规定。我只是在询问一个开源解决方案。

谢谢您阅读这个问题。

英文:

We need to store our logs from some services, each log has its level, namespace (maybe dotted namespace), tags (as a list), timestamp (when the log created) and its content (as a text).

We also need a web backend with ability to show/search/filter the log with its level, namespace, tag.

Is there an open-source system for that? I prefer Go or Python language. If not, what is the best solution for us?

I do not know is this question legal or not for stackoverflow. I am just asking about a open-source solution.

Thank you for reading this,

答案1

得分: 1

在我看来,我将分析一些我所了解的开源日志系统:

  1. Logstash:你需要Kibana或类似的工具来提供Web界面。Logstash可以使用RFC日志系统格式从文件中推送日志。你也可以使用Logstash Forwarder将日志从Logstash客户端发送到Logstash服务器。但是,对于你想要推送到Logstash服务器的应用程序的日志来说,这是非常复杂的。

  2. Scribe:我认为Scribe已经不再受Facebook支持了,它非常古老。

  3. Graylog:这是一个完整的日志中心堆栈,具有界面、过滤器、输入和输出功能。我们可以非常容易地将任何应用程序的消息日志推送到Graylog服务器的API上。但是Graylog无法读取文件日志 :)。

英文:

in my opinion, i will analytic some opensource system for log that i know:

  1. logstash : you need kibana or any the same for web interface. logstash can push log from file with RFC log system format. You can use Logstash Forwarder for send log from logstash client to logstash server, too. but with log of applications that you want push to logstash server is very complex.

  2. Scribe: i think that Scribe do not longer support by facebook. it is very old.

  3. Graylogs : Full stack for log central with interface, filter, input, ouput. we can push message log from any applications to API of graylog server very easy. but gray log can't read log from file 使用Web后端的日志存储 .

huangapple
  • 本文由 发表于 2015年1月26日 15:16:45
  • 转载请务必保留本文链接:https://go.coder-hub.com/28146023.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定