简体   繁体   中英

Best Way to Log Client-Side/Javascript in ELK (Logstash)

We are looking to use ELK for our backend system logging. I'd also like to log the following:

  • (Browser) Console tab
  • (Browser) Network tab
  • User Actions (we use React)

Are there any tools/add-ons/libraries that make this possible?

At the end, you'll need a backend system to store the logged events. This backend should also be secured. You can also implement some listeners in your react app and forward the events to a endpoint of your backend in order to (optionally enrich and) forward to ELK.

Have a look on this: https://github.com/jamesjara/react-native-remote-logger and https://www.elastic.co/solutions/apm (probably not the only solution out there).

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