Awk Script: Nested search using different patter

Hi Friends.

Please have a look at dummy file. I need to extract from this file:

  1. Counts of event=
  2. the 2nd coulmn is unique call id of this transaction. Based on that, i have to search for txstatus= .

Note: Values of event, calltype and txstatus can be anything.

I want to print the output something like:

No of event x:
No of event y:

txstatus x:
txstatus y:

In sample record event is callstart. it could be anything. Can i take it as variable and print the samething which is coming in file? similar for txstatus also. I need this to make it more dynamic and avoid hard codings of status etc....

====================

1260413928.455 1bc0c74a-d811-4b63-b602-b8bb044ebef3 event=callstart calltype=Deposit circuitid=0
1260413939.121 1bc0c74a-d811-4b63-b602-b8bb044ebef3 event=txend txid=2 txstatus=success

I don't have enough information on what the file looks like and what needs to be done. Can you make a better example of what the real file looks like and how it needs to be processed?