Questions tagged [event-log]

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

1270 questions
-1
votes
2 answers

May I know the Login IP ranges to access salesforce event log file browser?

getting this error , Oauth2 failed.Invalid credentials. its due to IP restriction. plaese share IP ranges for salesforce ELF browser.
siva
  • 1
-1
votes
2 answers

Get Incorrect handle as error with GetFileSizeEx

My goal is to find the size of log files which is present in (%SystemRoot%\System32\winevt\logs) using c++ (For Eg : To get the file size of Application.evtx). I tried with GetFileSizeEx…
Naresh
  • 9
  • 1
-1
votes
1 answer

How should I write to EventLog

Probably I just misunderstand System.Diagnostics.EventLog, but I am not able to write to EventLog under my app name. Project is ASP.NET web service (.NET Framework 4) and works under NETWORK SERVICE user. I tried this and it works (as metioned…
Vít Bednář
  • 288
  • 2
  • 10
-1
votes
1 answer

create activity_instance for Eventlogs

I got a CSV file that look like this: what i want to get is this: the activity instance is needed to identifiy which events belong together and which not. this instance identifier should be unique, also among different cases and activities. I have…
-1
votes
1 answer

Increase windows event log size during installation

What I'm trying to do is increase the limit of a windows event log that's being deployed with our application and I'm running into a kind of a snag. Ok, let me explain. I've created the event manifest manifest using the Microsoft Diagnostics nuget…
memory of a dream
  • 1,207
  • 3
  • 23
  • 32
-1
votes
1 answer

EvtExportLog API is saving eventlog of remote machine in remote PC itself. How can I save it to host PC?

I have used EvtOpenSession API to create a session to a remote machine's eventlog, then used the session handle to call EvtExportLog API. I need the eventlog file in the host PC(where I am running this application), but this API is dumping the…
Arun
  • 1
  • 2
-1
votes
1 answer

powershell-script to read login and logouts from EventLog

At my work we use Windows. I want to track my logins and logouts, to for example create a time report. This is what I have googled and guessed so far, by inspecting the event log. Get-EventLog security | ` Where-Object {$_.TimeGenerated -gt…
Cowborg
  • 2,645
  • 3
  • 34
  • 51
-1
votes
1 answer

Is it possible to update the maximum event log file size of a remote system?

I've been searching a lot. Just wanted to know if by some way I can update the maximum log size of a remote system. I'm working on event log handling and windows API's. Can someone please tell me if this is possible? Thank you
Anand
  • 69
  • 1
  • 7
-1
votes
2 answers

Subsetting participants based on their frequency of interactions in R

I'm relatively new to using R so apologies in advance if my question requires a very obvious answer! My work involves working with event logs and I am currently trying to subset clients based on their number of interactions with the service. Here's…
metaltoaster
  • 380
  • 2
  • 15
-1
votes
1 answer

List all events of all logs

I am pretty new to PowerShell and would like to find a way of listing all events from all logs. My idea is to index each event in Elasticsearch and perform queries on them. I am particularly interested in each event detail: Message process…
user2449584
  • 73
  • 1
  • 11
-1
votes
3 answers

Filtering only second Account Name in windows event log using a regex

Does anyone know reqex syntax to filter only second Account Name from Windows Event Log ? I don't want first Account Name, that I got but second Account name mentioned is Account that was deleted , that's what I'm interested in finding out. I'm…
John
  • 1
  • 2
-1
votes
1 answer

wevtutil query to write an output on a single line

Am trying to import / read Windows server event logs to a text file, using a wevtutil command. I use the following command to write my logs to file.txt: $ wevtutil qe Application \rd:true \f:text (reads application logs) and the sample…
kahsay.k
  • 61
  • 7
-1
votes
2 answers

How to find the correct protocol name Eventlog c#

my task: I want to display entries from the windows eventlog from my printjobs. I found various tutorials from msdn and different sites, but I cannot get access to my preferred protocol/service name. Microsoft-Windows-PrintService my Code (…
Developer2as
  • 85
  • 1
  • 1
  • 8
-1
votes
1 answer

How to get List of all Providers in Event Viewer using C#?

I would like to get all the provider names of Event Viewer using C#. Please see below the sample provider
-1
votes
2 answers

GetNumberOfEventLogRecords returns incorrect number of event logs

I have this C++ code to read the event log records DWORD GetLogRecords(LPCWSTR wsLogFile) { HANDLE hEvt = OpenEventLog(NULL, wsLogFile); if (hEvt==NULL) return 0; DWORD dwTotalRecords; BOOL res = GetNumberOfEventLogRecords(hEvt,…
Mario
  • 13,941
  • 20
  • 54
  • 110
1 2 3
84
85