简体   繁体   English

如何从Web站点使用Elastic&Kibana收集日志和收集日志

[英]How to collect log and gathering log with elastic & kibana from WEBSITE

I am using the Elasticsearch, Logstash, and Kibana collect log a website Elasticsearch, Logstash, and Kibana How does this ? 我正在使用Elasticsearch,Logstash和Kibana收集网站的日志Elasticsearch,Logstash和Kibana怎么办? The API uses of the website? 网站的API用途? Javascript code is? JavaScript代码是? Or the other way? 还是相反?

You can log all website content access to nginx access log 您可以将所有网站内容访问记录Nginx访问日志中

Parse the nginx access log with logstash and send to elasticsearch. 使用logstash解析nginx访问日志,并将其发送到elasticsearch。 See more here 在这里查看更多

Assuming you can identify resources on your server by URL / context path, you can create separate dashboards in Kibana for APIs/JS/other resources based on path. 假设您可以通过URL /上下文路径标识服务器上的资源,则可以在Kibana中基于路径为API / JS /其他资源创建单独的仪表板。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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