How to collect logs from web browser?

Is there any beats or any agent to collect logs generated by web application from web browser and feed into elastic search?

Appreciate any help in this regard.

You mean the client-side JavaScript would somehow post log events?

Yes Magnus. The logs generated by javascript of a web application.

Are you writing those current logs to a file? If so, what stopping you from point filebeat at them? I am most likely missing something here ...

First point, currently the logs are written on console. Is it possible to ship them?
Second point, do you mean to logs to a file that is remote server not in client machine where browser is running.

Logs are written to the browser console? Somehow you need to push the logs to the server who is going to store/push the logs.

This topic was automatically closed after 21 days. New replies are no longer allowed.