Export / Covert to csv?
-
Hallo,
gibt es eine Möglichkeit Daten (Server, Rechner etc…) als CSV File zu exportieren?
Über den XML Export ist es mir leider nicht möglich das XML File, richtig als CSV File zu konvertieren.
Ein XML Export File sieht wie folgt aus:
<object><id>xxx</id>
<title>xxx</title>
<sysid>xxx</sysid>
<created by="xxx">xxx</created>
<updated by="xxx">xxx</updated>
<type id="xxx" const="C__OBJTYPE__SERVER" title_lang="LC__CMDB__OBJTYPE__SERVER">xxx</type>
<status>xxx</status><data><category title="Allgemein" const="C__CATG__GLOBAL" category_type="0"><cat_data data_id="xxx"><category id="xxx" title_lang="xxx">xxx</category></cat_data></category>
<category title="Kontakt" const="C__CATG__CONTACT" category_type="0"><cat_data data_id="xxx"><contact id="xxx" ldap_group="xxx" right_group="0" type="3">xxx</contact></cat_data></category>
<category title="Netzwerk" const="C__CATG__NETWORK" category_type="0"><cat_data data_id="29"><title>Interface</title>
<slot>0</slot>
<port id="27"><title>Port</title>
<speed>xxx</speed>
<duplex>xxx</duplex>
<negotiation>xxx</negotiation>
<active>xxx</active>
<interface id="xxx">Interface</interface>
<speed_type id="xxx" title="Mbit/s" const="C__PORT_SPEED__MBIT_S" title_lang="Mbit/s">xxx</speed_type>
<type id="xxx" title="Ethernet" const="C__PORT_TYPE__ETHERNET" title_lang="Ethernet">xxx</type><standard></standard>
<ip id="xxx"><address>xxx</address>
<primary>xxxprimary>
<active>xxx</active></primary></ip></port></cat_data></category></data></object>Mittels eines Perl XML Paser komme ich nur in den ersten XML Zweig, alles ab <data></data>geht nicht oder nur einzeln ohne Zusammenhang zum ersten Zweig.
Ich bräuchte ein CSV welches wie folgt ausgebaut ist:
"Name","sysid","Allgemein(Personenbezogenedaten oder Andere)","Kontakt","Interface","Port","IP"
-
Das ist möglich über unser Report Modul
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login