Questions tagged [event-log]

An event log is a file used to record a timeline of events along with contextual metadata

1270 questions
31
votes
2 answers

EventLog write permissions

My question is related to write permissions to the Windows Event Log. I have looked around several posts concering this, and have found some ways to solve my problem, but none of these are acceptable for my current scenario. I use C# in .NET 4.0. I…
Mats Magnem
  • 1,375
  • 1
  • 10
  • 21
30
votes
1 answer

ASP.Net Core 1 Logging Error - The description for Event ID xxxx from source Application cannot be found

I would like to write to the Windows Event Log from an ASP.Net Core application's Controller method. The issue I have is that, where I expect log information to be written I keep getting the error/information log: The description for Event ID xxxx…
tinonetic
  • 7,751
  • 11
  • 54
  • 79
28
votes
3 answers

Using XPath starts-with or contains functions to search Windows event logs

By editing the XML filter query manually in Windows event viewer, I can find events where the data matches a string exactly: