An event log is a file used to record a timeline of events along with contextual metadata
Questions tagged [event-log]
1270 questions
0
votes
1 answer
Run-time Manifest-based events
Does the fact that Manifest-based events are defined in resources mean that I can't generate the parameters (like Level, Message, EventID etc) at run-time without modifying the resources in binary?

n0p
- 713
- 10
- 23
0
votes
1 answer
Formatting Windows timestamp using Logstash
I have successfully integrated Windows Event logs to Logstash.
the timestamp on windows event logs looks like this: 20131007071942.087375-000
To convert this timestamp into a readable one i have used the date filter on logstash.
date{
match => […

Chamara Keragala
- 5,627
- 10
- 40
- 58
0
votes
1 answer
Need to convert command in to wmi query\filter
Can anyone help me to convert below command into wmi query or get-wmiobj -filter, as it takes more time for remote servers.
Get-EventLog -ComputerName $Comp -LogName System -After (Get-Date).AddDays(-3) -ErrorAction Stop |
? { $_.EntryType…

Ritesh
- 45
- 2
- 6
0
votes
1 answer
What character set / encoding does the windows event log use?
Background:
I'm working on a solution which will include writing data from multiple countries and reading from to the windows event log (e.g. if there's an exception processing a customer record I may include the customer's name in the description…

JohnLBevan
- 22,735
- 13
- 96
- 178
0
votes
1 answer
User point system in Cassandra
I want to design a system for user point. The main two points of this system are point and log.
I want to use Cassandra to store the data. Two reason:
Cassandra provides counter feature which I can use to store the point.
The log of point changing…

lifei
- 235
- 2
- 10
0
votes
3 answers
How do I watch the event log for a specific entry in realtime, also getting the XML data?
I'm building an application which should watch file for access, reading, writing, deleting.
I'm using the built in auditing system on a Windows 7 Pro. You turn it on in gpedit.msc, and then set the audit flags for the files you want to watch, and…

HansM
- 21
- 1
- 4
0
votes
1 answer
Is showing the Exception StackTrace useful in a RELEASE assembly or only a DEBUG .dll
I've gone to some lengths to improve the error handling in my webservice - in particular, showing the StackTrace as in this example:
catch (Exception ex)
{
EventLog log = new EventLog();
log.Source = g_EventSource;
…

John Adams
- 4,773
- 25
- 91
- 131
0
votes
2 answers
"The handle is invalid" error when writing to eventlog using ASP.NET
I am working with an ASP.NET 2.0 application (created by my predecessor). Users log into it with AD credentials, and everything done within the app uses those credentials. I modified a page in the application that has nothing to do with event…

HeyThereLameMan
- 886
- 8
- 6
0
votes
1 answer
How to determine if a specific event log exists WITHOUT using .NET Framework in VC++?
I wonder if there is any WinAPI that can replace the following function EventLog::Exists() and EventLog::CreateEventSource() so my code won't rely on the .NET Framework.
I will be very grateful if you can give me some advice!
#define…

user2709407
- 460
- 1
- 4
- 11
0
votes
1 answer
EventLog Properties related
How to write C#.NET code for Log Size groupbox(in Properties window,Application eventlog,Eventviewer in WIndows XP OS) in EventViewer - Eventlog Properties.
Please provide me the code for the same.

sukumar
- 1
0
votes
1 answer
Measure 'Idle' time between CTRL-ALT-DEL and user typing in password and loging on -Windows 7
Windows 7 has the built in 'Boot Performance Diagnostics' and judging by the numerous reboots i've done, it does generate every now and then a detailed log on the user's login process and possible slowness.
That is not good enough for what I'm after…

KriZ
- 682
- 1
- 7
- 17
0
votes
5 answers
What is the easiest way using .net to check if events have been logged in the eventlog?
What is the easiest way to check if events have been logged in the eventlog during a period of time?
I want to perform a series of automated test steps and then check if any errors were logged to the Application Event Log, ignoring a few sources…

Rory
- 40,559
- 52
- 175
- 261
0
votes
1 answer
Search for specific event ID's in archived Windows event logs
Situation: I have many old security event logs on a server (about 18 GB). The logs are saved on a dedicated HDD partition as evt files (-> the logs are not included in eventviewer).
Want: I want to search for a specific event ID in every…

yesfabime
- 814
- 1
- 12
- 27
0
votes
1 answer
SQL Server Logging Denied Access
I was wondering if anyone knew if the logging capabilities of SQL Server extended to tracking user attempts to query information on which they do not have access. For example, if a user attempts to query an object or schema on which he lacks…

dmedz
- 191
- 3
- 5
- 14
0
votes
0 answers
Fetch date of unexpected system shutdown from EventData
Windows' Event ID 6008 is Unexpected Shutdown event (see in System's Event Viewer). The problem is that time of the unexpected system's shutdown is written in bytes array (which is called EventData).
I want to fetch this date (in my C# application)…

patryk.beza
- 4,876
- 5
- 37
- 56