1. A method comprising: entering, by a server device of a plurality of server devices, a leader state based upon a result of a consensus election process in which the server device participates with the plurality of server devices; and based on being in the leader state, scheduling, by a processing device of the server device, one or more tasks by assigning each of the one or more tasks to a device, wherein the one or more tasks involve initiating a search of a plurality of events, wherein an event of the plurality of events comprises raw data associated with a time stamp.