spring-cloud-dashboard icon indicating copy to clipboard operation
spring-cloud-dashboard copied to clipboard

Logging view implementation

Open daniellavoie opened this issue 8 years ago • 7 comments

Hi there @VanRoy

I remember hearing that the logging view is not yet available. If not, you got any direction on how you consider it should be implemented ? I plan on working on a PR for this feature.

In case this view is already in place, proper configuration instruction should be provided in the docs since I am clueless on how we can make it work.

Regards, Daniel

daniellavoie avatar Aug 08 '16 06:08 daniellavoie

Hi @daniellavoie ,

I haven't had the time to work on this feature. The main difficult is to create a log aggregated view if it's possible.

Feel free to push a PR on this feature.

Thanks for your help. Julien.

VanRoy avatar Aug 16 '16 11:08 VanRoy

I've been some thought into it and come up with this idea. I feel that services would need a dependency on a custom actuator-logging module that would pre configure a rest and websocket endpoint serving the inputstream of the spring.logging.file or spring.logging.path. I don't see any means to capture the console output. The spring-cloud-dashboard could then feed itself from those new endpoints.

daniellavoie avatar Sep 14 '16 12:09 daniellavoie

@daniellavoie,

It's seems to be good idea. Maybe we need to do a very simple test implementation to validate the concept.

Can you think that it's will be possible to see log history with your system ?

VanRoy avatar Sep 16 '16 17:09 VanRoy

I'll work on it. First I'll create the actuator extension that would handle the logging.

daniellavoie avatar Sep 16 '16 19:09 daniellavoie

@daniellavoie , @VanRoy, Is this logging view implementation in spring cloud dashboard released? Though my actuator endpoint /logfile works for all microservices but does not shows the logging stream in the spring cloud dashboard. Is there any configuration missing?

VinodKandula avatar Oct 19 '17 11:10 VinodKandula

@VinodKandula , actually it is not finalized. I will check with @daniellavoie if the implementation can be merged.

VanRoy avatar Oct 26 '17 10:10 VanRoy

Hi @daniellavoie I read that you were working on a PR to include log aggregated view in the Spring Cloud Dashboard. Is that complete / released ?
For our purpose, I extended the Spring Boot Admin to add a view for /logfile. But this shows logs only from individual instance of a service. What I am looking to do is get a logging view for all instances of a service consolidated in one place. Also, I would like to add log searching and filtering features. I am willing to contribute if there is some work currently being done in this area.

vaishnav-piyush avatar Dec 27 '17 10:12 vaishnav-piyush