All Projects → c0shea → Seq.Client.EventLog

c0shea / Seq.Client.EventLog

Licence: MIT license
Writes Windows Event Log entries to Seq

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to Seq.Client.EventLog

seq-forwarder
Local collection and reliable forwarding of log data to Seq
Stars: ✭ 43 (+72%)
Mutual labels:  seq
haskell-code-spot
Visual tool to spot odd runtime behaviour of Haskell programs.
Stars: ✭ 106 (+324%)
Mutual labels:  eventlog
Phant0m
Windows Event Log Killer
Stars: ✭ 1,423 (+5592%)
Mutual labels:  eventlog
seq-api
HTTP API client for Seq
Stars: ✭ 66 (+164%)
Mutual labels:  seq
aixlog
Header-only C++ logging library
Stars: ✭ 95 (+280%)
Mutual labels:  eventlog
seq-cheat-sheets
Cheat sheets for Seq filtering and querying syntax
Stars: ✭ 49 (+96%)
Mutual labels:  seq
LogServiceCrash
POC code to crash Windows Event Logger Service
Stars: ✭ 23 (-8%)
Mutual labels:  eventlog
LGTVCompanion
Power On and Off WebOS LG TVs together with your PC
Stars: ✭ 420 (+1580%)
Mutual labels:  eventlog
evtx
C# based evtx parser with lots of extras
Stars: ✭ 162 (+548%)
Mutual labels:  eventlog
SWELF
Simple Windows Event Log Forwarder (SWELF). Its easy to use/simply works Log Forwarder and EVTX Parser. Almost in full release here at https://github.com/ceramicskate0/SWELF/releases/latest.
Stars: ✭ 23 (-8%)
Mutual labels:  eventlog
sqelf
Ingest GELF payloads into Seq
Stars: ✭ 15 (-40%)
Mutual labels:  seq
datalogger
DataLogger foi projetado para ser uma biblioteca simples de log com suporte a vários providers.
Stars: ✭ 46 (+84%)
Mutual labels:  eventlog
eshopzero
.Net Microservice Application
Stars: ✭ 27 (+8%)
Mutual labels:  seq
serilog-sinks-seq
A Serilog sink that writes events to the Seq structured log server
Stars: ✭ 132 (+428%)
Mutual labels:  seq
seq-tickets
Issues, design discussions and feature roadmap for the Seq log server
Stars: ✭ 81 (+224%)
Mutual labels:  seq
pmap
Process Map Visualization of event analysis in R
Stars: ✭ 19 (-24%)
Mutual labels:  eventlog

Seq.Client.EventLog

Build status

Seq is a fantastic tool for handling structured logs in .NET apps. There's a lot of value in having a centralized log repository that can ingest events from many sources.

The trouble, however, is that applications beyond your control write useful information to the Windows Event Logs. That's where the EventLog service comes in. Define the logs and filters you care about and the service takes care of ingesting them into Seq.

Get Started

  1. Download the latest release of Seq.Client.EventLog.
  2. Extract it to your preferred install directory.
  3. Edit the Seq.Client.EventLog.exe.config file, replacing the SeqUri with the URL of your Seq server. If you configured Seq to use API keys, also specify your key in the config file.
  4. Edit the EventLogListeners.json file. There are sensible defaults in place, but you can change them you suit your needs.
  5. From the command line, run Seq.Client.EventLog.exe /install. This will install the Windows Service and set it to start automatically at boot.
  6. From the command line, run net start Seq.Client.EventLog to start the service.
  7. Click the refresh button in Seq as you wait anxiously for the events to start flooding in!

Enriched Events

Events are ingested into Seq with a few useful properties that allow for easy searching.

Event Log Listeners

The JSON config file allows for multiple listeners to be defined. Each one should be a new object in the array.

  • LogName: The Windows Event Log name to listen to, e.g. Application, Security, etc.
  • MachineName: If specified, the hostname of the machine to listen to events from for the log name. Omitting this value defaults to the machine the service is running on.
  • LogLevels: A list of the integer severity levels of the entry. 1 = Error, 2 = Warning, 4 = Information, 8 = Success Audit, 16 = Failure Audit. If not specified, all events will be sent.
  • EventIds: A list of the integer Event IDs of the entry. If not specified, all events will be sent.
  • Sources: A list of source names to filter the events sent to Seq. If not specified, all events will be sent.
  • ProcessRetroactiveEntries: If true, this will cause the service to send all matching event log entries that were written before the service started in addition to new entries. If false, only new entries written that meet the filter critera above since the service was started will be sent.

Sample

[
  {
    "LogName": "Application",
    "LogLevels": [ 1, 2 ],
    "ProcessRetroactiveEntries": true
  }
]
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].