Kittyfisto / Tailviewer

Open source log file viewer
https://kittyfisto.github.io/Tailviewer/
MIT License
184 stars 38 forks source link

allow to save and load quick filter configurations #290

Open BenKenobi85 opened 3 years ago

BenKenobi85 commented 3 years ago

Currently there's one global quick filter configuration which consists of n specific quick filters. Each filter is enabled or disabled on a per file basis. Assume there's two files A and B and we have two filters, filter 1 and 2, defined. Today it's possible to have filter 1 enabled and filter 2 disabled for file A as well as filter 1 disabled and filter 2 enabled for file B. Switching from file A to file B changes which filters are active because it's persisted on a per file basis.

This feature requests aks for a way to not only store the quick filter state on a per file basis, but the full quick filter configuration itself, being the number of filters n as well as the specific filter properties. One should be able to apply the stored configuration to any particular loaded file afterwards. Also Tailviewer should have the ability to store multiple named quick filter configurations.

As a user I don't care how or where filter configurations are stored, I don't want to handle them by selecting configuration files from disk. Having an import / export option via the settings view in order to be able to transfer these from one computer to another is a plus though.