Working on API for filtering log data