Commit Graph

142 Commits

Author SHA1 Message Date
Stephanie Engel 247230c5c9
keep field name as is for csv timestamp column (#8440) 2020-11-20 09:52:07 -06:00
Sven Rebhan 049daf7892
Fix parsing of multiple files with different headers (#6318). (#8400) 2020-11-13 10:36:08 -05:00
Russ Savage dabea48a90
Fix minor typos in readmes (#8370) 2020-11-12 10:20:50 -07:00
Roger Peppe 9ee87ab7c3
fix: plugins/parsers/influx: avoid ParseError.Error panic (#8177) 2020-09-30 13:26:00 -04:00
Russ Savage 75e701c288
fix(readmes): adding code block annotations (#7963) 2020-08-10 15:50:48 -04:00
Stephen Solka 6580c6a597
prefer testify error funcs over nil checks (#7857) 2020-07-20 10:34:46 -04:00
Daniel Nelson be77fbab31
Support utf-16 in file and tail inputs (#7792) 2020-07-07 12:43:32 -07:00
Daniel Nelson 72e3ff04bd
Link to GJSON playground in json parser documentation (#7698) 2020-06-17 12:15:43 -07:00
Haidlir Naqvi adbc425961
Add timezone configuration to csv data format (#7619) 2020-06-08 14:52:46 -07:00
Steven Soroka 7ba226a00b
fix issue with stream parser blocking when data is in buffer (#7631) 2020-06-05 18:30:25 -04:00
Steven Soroka a438678d5b
make sure parse error includes offending text (#7561) 2020-05-27 14:58:58 -04:00
Harshit Bansal 092059c066
Exclude csv_timestamp_column and csv_measurement_column from fields (#7572) 2020-05-26 14:16:48 -07:00
Josh Soref bf1eb291f2
Fix assorted spelling mistakes (#7507) 2020-05-15 15:43:32 -07:00
Josh Soref 2c56d6de81
Fix spelling errors in comments and documentation (#7492) 2020-05-14 00:41:58 -07:00
presslab-us e1b2ebe06d
Use same timestamp for all objects in arrays in the json parser (#7412) 2020-04-29 11:32:19 -07:00
Daniel Nelson cf3d48bb68
Allow CR and FF inside of string fields and fix parser panic (#7427) 2020-04-28 14:42:37 -07:00
Steven Soroka 6c72c645a2
add another grok example for custom timestamps (#7367) 2020-04-20 13:18:12 -04:00
Daniel Nelson d8b66b69d5
Mention metric filtering in csv parser docs 2020-03-13 14:30:27 -07:00
reimda a0276385b1
Refactor InfluxDB listener (#6974)
Use streaming parser in InfluxDB listener
2020-03-04 11:13:44 -07:00
Daniel Nelson c6519c7793
Hook up json_strict option with default of true (#6909) 2020-01-21 10:10:02 -08:00
Daniel Speichert 98585a1853 Set TrimLeadingSpace when TrimSpace is on in csv parser (#6773) 2019-12-11 11:25:35 -08:00
Daniel Nelson 48f9f22f33
Document that json tag_keys are not saved as fields. 2019-12-03 16:43:05 -08:00
Daniel Nelson 03de92b962
Remove trailing underscore trimming from json flattener (#6744) 2019-12-03 11:46:29 -08:00
Daniel Nelson 1b25a9c910
Remove debug print statement 2019-12-02 20:03:25 -08:00
David McKay a9a0d4048a Add strict mode to JSON parser (#6536) 2019-10-23 14:06:39 -07:00
pierwill c8f4215ac5 Document data types should be specified in column order (#6526) 2019-10-14 15:29:41 -07:00
Rajiv Kushwaha b9a4ef7484 Add millisecond unix time support to grok parser (#6476) 2019-10-04 17:38:48 -07:00
Kai Groner f080b58834 Use prefix base detection for ints in grok parser (#6434) 2019-09-23 10:26:17 -07:00
Daniel Nelson 8d96dd71c7
Allow graphite parser to create Inf and NaN values (#6420) 2019-09-19 20:03:10 -07:00
Daniel Nelson 6dc61be6eb
Fix detection of layout timestamps (#6390) 2019-09-16 16:32:14 -07:00
Greg df288a0bb4 Keep boolean when listed in json_string_fields (#6400) 2019-09-16 16:30:34 -07:00
Daniel Nelson 9463b894f2
Fix links in changelog 2019-09-03 10:58:37 -07:00
Daniel Nelson 558c825478
Link to specific gjson version we are using 2019-08-28 18:11:38 -07:00
Daniel Nelson e576048e02
Treat empty array as successful parse (#6130) 2019-07-17 15:03:09 -07:00
Daniel Nelson 41176dd1f1
Support string field glob matching in json parser (#6102) 2019-07-15 16:48:19 -07:00
Daniel Nelson 9b338410cb
Rename formdata parser to form_urlencoded 2019-06-17 14:50:58 -07:00
Boris Yonchev fd9abd2166 Add formdata parser (#5749) 2019-06-17 13:34:54 -07:00
Charlie Vieth b35beb2fba Reduce the cpu/memory used by the graphite parser (#5841) 2019-06-14 12:45:07 -07:00
Marc Venturini 4b6e791908 Fix sensor read error stops reporting of all sensors in temp input (#5941) 2019-06-14 11:27:24 -07:00
Daniel Nelson d260437318
Add example output from the collectd parser 2019-06-13 13:34:12 -07:00
Daniel Nelson e52f7056ba
Fix parse of unix timestamp with more than ns precision (#5826) 2019-05-14 11:29:44 -07:00
Pontus Rydin f32b064d6a Fix race condition in the Wavefront parser (#5764) 2019-04-25 12:22:48 -07:00
Greg 286eeb117e Remove unused config option from logfmt parser docs (#5669) 2019-04-02 13:06:44 -07:00
Daniel Nelson c283e5992a
Fix tags applied to wrong metric on parse error (#5650) 2019-04-02 11:14:56 -07:00
scier 60027cf902 Add support for multiple line text and perfdata to nagios parser (#5601) 2019-03-25 16:24:42 -07:00
Daniel Nelson e793a69533
Fix grammar 2019-03-25 12:11:59 -07:00
Daniel Nelson 888d847a05
Add link to vjeantet/grok to grok parser docs 2019-03-25 12:09:04 -07:00
Daniel Nelson 72d4f00082
Remove string trimming from grok parser (#5608) 2019-03-22 14:02:15 -07:00
Greg 45b1247d9b Use valid measurement names in csv parser (#5577)
If an empty column is present in parsed csv data, a `recordFields` is
set to the key of "". If no `MeasurementColumn` is defined, this empty
value was being used as the measurement name. By only setting the
measurementName if the value is not empty, we avoid this error.

Since an empty column is a valid column, skip values must account for
them.
2019-03-12 19:49:19 -07:00
Daniel Nelson a0527db037
Allow grok to produce metrics with no fields (#5533) 2019-03-05 11:07:39 -08:00