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 (1)

Perhaps this example could help. The logic can be enhanced by adding a counter to limit the number of logs processed at x.

Comments (2)

  • motts's picture

    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

  • Zhengshi's picture

    The following link describes how to use statistical counters. Perhaps this will be useful.