How to collect logs from web browser?

(Kishore Kumar) #1

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.

(Magnus B├Ąck) #2

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

(Kishore Kumar) #3

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

(Jaren Glover) #4

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 ...

(Kishore Kumar) #5

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.

(Steffen Siering) #6

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.

(system) #7

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