Skip to content

Commit

Permalink
Updated docs for filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
mvadu committed Sep 23, 2015
1 parent 7f0c64f commit 2f21fc4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,22 @@ A C# console application to parse log files (currently only Windows Perfmon form

Meet Influxer, a small C# console application, which will take any generic csv file or standard PerfMon csv log, and upload it to any Influx instance.

Valid switches are
-influx <url> : Influx DB Url
-dbName <name> : Influx DB Name (will be created if not exists)
-uname <username> : Influx DB User name
-pass <password> : Influx DB Password
-tags <tags> : Tags to be passed with every value, key value pairs, space will be converted to _
-input <filename> : Input File CSV generated by PerfMon
-seperator <char> : Column Seperators default is ,
-timeformat <format>: Timeformat used by PerfMon (default MM/dd/yyyy hh:mm:ss.fff)
-seperator <char> : Column Separators default is ,
-timeformat <format>: Time format used by PerfMon (default MM/dd/yyyy hh:mm:ss.fff)
-format <format> : CSV File format PerfMon(default) and Generic are supported. For generic TableName is required
-table <table name> : Influx Table name needed for generic format only
-filter <filter> : supported:measurement, field, columns.
-columns <columns> : Comma separated list of columns from input files
-filter-measurement or field is to restrict the input file to only measurements or fields that already present in the database
-filter-columns is to restrict to only few columns from the input irrespective of existing data in database
-columns will be ignored in other cases. Replace any inline commas in columns names with a space!

In case of Perfmon logs, the measurements are created at a CounterObject level, and each counters in those objects become fields. The Host name is added as tag.

Expand Down

0 comments on commit 2f21fc4

Please sign in to comment.