This feature is only available since Log Viewer v2.2.

Log Viewer v2.2 introduced support for multiple hosts. Hosts can only be configured via config/log-viewer.php or the AppServiceProvider, but you can still query them via Log Viewer's API.

List all hosts

GET {logViewer}/api/hosts

This endpoint lists all the hosts configured with the Log Viewer.


If you have any questions, feedback, or need any help setting up Log Viewer within your project, feel free to reach out via GitHub Discussions or GitHub Issues .