Hi All,

I'm new to SEC and need to integrate SEC with our product.
What my requirement is, I need to map matched variables $1,$2,$3.....etc. to 
some string values for further processing.

e.g. in my case, once the pattern is matched, possible values for $1 can be 1 
or 2, i need to map them to string values, say map 1 to 'successfull' and map 2 
 to 'failed'.

And after mapping these , I need to write output containing these values into 
some txt file.


Below is my rule and here is input string : AuthorizationStatus:1 , Result:1

type=Single
ptype=RegExp
pattern=.* INTEGER: (\S+),.* INTEGER: (\S+)
desc= AuthorizationStatus:$1 , Result:$2
action=write /var/mps/sec_output_fifo.txt

Right now , its writing AuthorizationStatus:1 Result:1, but I want to write 
AuthorizationStatus: Authorized , Result: Successful

Can somebody please help me on this?

Thanks,
Jaspal
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Simple-evcorr-users mailing list
Simple-evcorr-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users

Reply via email to