A log is a timestamped record of an event generated by an operating system, application, server, or network device. Logs can include data about user inputs, system processes, and hardware states.