8 Replies Latest reply on Aug 30, 2012 5:45 PM by rukbat

    searching for particular values in a large message in one line

      Please could you advice me how to find out the below values from the logs.

      We have Production box where logs are filling every scond in bulk.

      Right now there is some load testing is running in.

      My requirement is :

      We will get some XML messages running 50 messages per second from the load runner job(source).

      In my logs, I need to find out how many messages of our application are received in a second time.

      Source system posts 50 messages per second. some thing like this. From these messages I need to search for the time received, MsgID value, RID value, only these three values I need to capture, is it possible to capture it in one line?

      29 Aug 2012 13:27:50 MsgID="12644861261" RID="RID0009229952" like this from all the logs present per second wise search, like 29 Aug 2012 13:27:50, 29 Aug 2012 13:27:51, 29 Aug 2012 13:27:52 etc.

      <b>[29 Aug 2012 13:27:50] </b> Logger - Message Receipt~TSN 2012-08-29T13:27:50.220+01:00<soap-env:Body xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
      &lt;MyXML xmlns="http://www.protocol.org/XML-5-0" v="5.0"&gt;
      &lt;Main abc="2011-06-02T13:24:10" BizDt="2011-06-02" DT="2011-06-02" CVal="GBP" pp="105.07" LastQty="16" <b>MsgID="12644861261" </b> TStat="0" TrdTyp="0" RTyp="0" MTyp="0"

      Please advice me.