Skip to content

janstarke/evtxgrep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

evtxgrep

XPath based search in Windows Event Log files

Example

evtxgrep --event-id 4624 --data TargetUserName:Administrator Security.evtx

Usage

USAGE:
    evtxgrep [FLAGS] [OPTIONS] <EVTXFILE>

FLAGS:
    -h, --help       Prints help information
    -O, --or         combine filters non-inclusively (use OR instead of AND, which is the default) 
    -V, --version    Prints version information

OPTIONS:
        --activity-id <activity_id>                    filter based on ActivityID
        --channel <channel>                            filter based on Channel
        --computer <computer>                          filter based on Computer
    -D, --data <data_filter>...
            key-value pair, separated by colon, to filter based on entries in the data section

        --event-id <event_id>                          filter based on EventID
        --event-record-id <event_record_id>            filter based on EventRecordID
        --keywords <keywords>                          filter based on Keywords
        --level <level>                                filter based on Level
        --opcode <opcode>                              filter based on Opcode
        --process-id <process_id>                      filter based on ProcessID
        --provider <provider>                          filter based on Provider
        --related-activity-id <related_activity_id>    filter based on RelatedActivityID
        --task <task>                                  filter based on Task
        --thread-id <thread_id>                        filter based on ThreadID
        --time-created <time_created>                  filter based on TimeCreated
        --user-id <user_id>                            filter based on UserID

ARGS:
    <EVTXFILE>    name of the evtx file

About

filtering Windows Event Log files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages