Code Monkey home page Code Monkey logo

Comments (6)

Richard1611 avatar Richard1611 commented on June 1, 2024 1

Yep, im using Powershell.
After following your last recommendation of changing ' for " it works!

Thanks a lot!

from chainsaw.

alexkornitzer avatar alexkornitzer commented on June 1, 2024

Hey @Richard1611,

The Key/Value pair is delimited with : (#114). So it would be Event.System.EventID: 4104

from chainsaw.

Richard1611 avatar Richard1611 commented on June 1, 2024

Hi Alex, Thanks for your repply.

Now, when am doing chainsaw.exe search c:\Windows\System32\winevt\Logs -t Event.System.EventID: 4104 im getting this error:

[x] Specified event log path is invalid - 4104

I've tried to change the parameters orders as the help says, but it still not working.

Example:
chainsaw.exe search [OPTIONS] [PATTERN] [PATH] = chainsaw.exe search -t Event.System.EventID: 4624 c:\Windows\System32\winevt\Logs

from chainsaw.

alexkornitzer avatar alexkornitzer commented on June 1, 2024

Because there is a space there you will need to wrap it in quotes, something like this:
chainsaw.exe search c:\Windows\System32\winevt\Logs -t 'Event.System.EventID: 4104'

Also as EventID can sometimes be a string, IIRC, the safest way to do it is:
chainsaw.exe search c:\Windows\System32\winevt\Logs -t 'int(Event.System.EventID): 4104'

from chainsaw.

Richard1611 avatar Richard1611 commented on June 1, 2024

It stills giving me the same error:
[x] Specified event log path is invalid - 4104'

PD: Chainsaw version 2.6.0

from chainsaw.

alexkornitzer avatar alexkornitzer commented on June 1, 2024

Oh is this in Command Prompt or Powershell, you probably need to use " instead if '. I don't use Windows all that much.

from chainsaw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.