Hi Michael, Graylog currently doesn't support processing XML (or any other structured format) inside of message attributes, so the best you could do is either trying to use some extractors to get to the interesting information in that message attribute or preprocess the messages with another program before sending it to Graylog. There's an XML filter for logstash (http://www.logstash.net/docs/1.4.2/filters/xml) which might help you for the latter scenario.
Cheers, Jochen On Thursday, 14 May 2015 20:46:10 UTC+2, Michael Scrivo wrote: > > Hi, I'm in the process of converting a legacy logging system to use > graylog2 as it's data store. It's working very nicely except for the fact > that one of the fields in this system is a context of the error stored in > XML format. It's probably the most important field as it contains a lot of > nested, useful information like stack trace info, etc. The web ui displays > it essentially as a blob of unformatted text that when clicked, puts the > entire xml block into the search bar. Is there any way to get XML content > to be displayed and formatted nicely within the web UI? > > Thanks, > Michael > -- You received this message because you are subscribed to the Google Groups "graylog2" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
