You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Replay mode appears to have a bug whereby the first two events are replayed at the same time, and for each event thereafter the time offset applied from one event to the next is off by 1 event.
To Reproduce
Steps to reproduce the behavior:
Create a basic replay config (see below)
Create a simple list of events (see example below)
Note that the first two events are replayed at the same time, and every subsequent events offset is incorrect.
Expected behavior
Each log should be replayed 5 seconds apart, except the 5th log entry should be replayed 5 minutes after the previous
Jan 17 00:00:00 TEST 1
Jan 17 00:00:05 TEST 2
Jan 17 00:00:10 TEST 3
Jan 17 00:00:15 TEST 4
Jan 17 00:05:15 TEST 5
Actual behavior
The first two logs are replayed with the same time, all subsequent logs are offset by the previous logs offset.
Jan 17 00:00:00 TEST 1
Jan 17 00:00:00 TEST 2
Jan 17 00:00:05 TEST 3
Jan 17 00:00:10 TEST 4
Jan 17 00:00:15 TEST 5
Jan 17 00:05:15 TEST 6
The first events time difference should be set to the next event, i.e. line_list[index + 1]["timediff"] to resolve the issue with the first two events being replayed at the same time.
After that the time diff needs to be updated to the next event in the list.
Describe the bug
Replay mode appears to have a bug whereby the first two events are replayed at the same time, and for each event thereafter the time offset applied from one event to the next is off by 1 event.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Each log should be replayed 5 seconds apart, except the 5th log entry should be replayed 5 minutes after the previous
Actual behavior
The first two logs are replayed with the same time, all subsequent logs are offset by the previous logs offset.
Sample files and eventgen.conf file
eventgen.conf
test.log
Do you run eventgen with SA-eventgen?
No
If you are using eventgen with pip module mode (please complete the following information):
The text was updated successfully, but these errors were encountered: