Commit Graph

224 Commits

Author SHA1 Message Date
Sven Rebhan 0b5dedbc02
fix: Upgrade xpath and fix code (#11241) 2022-06-01 14:42:48 -06:00
Sven Rebhan 56eb914998
chore: Embed sample configurations into README for inputs (#11136) 2022-05-24 08:49:47 -05:00
Thomas Casteleyn 9a6816782b
feat: do not error if no nodes found for current config with xpath parser (#11102) 2022-05-19 09:00:23 -06:00
Sakerdotes 42f954fc88
fix(parsers/nagios): metrics will always return a supported status co… (#11062)
Co-authored-by: Morten Urban <morten.urban@sectornord.de>
2022-05-17 15:14:26 -05:00
Thomas Casteleyn 442728b03e
feat(parsers/logfmt): Add tag support (#11060) 2022-05-17 15:08:03 -05:00
Eng Zer Jun 81090be35d
refactor: replace strings.Replace with strings.ReplaceAll (#11079) 2022-05-11 09:53:34 -06:00
Alexander Kapshuna 18980772a9
docs: correct influx parser type setting in README (#11004) 2022-04-20 07:14:03 -06:00
JackSharebourg d38665fbb6
docs: update csv parser metadata descriptions (#10750) 2022-04-12 07:53:34 -06:00
Sven Rebhan 6f0c5afe48
fix: fix handling of imports in protocol-buffer definitions (#10798) 2022-03-23 09:28:17 -06:00
Sebastian Spaink b526945c64
fix(parsers.json_v2): Check if gpath exists and support optional in fields/tags (#10799) 2022-03-11 12:51:37 -07:00
Joshua Powers 40ed7fb693
feat(parsers.influx): New influx line protocol via feature flag (#10749) 2022-03-10 15:09:58 -07:00
Reimer Prochnow 03d7c4693e
fix(json_v2): allow multiple optional objects (#10777) 2022-03-08 07:55:30 -07:00
Joshua Powers e4823a4c57
docs: add value_field_name to value processor (#10740) 2022-03-01 09:28:41 -07:00
JackSharebourg c2458fe6b8
fix: typo metadata support in csv parser (#10742) 2022-02-28 07:21:47 -07:00
Sven Rebhan 9387fb602d
feat: Add tag batch-processing to XPath parser (#10585) 2022-02-24 15:09:33 -07:00
Ehsan 5adecc3cd9
feat(parsers/csv): Add metadata support to CSV parser plugin (#10083) 2022-02-23 19:28:16 -06:00
Grimsby 6ae9320275
fix: timestamp change during execution of json_v2 parser. (#10657)
Co-authored-by: Kristian Grimsby <grimsby@Kristians-MacBook-Pro.local>
2022-02-15 10:48:15 -06:00
Mark Rushakoff 25e8b45284
fix: incorrect handling of json_v2 timestamp_path (#10618) 2022-02-15 09:08:53 -06:00
Sebastian Spaink 75946f56f1
fix(parsers.json_v2): allow optional paths and handle wrong paths correctly (#10468) 2022-02-03 15:08:09 -07:00
Mya b2cfbb1acb
fix: typo in docs (#10441) 2022-01-25 15:12:32 -08:00
Sakerdotes 83ab2b8bb5
fix(parsers.nagios): nagios parser now uses real error for logging #10472 (#10473) 2022-01-20 10:42:40 -07:00
Sven Rebhan 193dc450c3
feat: Parser plugin restructuring (#8791) 2022-01-12 15:54:42 -07:00
Sebastian Spaink 18704de6ed
fix(json_v2): use raw values for timestamps (#10413) 2022-01-11 10:08:59 -06:00
Howie 381dc22723
chore: typos across source code comments (#10361) 2022-01-05 08:20:10 -07:00
Joshua Powers 078242ba6b
fix: empty import tzdata for Windows binaries (#10377)
The telegraf binary currently does not include any timezone data. While
this data is usually readily available in linux systems it is not
available to a go binary in Windows.

Fixes: #8756
2022-01-05 08:18:12 -07:00
Alberto Fernandez a202f68333
feat: add option to skip errors during CSV parsing (#10267) 2021-12-22 13:07:14 -07:00
Sven Rebhan aa642a4046
fix: Handle duplicate registration of protocol-buffer files gracefully. (#10188) 2021-12-10 14:25:24 -07:00
Joshua Powers f9d719d636
fix: json_v2 parser timestamp setting (#10221) 2021-12-06 12:18:06 -07:00
Paweł Żak 8e85a67ee1
fix: Linter fixes for plugins/parsers/[a-z]* (#10145) 2021-11-24 11:52:51 -07:00
Joshua Powers 779c1f0a59
chore: clean up all markdown lint errors in parser plugins (#10153) 2021-11-24 11:45:25 -07:00
Ehsan db86904759
fix: directory monitor input plugin when data format is CSV and csv_skip_rows>0 and csv_header_row_count>=1 (#9865) 2021-11-16 15:05:48 -07:00
Sebastian Spaink 8f309dc34d
fix(parser/csv): resolve linter issues (#10093) 2021-11-10 17:45:50 -06:00
Dane Strandboge ddeb6ec890
build: move to new protobuf library (#10019) 2021-11-09 08:51:14 -06:00
Sebastian Spaink 061b4094cd
fix(json_v2): remove dead code (#9908) 2021-10-13 13:04:02 -05:00
Sebastian Spaink 0be92db8af
docs: json_v2 improved var naming and comments (#9907) 2021-10-12 15:07:34 -06:00
Sebastian Spaink 66da86017f
chore: json_v2 read testdata dir for tests (#9906) 2021-10-12 15:04:36 -06:00
Sebastian Spaink da5727e34c
fix: duplicate line_protocol when using object and fields (#9872) 2021-10-07 15:45:02 -05:00
Patrick Hemmer 128ed8849b
fix: memory leak in influx parser (#9787) 2021-10-07 15:35:44 -05:00
Yuji Kawamoto d2a25456d5
feat(prometheus): add ignore_timestamp option (#9740) 2021-10-05 15:11:46 -06:00
Sebastian Spaink df5c19c17e
feat (parser.json_v2): Support defining field/tag tables within an object table (#9449) 2021-10-04 13:19:06 -05:00
Eng Zer Jun 6a3b27126a
refactor: move from io/ioutil to io and os package (#9811) 2021-09-28 15:16:32 -06:00
Sven Rebhan c076398440
fix: Fix panic for non-existing metric names (#9757) 2021-09-15 11:58:40 -06:00
Sebastian Spaink 3a7d9b6d98
fix: support 1.17 & 1.16.7 Go versions (#9642) 2021-08-23 15:37:44 -05:00
Dominik Rosiek 348c18db75
feat(http_listener_v2): allows multiple paths and add path_tag (#9529) 2021-07-27 16:10:50 -05:00
Sebastian Spaink d6b7d4da2c
Simplify how nesting is handled (#9504) 2021-07-22 19:09:01 -05:00
Alexander Krantz 2eb0ee2e1e
Add support for large uint64 and int64 numbers (#9520) 2021-07-19 22:23:12 -05:00
Sebastian Spaink 1b20680e37
Fix json_v2 parser to handle nested objects in arrays properly (#9479) 2021-07-08 13:05:41 -05:00
Sven Rebhan 25413b2b6d
XPath parser extension to allow parsing of JSON, MessagePack and Protocol-buffers (#9277) 2021-07-01 16:48:16 -04:00
Mya 8638a41724
tags no longer required in included_keys (#9406) 2021-06-22 11:48:29 -05:00
Sebastian Spaink daec1040c6
Update json_v2 parser to handle null types (#9368) 2021-06-15 16:50:20 -06:00