DiamondLightSource / logpanel

Graylog frontend that displays aggregated, streaming logs for multiple services
Apache License 2.0
1 stars 0 forks source link

Graylog-free dev mode #15

Open TBThomas56 opened 2 months ago

callumforrester commented 2 months ago

As a developer I would like to work on this project without relying on an internet connection or the messages on the production graylog instance so I can develop more efficiently and deliberately cause test cases to happen.

Possible Solution

There is a containerised version of graylog: https://hub.docker.com/r/graylog/graylog/ so we could provide config to run a local version inside a container on the developer's machine.

I think the best way to populate it with useful data may just be to collect a sample of useful logs from the production graylog instance and ship a script to pipe them back into the server at will. If we go that route then those logs may be published on this public repository, so they should be very carefully reviewed to ensure they do not contain sensitive information!

Acceptance Criteria