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 -> NX-1258

Windows event log -> NX-1258

Scheduled Pinned Locked Moved Support
5 Posts 3 Posters 22.8k 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
    Benjamin Dill
    wrote on last edited by
    #1

    Hi,
    I've read in the changelog for 2.2.3 that parameters of Windows event log can be passed to the server. Is there an example how to do that?
    I checked the code but my c++ is a bit rusty... I've seen that "EventData" is parsed, so can I match against these parameters in a parser rule? That would be quite useful!

    Greetings,
    Ben

    1 Reply Last reply
    0
    • F
      F
      Benjamin Dill
      wrote on last edited by
      #2

      Also, there seems to be a bug: When generating a NetXMS event from a Windows event the agent crashes (version 2.2.6). Nothing helpful in the log at trace level 9, it just stops after "matched":

      2018.05.27 10:51:08.559 *D* [logwatch.parser    ] Publisher name is Microsoft-Windows-Security-Auditing
      2018.05.27 10:51:08.559 *D* [logwatch.parser    ] Match event: source="Microsoft-Windows-Security-Auditing" id=4768 level=8 text="Ein Kerberos-Authentifizierungsticket (TGT) wurde angefordert.
      2018.05.27 10:51:08.559 *D* [logwatch.parser    ] checking rule 1 ""
      2018.05.27 10:51:08.559 *D* [logwatch.parser    ]   rule has no context
      2018.05.27 10:51:08.559 *D* [logwatch.parser    ]   event id 0x000012a0 not in range 0x00001211 - 0x00001211
      2018.05.27 10:51:08.559 *D* [logwatch.parser    ] checking rule 2 ""
      2018.05.27 10:51:08.559 *D* [logwatch.parser    ]   rule has no context
      2018.05.27 10:51:08.559 *D* [logwatch.parser    ]   negated matching against regexp Ergebniscode: 0x0
      2018.05.27 10:51:08.559 *D* [logwatch.parser    ]   matched
      
      <parser name="LogonFailure" trace="9">
         <file>*Security</file>
         <rules>
            <rule name="id4625">
               <match repeatCount="0" repeatInterval="120">(.*)</match>
               <id>4625</id>
               <source></source>
            </rule>
            <rule name="id4768">
               <match invert="true" repeatCount="0" repeatInterval="120">Ergebniscode: 0x0</match>
               <id>4768</id>
               <source></source>
      	 <event params="1">100028</event>
            </rule>
      ...
      
      1 Reply Last reply
      0
      • G
        G
        gdodd
        wrote on last edited by
        #3

        In the rule "id4768" you have 1 parameter. In your Event 100028 you can use %1 in the message and that will be whatever you matched on.

        Log monitoring — NetXMS Administrator Guide (7.0.0)

        favicon

        (www.netxms.org)

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

          I know that. I was referring to these changelog entries of 2.2.3:

          • Additional information about captured Windows Event Log event passed to the server

                  NX-1258 (Option to pass event data from Windows event log to NetXMS event)

          I found it out in the meantime: The additional information is accessable by the parameters-property of the event-class in NXSL. Currently the data is only accessable by array-index and the names-array is empty. I'm not sure if this is supposed to be this way...

          1 Reply Last reply
          0
          • I
            I
            it_user1
            wrote on last edited by
            #5

            Hi, i'm interested to this option because i want use netxms agent for windows event. Now i use graylog, but if it's possible pass all event's data to netxms i will use it instead graylog

            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