print capability for audit-viewer?
A message that is not in the archive (sent off-list or not yet received): 425706905.174891261206096006.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com
Quoted 1 line · ----- "LC Bruzenak
Is there any plan to add printing capability to the audit-viewer?
Not currently; you can export any tab to HTML[1] and use a web browser (or perhaps (lynx -dump | lpr)) to print it. Is that an acceptable solution for you?
Mirek
[1] I have just noticed that "list" exports don't work, and a fix will be available in the next release. Mirek
Quoted 4 lines · Miloslav Trmac
Quoted 1 line · ----- "LC Bruzenak
Is there any plan to add printing capability to the audit-viewer?
Not currently; you can export any tab to HTML[1] and use a web browser (or perhaps (lynx -dump | lpr)) to print it. Is that an acceptable solution for you? Mirek
Mirek,
Thanks for the reply. I tried the export, however it isn't the tab contents per se which have the important data for us. We have modified the event tab to include the entire raw event, because in our system, the really important data is in usually the application-submitted text.
Since the event details window has no export, there is no way to print the desired information per event.
I also tried adding the "other fields" to the columns listing, however that particular test also had a different error. The first column was "Date" and when I tried to export that list, it failed to export the list. So I ran the audit-viewer from the command line and saw an error:
TypeError: __date_column_event_text takes exactly 1 argument (2 given).
Quoted 4 lines
[1] I have just noticed that "list" exports don't work, and a fix will be available in the next release. Mirek
Was it the above or different?
Thanks again,
LCB.
Signature · 1 line
LC (Lenny) Bruzenak
Quoted 5 lines · ----- "LC Bruzenak
Thanks for the reply. I tried the export, however it isn't the tab contents per se which have the important data for us. We have modified the event tab to include the entire raw event, because in our system, the really important data is in usually the application-submitted text.
Adding an export functionality to the "Event detail" dialog should not be difficult, filed as https://fedorahosted.org/audit-viewer/ticket/12 .
Quoted 8 lines
I also tried adding the "other fields" to the columns listing, however that particular test also had a different error. The first column was "Date" and when I tried to export that list, it failed to export the list. So I ran the audit-viewer from the command line and saw an error:
TypeError:__date_column_event_texttakes exactly 1 argument (2 given).
Quoted 4 lines
Quoted 1 line
[1] I have just noticed that "list" exports don't work, and a fix
will be available in the next release.
Was it the above or different?
Yes, it was this one. The fix is also available at https://bugzilla.redhat.com/attachment.cgi?id=379614 .
Mirek