bscpaz / go-extract-logs

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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"

About

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


Languages

Language:Go 100.0%