Commit Graph

45 Commits

Author SHA1 Message Date
Sven Rebhan 1041d331ae
chore(deps): Bump golangci-lint from v1.63.4 to v1.64.5 (#16512) 2025-02-18 09:23:28 -06:00
Paweł Żak d26479b58e
chore: Fix linter findings for `revive:unused-receiver` in `plugins/`: `aggregators`, `common`, `parsers`, `processors`, `secretstores` and `serializers` (#16339) 2025-01-14 09:24:13 +01:00
Paweł Żak fe4246fab2
chore: Enable `revive:enforce-repeated-arg-type-style` rule (#16182) 2024-11-14 16:14:40 +01:00
Paweł Żak 39a5ca27ef
chore: Fix linter findings for `revive:enforce-map-style` in `plugins/aggregators`, `plugins/common`, `plugins/parsers`, `plugins/processors`, `plugins/secretstores` and `plugins/serializers` (#16039) 2024-10-18 09:10:58 -05:00
Paweł Żak 0804ccef4e
chore(linters): Enable `string-format` rule for revive (#15983) 2024-10-09 09:07:46 +02:00
Paweł Żak 8d282ab03a
chore: Fix linter findings for revive:max-public-structs in plugins/inputs/[t-z]* and rest (#15879) 2024-09-16 11:59:39 -05:00
Mikhail Konovalov 53fb5adac2
chore(parser.json_v2): Error out if no config is provided (#15844) 2024-09-09 10:04:37 -05:00
Joshua Powers 1e5fdb6d07
fix(inputs.http_listener_v2): Wrap timestamp parsing error messages (#15239) 2024-04-29 11:46:38 +02:00
Paweł Żak ae7fbc5082
chore(linters): Replace 'fmt.Errorf' with 'errors.New' wherever possible (#14698) 2024-02-08 11:32:30 -06:00
agiilit-admin e17ee6dead
fix(parsers.json_v2): Reset state before parsing (#14344) 2023-11-30 15:51:12 -07:00
Andreas Deininger 6814d7af8a
docs: Fix typos (#14359)
Co-authored-by: Josh Powers <powersj@fastmail.com>
2023-11-29 14:47:39 +01:00
Andreas Deininger 25d4a45c8c
fix(parsers.json v2): Correct wrong name of config option (#14351) 2023-11-28 15:46:41 +01:00
Joshua Powers a590a1b5b3
fix(parsers.json_v2): Log inner errors (#14296) 2023-11-15 10:14:31 +01:00
Adam Thornton 38b8a1bcde
fix(parsers.json_v2): Prevent race condition in parse function (#14149) 2023-10-30 09:04:41 +01:00
Christian Allinson 69612a8e4a
fix(parsers.json_v2): Properly handle optional fields (#14008)
Co-authored-by: Christian Allinson <christian.allinson@rebuildmanufacturing.com>
2023-10-02 10:29:11 +02:00
Thomas Casteleyn f58c9555dd
feat(parsers/json_v2): Improve json path log messages (#13994) 2023-09-26 06:43:00 -06:00
Sven Rebhan 7ced2606b2
chore(parsers)!: Remove old-style creation (#13310) 2023-05-23 14:17:11 -06:00
cui fliter b08a2bb324
chore(docs): Remove repetitive "the" (#13295) 2023-05-22 06:14:01 -06:00
Sven Rebhan bea5414384
feat(parsers.xpath): Add timezone handling (#12820) 2023-03-13 12:17:14 +01:00
Thomas Casteleyn 6a2f6f301f
chore: eliminate unnecessary use of quoted strings in printf (#12722) 2023-02-23 06:49:36 -07:00
Paweł Żak 4201f24020
chore: Fix linter findings for errorlint (part2) (#12702)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-22 12:08:46 +01:00
Martin Haaß 82ec689630
fix(json_v2): In case of invalid json, log messsage to debug log (#12440) 2023-01-12 16:16:06 +01:00
Paweł Żak 960a1f7b14
chore: Fix linter findings for prealloc (part3) (#12246) 2022-11-21 21:53:55 +01:00
Paweł Żak 743e023f84
chore: Fix linter findings for makezero (part1) (#12254) 2022-11-21 21:07:07 +01:00
Paweł Żak 6816aefcd5
chore: fix linter findings for unparam and revive.unused-parameter (#12150) 2022-11-08 12:04:12 -07:00
Joshua Powers 7c1d1755d8
fix(parsers.json_v2): Remove BOM before parsing (#11926) 2022-10-12 13:08:56 -06:00
Sven Rebhan 3f114e0921
feat: Migrate json_v2 parser to new style (#11343) 2022-06-22 13:50:43 -06:00
Sven Rebhan 5da99fa62e
fix: bump github.com/tidwall/gjson from 1.10.2 to 1.14.1 (#11264)
* Bump github.com/tidwall/gjson from v1.10.2 to v1.14.1

* Fix node references which are switched to parent relative now.
2022-06-07 09:38:56 -05: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
Reimer Prochnow 03d7c4693e
fix(json_v2): allow multiple optional objects (#10777) 2022-03-08 07:55:30 -07: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
Sebastian Spaink 18704de6ed
fix(json_v2): use raw values for timestamps (#10413) 2022-01-11 10:08:59 -06:00
Joshua Powers f9d719d636
fix: json_v2 parser timestamp setting (#10221) 2021-12-06 12:18:06 -07: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 da5727e34c
fix: duplicate line_protocol when using object and fields (#9872) 2021-10-07 15:45:02 -05: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
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
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
Sebastian Spaink 885252d388
New JSON Parser (#9246) 2021-06-10 13:22:18 -06:00