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
0 answers
Custom event log Query
I have create this custom views event log call "Logs", and try to access this from C sharp, but on all possible ways i have not been able to get data from it. The custom is filtering to show only display some events and get this events only.
How…

blinding
- 3
- 4
0
votes
0 answers
CRM trying re-create 'Business Closure Calendar' calendar every minute
We are getting following error in event log because InternalOperationPlugin is trying to create 'Business Closure Calendar' in Calender entity almost every minute.
InternalOperationPlugin is a core system plugin which is registered on Stage 30…

Scorpion
- 4,495
- 7
- 39
- 60
0
votes
0 answers
Order Win32_NTLogEvent Query returns invalid query
In my c# code I have the following
string date = DateTime.Now.ToString("yyyyMMdd");
ObjectQuery queryError = new ObjectQuery("SELECT * FROM Win32_NTLogEvent WHERE Logfile = 'Application' AND (TimeGenerated > '" + date + "000000.000000-000' AND…

user3912327
- 1
- 1
- 7
0
votes
3 answers
Powershell: How can I extract time from the message field of eventlog?
I'm trying to get unexpected shutdown times of Windows Sever 2008 machines via Get-EventLog in Powershell. I can get close by searching for events with an EventID of 6008 and selecting only message, but I need to parse within the field to grab the…

kiwisan
- 449
- 6
- 16
0
votes
1 answer
Win32_NTLogEvent message property FilSystemObject.Write procedure call issue
I am writing a script to write event log information to a csv. My script was working before. But I changed some stuff, which shouldn't have any effect on writing to the csv. I have tried writing to unicode and to ASCII, based on some research I did…

Adam Harvey
- 55
- 1
- 2
- 10
0
votes
1 answer
Get information about Event Log settings
In powershell there are a number of commands to manipulate and view the event log. I can set the size/settings with Limit-EventLog. However I can not find a way to get the current settings about the log. I want to know what the maximum size the log…

Derongan
- 790
- 6
- 24
0
votes
1 answer
Create a customized EventLog logname
I am trying to create my customized EventLog for my service. I was able to customize my source but not not the logName by using CreateEventSource method. In my service constructor:
public Service1()
{
…

HoKy22
- 4,057
- 8
- 33
- 54
0
votes
2 answers
Cannot open log for source {0} on Windows 2003 Server
I am having a huge problem with the eventlog on my server. Right let me first of all explain the setup.
I have a domain setup with 2 computers
One computer is running IIS the other is a workstation. The IIS is running Win2k3 the workstation Win…

Adam S-Price
- 1,988
- 2
- 15
- 21
0
votes
1 answer
When creating an uninstaller, should I remove an event source?
When creating an uninstaller for a Windows app, should I remove an event source?
I'm not looking for a philosophical discussion, I'm looking for specific technical reasons why it may or may not be a good idea to remove an event source, esp. given…

user2871239
- 1,499
- 2
- 11
- 27
0
votes
1 answer
Cannot open log for source 'Microsoft.Practices.EnterpriseLibrary.Data'. You may not have write access When Read/Write to Event log
i'm working on a SharePoint 2013 site, i have 2 type of registration: (Win Authentication and FBA).
I'm trying to use a solution (WSP) from the old portal (SP 2010), this WSP use a dll named 'Microsoft.Practices.EnterpriseLibrary.Data' which isn't…

Samer
- 150
- 5
- 17
0
votes
1 answer
LogParser and Event Logs
I am using following query to dump the event logs of a remote machine in a local database but execution time of this query is about 7-8 minutes. How can I reduce the execution time of the query.
logparser -i:evt "select * from…

user3714811
- 73
- 1
- 5
0
votes
0 answers
Windows Event Log Event ID Usage
Implementing logging with nLog & PoshSharp, and wondering what the use of Event ID field should be
This seems to be set from nLog config, so assuming this has to be a static field - how should this field be used when implementing your own logging?

AlexVPerl
- 7,652
- 8
- 51
- 83
0
votes
1 answer
PowerShell (Eventlogs: How to compare dates/time?)
Till now I never used PowerShell, but now I have to. (Don’t worry I know how to program in other languages.)
What I have to do:
There are 2 eventlogs:
“EventID equals 3317 and Event Level equals Error" and "EventID equals 3317 and Event Level equals…

Dobi
- 125
- 5
- 15
0
votes
0 answers
HVUpdate Exception: Value cannot be null
I am getting a very strange exception and am having quite a bit of trouble tracking it down. I'm not sure how much good posting it here will do, but I figured it would be worth a shot.
On software that is working in the world, one of our clients…

Tim
- 2,731
- 9
- 35
- 72
0
votes
1 answer
Fiddler Event Log font operations
I'd like to make the Fiddler Event Log more readable.
Right now I use #### lines so I can check the different responses and self-made actions.
The best thing would be the use of font operations like color, bold or italic.
I could just create my…

TheChange
- 209
- 1
- 3
- 9