/go-extract-logs

Go program that extracts lines when they matches to a search key.

Primary LanguageGo

Go extract logs

Go program that extracts lines when they matches to a search key.

How to use

Copy a logs.log file into your project path
sudo cp /mnt/d/Users/bscpaz/Downloads/logs.log .
Setup the "searchKey" value
Run the program
go run main.go
Check the output file: "output.log"