Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Windows event log synchronization

Windows event log synchronization

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 16.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G
    G
    gdodd
    wrote on last edited by
    #1

    Is there any available information regarding "Windows event log synchronization, server side parsing and agent side filtering" from the 3.6 release notes? It sounds like it is different than the Parser Definition file.

    1 Reply Last reply
    0
    • T
      T
      Tursiops
      wrote on last edited by
      #2

      You can load the agent inside the Agent Configuration:

      SubAgent=wineventsync.nsm
      

      To enable syncing of logs, you next need to tell it which logs to monitor, see example below:

      [WinEventSync]
      EventLog=Application
      EventLog=Security
      EventLog=System
      

      Now you need to configure the Events you want to monitor. You can setup filters per log in a [WinEventSync/LOGNAME] section. If you don't configure any filters, you'll get everything for that log:

      [WinEventSync/Security]
      IncludeEvent=4624-4625
      IncludeEvent=4800-4803
      ...
      ExcludeEvent=0-65535
      
      [WinEventSync/System]
      IncludeSource=Microsoft-Windows-WindowsUpdateClient
      ...
      ExcludeSource=*
      

      The above are just examples.
      A few notes:

      • IncludeEvent and ExcludeEvent are for Event IDs. You can configure a range like 100-200. But you cannot add a comma separated list. You can however add multiple Include/ExcludeEvent lines.
      • If you do not configure any Include or Exclude at all, everything in that log will be synced. That's the default.
      • Explicit Includes override Excludes. So if you configure an IncludeEvent=201 and an ExcludeEvent=200-300, you will receive all Events except 200 and 202-300.
      • IncludeSource and ExcludeSource are the Sources in the given log. I expect this to basically the same as if you configured a Source in a Logwatch rule, but I have not actually tested this at all.
      • From what I can tell, you cannot configure specific combinations of Event and Source, e.g. only syncing Event ID 100 for Source MySource won't work.
      • ExcludeSource=* means exclude every source. You'll need an explicit IncludeSource to override that. But ExcludeEvent does not accept *. Here you'd need to use 0-65535 to exclude all Event IDs. That matters if you only want to collect very specific events, say from the Security log.
      • You can configure an Agent Policy with an Agent Configuration to deploy your configuration to agents.
      • DebugLevel=6 will give you debugging output related to winsyncevent (and everything else) in your agent logs
      • I have not played with the Windows Event Parser yet. But looks to me like that's basically the same as configuring a Logwatch parser rule, really. Just that it'll be processed on the NetXMS server instead of the client.
      1 Reply Last reply
      0
      • G
        G
        gdodd
        wrote on last edited by
        #3

        Thank you for the detailed response. This is exactly what I needed.

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        Powered by NodeBB Contributors
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups