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 parser

Windows Event Log parser

Scheduled Pinned Locked Moved Support
8 Posts 3 Posters 42.2k 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.
  • F
    F
    farcsa
    wrote on last edited by
    #1

    Hi!
    I have 3 questions.
    I have a parser file hereunder:

    <parser>
      <file>*Application</file>
      <rules>
        <rule>
          <match>(.*)</match>
          <id>5</id>
        </rule>
        <rule>
          <match>(.*)</match>
          <id>1006</id>
        </rule>
        <rule>
          <match>(.*)</match>
          <id>1008</id>
        </rule>
        <rule>
          <match>(.*)</match>
          <id>1023</id>
        </rule>
        <rule>
          <match>(.*)</match>
          <id>1057</id>
        </rule>
        <rule>
          <match>(.*)</match>
          <id>12014</id>
        </rule>
        <rule>
          <match>(.*)</match>
          <level>1</level>
          <event params="1">100003</event>
        </rule>
      </rules>
    </parser>

    1:
    Is there a simpler method to exclude events with predefined event id? (e.g.: 5,1006,1008,...)

    2:
    I manage Windows 7, Windows Server 2008 and Windows Server 2012, and i see that the severity levels are the following:
    Critical =1
    Error=2
    Warning =3
    Information=4

    The above example captures only Windows error level events. How to set the <level> parameter to capture Windows critical events? (And, of course, how to combine the values?)

    3:
    With the above parser, the agent always misses the event with event id 1. What could be the reason?

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      @farcsa said in Windows Event Log parser:

      1:
      Is there a simpler method to exclude events with predefined event id? (e.g.: 5,1006,1008,...)

      not really - you can specify ID range in one rule, like <id>1001-1099</id>, but that will not help if you have non-adjacent IDs to ignore.

      @farcsa said in Windows Event Log parser:

      2:
      I manage Windows 7, Windows Server 2008 and Windows Server 2012, and i see that the severity levels are the following:
      Critical =1
      Error=2
      Warning =3
      Information=4

      The above example captures only Windows error level events. How to set the <level> parameter to capture Windows critical events? (And, of course, how to combine the values?)

      combining codes described here: https://www.netxms.org/documentation/adminguide/log-monitoring.html#level-tag

      @farcsa said in Windows Event Log parser:

      3:
      With the above parser, the agent always misses the event with event id 1. What could be the reason?

      In the parser I don't see specific rule for DI 1, so it can only be caught by last rule by severity. Are you sure that severity for this event is "Error"?

      Best regards,
      Victor

      1 Reply Last reply
      0
      • F
        F
        farcsa
        wrote on last edited by
        #3

        In the documentation there are these "levels":
        1 Error
        2 Warning
        4 Information
        8 Audit Success
        16 Audit Failure
        These levels are in Windows XP.

        But there isn't Critical, like in Windows 7 and above versions. As I wrote, in Windows 7 (and above) the levels are:
        1 Critical
        2 Error
        3 Warning
        4 Information

        So, how to combine the NetXMS levels for capturing Windows Critical level events?

        To help clarify my problem, I insert the link of TechNet documentation about Windows Event Properties:
        http://technet.microsoft.com/en-us/library/cc765981.aspx

        Thanks for your answers!

        1 Reply Last reply
        0
        • F
          F
          farcsa
          wrote on last edited by
          #4

          Excuse me, but my above problem is outstanding. Could anybody help me to resolve this?

          1 Reply Last reply
          0
          • V
            V
            Victor Kirhenshtein
            wrote on last edited by
            #5

            Hi,

            unfortunately you problem cannot be solved by configuration. We will need to make changes in log monitoring subagent, so you'll have to wait for release with a fix.

            Best regards,
            Victor

            1 Reply Last reply
            0
            • Dani@M3TU
              Dani@M3TU
              Dani@M3T
              wrote on last edited by
              #6

              For which version of NetXMS is this scheduled now? (capturing Windows Critical level events) Or should I register a feature request?

              1 Reply Last reply
              0
              • V
                V
                Victor Kirhenshtein
                wrote on last edited by
                #7

                Hi,

                would be nice if you registered it as feature request - then it will not be forgotten again 🙂 I will schedule it for next release.

                Best regards,
                Victor

                1 Reply Last reply
                0
                • V
                  V
                  Victor Kirhenshtein
                  wrote on last edited by
                  #8

                  Hi,

                  I've added additional level mask 256 to match critical events.

                  Best regards,
                  Victor

                  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