zarunbal/LogExpert

Feature Request: Export/Import of "Highlighting and triggering" rules

Opened this issue · 3 comments

First and foremost .. AWESOME utility !!

Being able to share "Highlighting and triggering" rules would really help when collaborating with peers.

  • [Export] Ideally being able to select which Groups rather than the entire list. Alternative is a per Group export option (as that is the most common use case for a given focused task).

  • [Import] Ideally being able to select which Groups to import (if a multi Group set); this could be done a confirmation of each Group as it is being Imported so as to allow for avoiding over-writing an existing Group.

Stretch item would be to allow on a per Group setting to be saved in some Export format .. and give choice of saving in same folder as file(s) being processed, else common user setting folder.

Alternative to this would be to provide the Highlighting and triggering rules in a more text friendly format .. eg effectively change the existing C:\Users<username>\AppData\Roaming\LogExpert\settings.dat file to something like an XML or similar file that would allow for manually lifting and inserting rules.

C:\Users\AppData\Roaming\LogExpert\settings.dat file to something like an XML or similar file that would allow for manually lifting and inserting rules.

I was thinking about that, the problem with that is, it takes more time and it needs a very good XSD-Design, currently its easier to just serialize and deserialize the object into / from a binary format.

The next problem is, the export / import is coupled with all settings, so highlighting needs to be decoupled. I can take a look, but it will take a little bit longer, then the last 2 changes :)

Changed the Settings to json format instead of binary format, export / import of standalone highlighters is a feature that should be added in one of the next versions after 1.8.8

Indeed what an AWESOME utility!
The ability to export en import the highlighting and triggering rules would make it even better. Thank you for adding it!