Hi Experts,
I have lots of big size files. Below is the snapshot of a file. From the files i want extract informmation like belows.
What could be command or script for that?
DELETE
RESP:940120105
CREATE
RESP:0
GET
RESP:0
File contains like below-
...
...
<log logid="845b16ce190811052359400116">
<category>Upstream</category>
<operation>Delete</operation>
<target>SUB</target>
<instance></instance>
<user>sogadm</user>
<context>sog</context>
<fullOperation>
DELETE:SUB:9371068317:PREPAY,1
EST,ALL;</fullOperation>
<starttime>20081105235940.030937</starttime>
<stoptime>20081106000012.105544</stoptime>
<fullResult>
RESP:940120105;;</fullResult>
<status>FAILED</status>
</log>
<log logid="845b16ce190811052359400116">
<category>Upstream</category>
<operation>Create</operation>
<target>SUB</target>
<instance></instance>
<user>sogadm</user>
<context>sog</context>
<fullOperation>
CREATE:SUB:9371068317:PREPAY,1
EST,ALL;</fullOperation>
<starttime>20081105235940.030937</starttime>
<stoptime>20081106000012.105544</stoptime>
<fullResult>
RESP:0;</fullResult>
<status>SUCCESSFUL</status>
</log>
<log logid="845b16ce190811060000120118">
<category>Upstream.CAI</category>
<operation>Get</operation>
<target>CSUB</target>
<instance></instance>
<user>sogadm</user>
<context>sog</context>
<fullOperation>
GET:CSUB:71068319:POSTPAY,1
EST,ALL;</fullOperation>
<starttime>20081106000012.310898</starttime>
<stoptime>20081106000045.118912</stoptime>
<fullResult>
RESP:0;</fullResult>
<status>SUCCESSFUL</status>
</log>
..
..
Many thanks in advance. //Purple