Β© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filamentβ€’16mo agoβ€’
7 replies
Lopsum

Using Sushi with Filament Table and refresh the data

Hello everyone!

I'm trying to make a LogViewer in a page via a modal. To do this, I was thinking of using Sushi to transform the log rows into an Eloquent array so that I could use the Filament tables.

So I made a Model and a Livewire component with a Table.

In the Table, I do a
Log::query()
Log::query()
and everything works fine.

Where I'm stuck is that I'd like to add a select that will fetch the logs available in the storage/logs folder. When the user selects a file, I'd like to send this file to the Model so that it can redo the Eloquent array for me before refreshing the table. The problem is that I don't really know how to do it, or even if it's possible.

I've tried passing the log file to my Select's
afterStateUpdated
afterStateUpdated
method and calling the Model's getRows method, but it doesn't seem to work. I guess I miss something πŸ‘€
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel β€’ Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Use Filament Table Filters With Sushi
FilamentFFilament / β“β”Šhelp
17mo ago
Using Sushi for table with static data error
FilamentFFilament / β“β”Šhelp
2y ago
Weird random issues with Filament Table using Sushi on swapping users.
FilamentFFilament / β“β”Šhelp
17mo ago
Sushi + table search
FilamentFFilament / β“β”Šhelp
2y ago