Skip to content

Parses influxdb logs and produces a CSV stream containing structured http log data

Notifications You must be signed in to change notification settings

wildducktheories/influx-log-analyser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#NAME influx-log-analyser - parser for influx log entries

#DESCRIPTION Converts [http] lines found in an influxd log stream into a structured CSV stream containing the same information.

#USAGE

cat influx.log | influx-log-analyzer

To get tab separated output instead of comma separated output, use the --tabs option.

To get a JSON output instead of a CSV output, run:

go get -d github.com/wildducktheories/go-csv/csv-to-json &&
go install github.com/wildducktheories/go-csv/csv-to-json

then run:

cat influx.log | influx-log-analyzer | csv-to-json

About

Parses influxdb logs and produces a CSV stream containing structured http log data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published