Quantcast
Channel: THWACK: Popular Discussions - Kiwi Syslog
Viewing all articles
Browse latest Browse all 15803

KiwiSyslog Evaluation - Log4Net and XML

$
0
0

Hello,

 

I've started evaluating KiwiSyslog Server.

We will be using KiwiSyslog Server (gui and webclient) to listen to UDP traffic broadcasted by our applicaitons by the Log4Net Library.

I was able to receive the traffic in the following default form which is not what I'm looking for.

Contacted Sales Support and they told me to search the forums (nothing relevant found) and post a thread here if I still need assistance.

Will be glad for some assistance because This SysLog server does exactly what we need but the output formatting is too RAW.

The default fields look like this:

Date, Time, Priority, Hostname, Message.

I'm not interested in these fields except Message which contains all relevant information.

The problem is the "Message" field is in "Log4Net" format which is basicly a kind of XML.

I"ve tried writing custom scripts but wasn't able to succeed.

I would be glad for some assistance in parsing this output and using these fields.

Here is an example of the "Message" syntax:

 

<log4net:eventlogger="Logger"timestamp="Timestamp"level="Level"thread="Thread"domain="Domain"username="Username">
   <log4net:message>Message
</log4net:message>
   <log4net:properties>
      <log4net:data
name="DataName"value="DataValue"/>
   </log4net:properties>
   <log4net:locationInfo
class="Class"method="Method"file="File"line="Line"/>
</log4net:event>

 

In the above format, the boldblack text are the fields the value in these attributes/keys should be.

Thanks in advance,

Idan.


Viewing all articles
Browse latest Browse all 15803

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>