[英]Best Way to Log Client-Side/Javascript in ELK (Logstash)
We are looking to use ELK for our backend system logging.我们希望将 ELK 用于我们的后端系统日志记录。 I'd also like to log the following:
我还想记录以下内容:
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.
您还可以在 React 应用程序中实现一些侦听器并将事件转发到后端的端点,以便(可选地丰富和)转发到 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).看看这个: https : //github.com/jamesjara/react-native-remote-logger和https://www.elastic.co/solutions/apm (可能不是唯一的解决方案)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.