Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for datetime format "0226/052726" from Chrome cv_debug.log #260

Closed
jtmoon79 opened this issue Mar 23, 2024 · 0 comments
Closed

support for datetime format "0226/052726" from Chrome cv_debug.log #260

jtmoon79 opened this issue Mar 23, 2024 · 0 comments
Labels
datetime format support for parsing some datetime pattern format enhancement New feature or request P1 important

Comments

@jtmoon79
Copy link
Owner

Chrome Web Browser update log, at "${env:TEMP}/cv_debug.log" on Windows 11, looks like

{"logTime": "0226/052726", "correlationVector":"C3BF38D097234ED3A46F33A1C497BF65","action":"FETCH_UX_CONFIG", "result":""}
{"logTime": "0226/052726", "correlationVector":"aEsAlJreykjhk+bn3hQedJ","action":"EXTENSION_UPDATER", "result":""}

Using version 0.6.69, no syslog lines are printed (none are successfully parsed)

$ s4 ./logs/Windows11Pro/Temp/cv_debug.log -s

Files:

File: ./logs/Windows11Pro/Temp/cv_debug.log
  About:
      realpath       : /super-speedy-syslog-searcher/logs/Windows11Pro/Temp/cv_debug.log
      Modified Time  : 2024-03-22T14:45:54.994772300-07:00 (2024-03-22 21:45:54.994772300 +00:00)
      filetype       : TEXT
      logmessagetype : syslog lines
      MIME guess     : MimeGuess(["text/plain"])
  Printed:
      bytes         : 0
      lines         : 0
      syslines      : 0
      datetime first: None Found
      datetime last : None Found
  Processed:
      file size     : 46041 (0xB3D9) (bytes)
      bytes         : 46041 (0xB3D9)
      bytes total   : 46041 (0xB3D9)
      block size    : 65535 (0xFFFF)
      blocks        : 1
      blocks total  : 1
      blocks high   : 1
      lines         : 379
      lines high    : 379
      syslines      : 1
      syslines high : 1
      datetime first: 2518-06-06T05:50:46-07:00 (2518-06-06 12:50:46 +00:00)
      datetime last : 2518-06-06T05:50:46-07:00 (2518-06-06 12:50:46 +00:00)
  Parsers:
      @[101] uses 1 DateTimeParseInstr: { regex_pattern: "(?P<year>[12][[:digi…", line: 4250, range_regex: 0..1024, cgn_first: "year", cgn_last: "second", : DTFSSet: { year: Y, month: ms, day: _e_or_d, hour: k, second: S, fractional: _none, tz: _fill, year?: true, tz?: false, pattern: "%Y%m%dT%H%M%S%:z" } }
  Processing Stores:
      storage: BlockReader::read_block() blocks                    : hit     0, miss     1,  0.0%, put     1
      caching: BlockReader::read_block() LRU cache                 : hit   381, miss     1, 99.7%, put     1
      storage: LineReader::find_line() lines                       : hit     0, miss   757,  0.0%
      caching: LineReader::find_line() LRU cache                   : hit     3, miss   381,  0.8%, put   379
      copying: SyslineReader::get_boxptrs()                        : sgl 46218, dbl      0, mult     0
      storage: SyslineReader::find_sysline() syslines              : hit     0, miss     2,  0.0%
      caching: SyslineReader::find_sysline() syslines_by_range_map : hit     0, miss     2,  0.0%, put     1
      caching: SyslineReader::find_sysline() LRU cache             : hit     0, miss     2,  0.0%, put     1
      caching: SyslineReader::parse_datetime_in_line() LRU cache   : hit     0, miss   379,  0.0%, put     0
      optimize:SyslineReader::ezcheck12                            : hit     0, miss     0,  0.0%, largest skipped 0
      optimize:SyslineReader::ezcheckd2                            : hit     0, miss  2651,  0.0%, largest skipped 0
      optimize:SyslineReader::ezcheck12d2                          : hit     0, miss 43567,  0.0%, largest skipped 0
      process: regex captures attempted                            : 46218
  Processing Drops:
      streaming: BlockReader::drop_block()    : Ok 0, Err 0
      streaming: LineReader::drop_line()      : Ok 0, Err 0
      streaming: SyslineReader::drop_sysline(): Ok 0, Err 0


Program Summary:

Paths considered      : 1
Paths not processed   : 0
Files processed       : 1
Files printed         : 0
Printed bytes         : 0
Printed lines         : 0
Printed syslines      : 0
Printed utmpx         : 0
Printed evtx events   : 0
Printed journal events: 0
Datetime filter -a    :
Datetime printed first:
Datetime printed last :
Datetime filter -b    :
Datetime Now          : 2024-03-23T12:37:08-07:00 (2024-03-23 19:37:08 +00:00)
Channel Receive ok    : 2
Channel Receive err   : 0
@jtmoon79 jtmoon79 added enhancement New feature or request P1 important datetime format support for parsing some datetime pattern format labels Mar 23, 2024
@jtmoon79 jtmoon79 changed the title support for datetime format support for datetime format "0226/052726" from Chrome cv_debug.log Mar 23, 2024
jtmoon79 added a commit that referenced this issue Apr 23, 2024
Match Chrome cv_debug.log; add DateTimeParseInstr
update compare-current-and-expected logs

Issue #260
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datetime format support for parsing some datetime pattern format enhancement New feature or request P1 important
Projects
None yet
Development

No branches or pull requests

1 participant