简体   繁体   中英

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 ? The API uses of the website? Javascript code is? Or the other way?

You can log all website content access to nginx access log

Parse the nginx access log with logstash and send to 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.

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