Parsing metabase.xm...
 
Notifications
Clear all

Parsing metabase.xml

6 Posts
3 Users
0 Reactions
653 Views
keydet89
(@keydet89)
Famed Member
Joined: 21 years ago
Posts: 3568
Topic starter  

Does anyone have any tips or tools for parsing the metabase.xml file associated with IIS 6.0? I extracted it from an image, and can't locate a style sheet.

Thanks,

Harlan


   
Quote
(@bithead)
Noble Member
Joined: 20 years ago
Posts: 1206
 

Are you looking for something other than the metabase explorer in the IIS Resource Kit? Or MS Log Parser?

Can you provide a clue as to what you are looking for in the XML? Comparing it to the history file? Looking for configuration settings? Other?


   
ReplyQuote
keydet89
(@keydet89)
Famed Member
Joined: 21 years ago
Posts: 3568
Topic starter  

BitHead,

I want to parse the metabase so I can see how the original system was configured when it was running…similar to parsing the raw System file to see what services were supposed to be running/started automatically when the system was "live".

Thanks,

Harlan


   
ReplyQuote
keydet89
(@keydet89)
Famed Member
Joined: 21 years ago
Posts: 3568
Topic starter  

BitHead,

From my original post "I extracted it from an image…"

I located, downloaded and installed the IIS 6.0 Resource Kit Tools, and opened MetaBase Explorer. It only works on live systems…it does not allow me to import the .xml file that I extracted from the image.

How would Log Parser be of help, if the metabase.xml file isn't a log?

Thanks,

Harlan


   
ReplyQuote
hogfly
(@hogfly)
Reputable Member
Joined: 21 years ago
Posts: 287
 

No real words of wisdom here…but xmlsimple may do what you need. Microsoft has some docs on the metabase schema and data contained in the metabase. If you haven't found them, let me know and I'll post them.

Just a quick edit…logparser has the ability to take XML as input and then pull out relevant strings with the proper select statement.


   
ReplyQuote
(@bithead)
Noble Member
Joined: 20 years ago
Posts: 1206
 

While metabase.xml is not a log file in the truest sense, you can use it for all sorts of "fun" things. Logparser.com, the unofficial LP site, has many examples. Depending on your desire to get into the coding of XML files, you could also use XMLLITE, available on MSDN. You could also mount your image and use metabase explorer.


   
ReplyQuote
Share: