Make Tech Easier published a tutorial about configuring Logitech Keyboard Lighting in Linux.
How to Configure Logitech Keyboard Lighting in Linux
Logitech keyboards don't support Linux well, but you can use g810-led to help you control your Logitech keyboard's lighting and make it useful.
How to Configure Logitech Keyboard Lighting in Linux - Make Tech Easier