-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Description
Hi there,
I am trying to generate events data, like below. There are two events : started and ended.
One condition to consider while generating data is that timestamp of start event should be less than end event. How to configure that using log-synth?
{
"actor": {
"name": "student"
},
"task": {
"id": "assignment"
},
"status": {
"id": "ended"
},
"context": {
"extensions": {
"user-id": "11111",
"username": "XYZ",
"currentassignmentid": "2",
"institutionname": "ABC"
}
},
"timestamp": "2016-06-20 03:00:00",
"id": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"version": "1.0.1"
}
{
"actor": {
"name": "student"
},
"task": {
"id": "assignment"
},
"status": {
"id": "started"
},
"context": {
"extensions": {
"user-id": "11111",
"username": "XYZ",
"currentassignmentid": "2",
"institutionname": "ABC"
}
},
"timestamp": "2016-06-20 01:00:00",
"id": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"version": "1.0.1"
}
Metadata
Metadata
Assignees
Labels
No labels