Add process to convert string to uint64_t.

Because, eventid_from and eventid_till are stored by string.