Event logs

Is there a variable I can pull from for event logs/logs?