Feature request : Having a saved filter list to choose from

190 views
Skip to first unread message

Moshe Eliyahu

unread,
Mar 17, 2017, 6:35:02 AM3/17/17
to glogg
Hi,
Can we get the option to have our own saved Regular expression that we can enable or disable for filtering.
Right now I am using the drop down list but I prefer to have with a checkbox.

Another feature could be to have an OR, AND relation between the filters.

Thanks
I love this tool its fast and efficient !!!
Moshe

Denis McKaigue

unread,
Nov 24, 2017, 8:24:47 AM11/24/17
to glogg
You can emulate the ability to enable/disable filters as follows:

Create a new filter with this regex .*(DISABLED FILTERS BELOW)*
This will match everything
Set the background and foreground to the default colors (black text on white background)
Put any filters you want to disable below this filter
This disabling filter will override the ones below it and return the text to the default colors
Your remaining filters above it will then override the disabling filter and work as expected

i.e.
MY_FILTER_1
MY_FILTER_3
*(DISABLED FILTERS BELOW)*
MY_FILTER_2
MY_FILTER_4

uvw...@googlemail.com

unread,
Feb 26, 2018, 12:37:45 PM2/26/18
to glogg
I think even more important is a preset management for those filter sets helping us to exchange them between different machines, accounts, users etc.

I am getting soooo exhausted setting up new filter sets on new machines over and over again.
Before on windows in baremetal. now in linux with glogg....


As well this could be a step towards sharing in a way that wireshark does with the package filters and coloring.
As there is no straighforward to export/import them sharing even between my own accounts is a bit of a drama.

Just imagine a website where you can download a nice coloring set for strace logs, apache logs, etc.....

This would be such a massive improvement in usability!

denis.m...@gmail.com

unread,
Feb 26, 2018, 12:46:36 PM2/26/18
to glogg
You can share presets between machines/users etc. Glogg looks for a '.gloggrc' file in your home directory and automatically writes to it during use. It will
record (among other things) your filter set, search history and general settings. I would advise keeping this under source control (as you should with all of your unix config files). This
will allow you to share configuration between machines.

uvw...@googlemail.com

unread,
Feb 26, 2018, 2:02:11 PM2/26/18
to glogg
cheers,
I didnt find this info yet using search.....

Thats a good start.... Many Thanks!

But you get what i mean with exportable and shareable filter sets. Killer feature :)
I just see its C++ code.... so thats probably not so straighforward then..... probably not so easy to find and integrate a preset handling framework/library.
Lets see.
Reply all
Reply to author
Forward
0 new messages