3responses motts Is there a way to run NxLOG in a "throttled" state during certain times of the day? For instance, process x number of logs per hour from 8-5 AskedApril 9, 2019 - 7:21pm Answer the question Leave a comment
b0ti Perhaps this example could help. The logic can be enhanced by adding a counter to limit the number of logs processed at x. AnsweredApril 9, 2019 - 7:33pm Leave a comment Comments (2) motts Leave a comment Thanks, but the description of the Count doesn't mention how to utilize it or provide an example. Do you happen to have other reference material on using Count in this kind of way? Maybe some kind of sleep argument like, very loosely stated here If Count = 100 sleep 10000 (mills) Set Count = 0 April 16, 2019 - 4:23pm Zhengshi (NXLog) Leave a comment The following link describes how to use statistical counters. Perhaps this will be useful. https://nxlog.co/documentation/nxlog-user-guide/nxlog-language.html#guide_lang_counters April 17, 2019 - 3:23pm
Comments (2)
Thanks, but the description of the Count doesn't mention how to utilize it or provide an example.
Do you happen to have other reference material on using Count in this kind of way?
Maybe some kind of sleep argument like, very loosely stated here
If Count = 100
sleep 10000 (mills)
Set Count = 0
The following link describes how to use statistical counters. Perhaps this will be useful.
https://nxlog.co/documentation/nxlog-user-guide/nxlog-language.html#guide_lang_counters