I would like to display these statistics in my web access so I can see them remotely without having to duplicate them using the custom stat and global variables....
I found this in the help file. Hope it helps!
Setup - Scripting Options
This option allows you to set the names and initial values of the custom statistics fields for use within the script files and statistics reports. There are 16 custom statistics fields available for scripting use. These values are static and do not get erased with each new message like the other script fields do.The custom statistics values can be viewed from the Statistics window under the Counters tab. The names for the fields that you have specified will be used in the statistics window and in the daily statistics e-mail report. The initial values of the statistics counters can be set to any value you like. By default the values are all set to 0. If you want to create a decrementing counter then an initial value of 1000 for example can be set and then decremented by the run script actions. The names and inital values are applied when the program starts. To force the program to reinitialize the fields with these values, use the File | Debug options | Initialize custom statistics menu, or press Ctrl-F9 from the main syslog window.
Thanks Bronx, unfortunately that's exactly what I did not want to do... Why recreate the statistics with custom variables when the program is tracking them already. I wanted to use the values that already exist in the statistics like:
Message count by Severity
Message count by Host
Program Up-Time
Total Messages
This hour
Last Hour
Etc...
I mean I can write a script (or download one for that matter) that recreates some of these statistics using the variables available, but I was just hoping that those values would be available to scripts already without the need to further process every single incoming message.