|
Hello, I have a question about rangemap. I want to create a search which allow to have the number of events by a field D_IPADD that I create and apply a rangemap. Red when there are more than 10 D_IPADD where count>10 and yellow where 10>count>5 but I don't know I can do it. I also want to see on the button the number of IP_ADRESS where count>10 for example. Actually my search allows to apply colors when at least one D_IPADD has more than 5 events or 10 and see the number of event but it isn't that I want. Thanks by advance to your help. <single>
|
|
Not to make it too simplistic, but could you not just define something like;
Since you know that between 0 and 5 is low and then by definition, anything greater than 100 is severe (assuming that is red) To see the IP address just add a table to the end of your query, something like
1
Drainy is right on the rangemap, but it could be made simpler;
Your original query would show that a count of 101 (or higher) is categorised as 'low'. /k
(24 Jun '12, 11:34)
kristian.kolb
Hah, good point old chap!
(24 Jun '12, 12:43)
Drainy
Thx very much to yours answers but if I have several lines of results, my single in my xml doesn't work, no????
(24 Jun '12, 14:19)
LauraBre
Well a single value is a statistical view, how can you present a singlevalue on several lines? Its a "single value" :). The idea is to perform a statistical report such as count, avg etc or to return only one event such as the head event with a head 1 and then output the contents of a field to your singlevalue
(24 Jun '12, 14:29)
Drainy
|