I have some key-value pairs that I'd like to track and graph, where the key frequently changes (I could have up to thousands tracked over time, but I only wish to graph the top four by value). For example, assume I'm hosting a website and I have a list of identifiers (IP addresses) and hit counts, like so:
In this example, at the time shown, my top users are shown in the table above. The graph I'd like to see would be similar to the following:

But the next day my top clients may be totally different, as my hit count per user is calculated from the previous 30 minutes (for example). Thus if I use normal discovery with a UserParameter, I could have thousands of discrete items for this one server as the top users change. I could have a UserParameter script output the hit counts and graph them, but the item's label wouldn't identify the client, so I'd have the hit counts graphed and have no idea which user is actually shown.
What are my options? Thank you.
| Identifier | Hits |
| 54.25.69.10 | 4785 |
| 88.47.47.254 | 3400 |
| 88.46.12.123 | 1876 |
| 88.47.51.4 | 1423 |
But the next day my top clients may be totally different, as my hit count per user is calculated from the previous 30 minutes (for example). Thus if I use normal discovery with a UserParameter, I could have thousands of discrete items for this one server as the top users change. I could have a UserParameter script output the hit counts and graph them, but the item's label wouldn't identify the client, so I'd have the hit counts graphed and have no idea which user is actually shown.
What are my options? Thank you.
Comment