VMware Solutions Discussions

SMVI 2.0 & LogViewer 1.4 & VSphere

lagenevoise
3,421 Views

Dear Community Members,

 

I'm looking for a solution to read & parse the xml files retrieve from a SMVI Backup.

Or provide me the global xml structure to raise a perl script.

 

LogViewer 1.4 isn't able to provide me any help.

Regards,

CGA

 

 

SnapManager for Virtual Infrastructure Server 2.0 (build date='091023_0735', version='793')

VSphere Vcenter 4.00

1 REPLY 1

amritad
3,421 Views

Hi

Please try this

@XmlType(name = "logMessage", namespace = "http://www.netapp.com/smai/Operation")

@XmlAccessorType(XmlAccessType.FIELD)

public class LogMessage {

    @XmlElement

     Date timestamp;

    @XmlElement

     LogLevel level;

    @XmlElement

     String thread;

    @XmlElement

    String location;

  

    @XmlElement

    String msgKeyClass;

    @XmlElement

    String msgKeyValue;

      

    @XmlElementWrapper(name = "parameters", nillable = true)

    @XmlElement(name = "parameter")

    List<String> parameters;

     

  

    @XmlElement

    protected String message;

  

    }

Also please post SMVI and virtualization related questions here

http://communities.netapp.com/community/products_and_solutions/virtualization

Regards

Amrita

Public