Bug 535464 (RHQ-2157) - Be able to direct output to a file with various output options
Summary: Be able to direct output to a file with various output options
Keywords:
Status: CLOSED NOTABUG
Alias: RHQ-2157
Product: RHQ Project
Classification: Other
Component: CLI
Version: 1.3
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: ---
Assignee: John Sanda
QA Contact:
URL: http://jira.rhq-project.org/browse/RH...
Whiteboard:
Depends On:
Blocks: RHQ-343
TreeView+ depends on / blocked
 
Reported: 2009-06-16 21:05 UTC by Simeon Pinder
Modified: 2009-11-10 21:22 UTC (History)
0 users

Fixed In Version: 1.3
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Simeon Pinder 2009-06-16 21:05:00 UTC

Comment 1 Simeon Pinder 2009-06-16 21:18:05 UTC
Given the limited screen real estate, not all of the commands returned content is displayed to the screen. 
In other words, details are truncated on display.  

Command input/output logging needs to be enabled so that all the operations and times for the operations is logged to a file of the users choosing. 

The file destination should be changeable from the settings command page. 

Comment 2 Jay Shaughnessy 2009-06-30 19:41:46 UTC
The summary fields for a service, if defined, will be set in the cli config.  When displaying back to the screen only the summary fields will be displayed.  We may also want to be able to set field exclusions for any output destination, some fields may just not be suitable for display.

finally, when directing to a file we may want to be able to specify a CSV format be used for easy import into a spreadsheet.

Comment 3 John Sanda 2009-09-03 13:21:01 UTC
Added support for file export in revs 4557 and 4567 with the new class Exporter. The class allows for results to be exported to a CSV file or a plain text file with the text being in tabular format. An instance of this class is made available to scripts as an implicit variable named exporter. Some examples of usage can be found at http://www.jopr.org/confluence/display/JOPR2/Running+the+Jopr+CLI#RunningtheJoprCLI-Exporter

Comment 4 Red Hat Bugzilla 2009-11-10 20:58:57 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-2157



Note You need to log in before you can comment on or make changes to this bug.