Hi
I was wondering if it is possible to generate a chart based on the following criteria: “Display the top X percentage values of a particular field on a daily basis over time”.
Say I have the following log statements and I want to display the top 2 percentage values:
Day-1
id=10,name=Green,type=req1,message=xyz
id=11,name=Blue,type=req2,message=something
id=12,name=Mary,type=req2,message=nothing
id=13,name=Rice,type=req3,message=test
id=14,name=Black,type=req4,message=abc
id=15,name=First,type=req10,message=eee
id=152,name=Bob,type=req22,message=ooo
id=154,name=White,type=req5,message=ppp
Day-2
id=110,name=X,type=req10,message=xyz
id=111,name=A,type=req10,message=something
id=121,name=Y,type=req10,message=nothing
id=131,name=ZZ,type=req10,message=test
id=141,name=TT,type=req4,message=abc
id=151,name=RR,type=req5,message=eee
id=1521,name=QQ,type=req22,message=ooo
id=1541,name=EW,type=req5,message=ppp
For Day-1, the chart would display req2 & req3 and their respective percentages – 25% for both
For Day-2, the chart would display req10 & req5 and 50% & 25% respectively
The percentage/values could be different between days. Thanks for your help.
Ranga
... View more