One of the users of a Splunk deployment within our company has come up with a new request for viewing XMLs - what they would ideally like is the ability to view an XML within a webpage view - for example the view you would get if you opened an XML document in internet explorer
I have looked at the xmlutils app but I don't believe that this will deliver this view.
Is what our user requested possible? If so is anyone aware of an app or script that would facilitate this?
First thing to do is to replace the < and > characters with "<" and ">" before displaying in the web page. That assumes though that you can preprocess the XML before adding it to the HTML page. It's also likely a good idea to wrap the XML text in a <p></p> tag set to retain the format / spacing of the XML for display purposes.
Update: Follow the same instructions above, but also wrap your XML in standard HTML tags, don't forget the <p> tags too, and then save the data to an .html file.
See my update for further details for your situation.
Sorry I have explained this a bit poorly - the user wishes to view the xml in a separate webpage - such as the view you would see if you extracted a raw XML from Splunk, saved it in notepad and opened this document in a browser such as Internet explorer
When you say "the ability to view an XML within a webpage view", do you mean a page within Splunk? I'm guessing yes, but which type of page? A dashboard or report? Or inline in the search results view? Or in a search results table view?