Releases: cloudvolumes/avmlog
v4.1.0 - Flash
Several RegExp and -report updates for this release!
- Fix the URL path matcher, it was not picking up paths with special characters in them, much improved now
- Fixed the vCenter and ESX adapter matchers, picks up lines with single or double quotes now
- Added the number of vCenter connects and disconnects to -report
- Added "?" rows to -report when incomplete requests are detected, useful for researching logs are incomplete
Built with: go version go1.18.5 darwin/amd64
Built on: 21.6.0 Darwin Kernel Version 21.6.0: Sat Jun 18 17:07:25 PDT 2022; root:xnu-8020.140.41~1/RELEASE_X86_64 x86_64
Binaries:
- avmlog = x64 mac
- avmlogm = x64 mac arm
- avmlogx = x64 linux
- avmlog.exe = x64 windows
v4.0.4 - Etrigan
No changes in this release, just re-compiled with go 1.18.4 (previously 1.16.5)
Built by: go version go1.18.4 darwin/amd64
Built on: Darwin slawson-a01.vmware.com 21.6.0 Darwin Kernel Version 21.6.0: Sat Jun 18 17:07:25 PDT 2022; root:xnu-8020.140.41~1/RELEASE_X86_64 x86_64
Do we need an ARM64 binary these days?
$ env GOOS=darwin GOARCH=arm64 go build -v -o avmlogm avmlog.go
v4.0.3 - Ermac
Fixes a couple of bugs with regex matching of request identifiers. Over time, suffixes have been added to the normal PxxxRxxx request ID format to specify execution in a thread. The suffixes caused those lines not to be seen as valid log messages which excluded them from being initially matched by a -find or printed when -full is used. This is now fixed.
before
$ ~/avmlog -full -neat -find='vSphere operation failed' merged_production.log | wc -l
Found 0 request identifiers for "vSphere operation failed"
0
after
$ ~/avmlog -full -neat -find='vSphere operation failed' merged_production.log | wc -l
Found 151 lines matching "vSphere operation failed"
4557
-only_msg
I had forgotten how powerful -only_msg
is, use it to count the number of occurrences of similar errors:
$ ~/avmlog -full -find='Notepad' -neat -only_msg merged_production.log | sort -f | uniq -ic | sort
...
218 Cvo: Hypervisor Pool: Acquired "vcenter" adapter *** of *** for "vcenter***" in . seconds
228 RvSphere: Attaching read-only volume "[vusl***] appvolumes/packages/Don!....vmdk" to VM "WSUAP***"
378 RvSphere: Time taken to pop from work queue . milliseconds
794 RvSphere: Task ReconfigVM_Task completed successfully
820 RvSphere: vSphere Server: "VMware vCenter Server ..*** build***" Instance: "***" License: "VMware VirtualCenter Server"
This release was compiled using GO 1.16.5 and cross-compiled for 64-bit versions (amd64) of Windows and Linux.
https://groups.google.com/g/golang-announce/c/RgCMkAEQjSI
Mac
OSX will prevent you from running this binary because it is not signed, you can fix that by right-clicking it and choosing "Open", that will give you the dialog to "Open Anyway". Alternatively you can run this command:
$ xattr -d com.apple.quarantine /path/to/avmlog
Happy Parsing!
v4.0.2 - Enigma
Fixes a bug in -report that was excluding routes that did not contain a "?" mark
Compiled using GO 1.16 and cross-compiled for 64-bit versions (amd64) of Windows and Linux
before
$ ~/avmlog_401 -report ~/Documents/bugs/2724728/av-manager/production.log.2.gz | wc -l
...
Reading: 100000 lines, 0.010 GB (after: true, matches: 0)
110
after
$ ~/avmlog -report ~/Documents/bugs/2724728/av-manager/production.log.2.gz | wc -l
...
Reading: 100000 lines, 0.010 GB (after: true, matches: 0)
3676
v4.0.1 - Enchantress
Fixes a bug in the -report'ing of non-200 requests
Was: Completed ([0-9]+) OK in ([0-9.]+)ms
Now: Completed ([0-9]+) [A-Za-z ]+ in ([0-9.]+)ms
v4.0.0 - Elektra
Refactored file parsing to allow processing of files with lines that exceed 64k.
Added some additional columns to --report
Now built with Go 1.9.2 (https://blog.golang.org/go1.9) was Go 1.7.1 in v3.3.0
v3.3.0 - Deathlok
Added computer and user names to the -report output
v3.2.0 - Deadshot
Change -report to include all requests not just requests that contain mounts
v3.1.0 - Deadpool
Adding two new flags to support debugging:
-detect_errors and -only_msg
See the README for more information
v3.0.2 - Crystal
A patch release just to include a linux binary.