Commit Graph

57 Commits

Author SHA1 Message Date
Paweł Żak c4dbe65732
chore(linters): Bump golangci-lint to v1.56.1 (#14759) 2024-02-12 23:26:10 +01:00
Paweł Żak ae7fbc5082
chore(linters): Replace 'fmt.Errorf' with 'errors.New' wherever possible (#14698) 2024-02-08 11:32:30 -06:00
Sven Rebhan 5d16330c08
test(parsers): Sort metrics to avoid flaky tests (#14284) 2023-11-13 12:38:47 -07:00
Paweł Żak 8fbea28ab3
chore(linters): Fix findings found by testifylint: expected-actual (#14229) 2023-11-01 14:09:55 -06:00
Paweł Żak 34ae468a8c
chore(linters): Fix findings found by testifylint: len (#14203) 2023-10-31 10:29:53 +01:00
Sven Rebhan 321c5a4070
test(parsers): Add benchmarks (#14148) 2023-10-25 17:05:25 -06:00
Paweł Żak 97f47c11dd
chore(linters): Fix findings found by testifylint: empty (#14179) 2023-10-25 15:09:13 -06:00
Paweł Żak 7c5b3ea068
chore(linters): Fix findings found by testifylint: compares (#14177) 2023-10-24 15:02:26 -06:00
Paweł Żak 990ffc7222
chore(linters): Fix findings found by testifylint: bool-compare (#14163) 2023-10-24 10:45:17 -06:00
Sven Rebhan 7ced2606b2
chore(parsers)!: Remove old-style creation (#13310) 2023-05-23 14:17:11 -06:00
Sven Rebhan bea5414384
feat(parsers.xpath): Add timezone handling (#12820) 2023-03-13 12:17:14 +01: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
Joshua Powers 42640b1def
test(parsers.json): add fuzz test (#12368) 2022-12-13 06:41:08 -07:00
Joshua Powers 8c49ddccc3
chore: update to go1.19.1 (#11776) 2022-09-08 12:49:36 -06:00
Sven Rebhan 3ad9fe73ba
chore: More parser cleanup (#11532) 2022-07-28 15:30:36 -05:00
Sven Rebhan c46f42f797
feat: Migrate json parser to new style (#11226) 2022-06-22 09:56:51 -06:00
reimda 34eff493ae
chore: Fix readme linter errors for processor, aggregator, and parser plugins (#10960) 2022-06-06 17:04:28 -06: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
Julien Riou 4336dae3b5
Make JSON format compatible with nulls (#9110) 2021-04-20 17:47:14 -04:00
David Bennett 842a788022
Remove error return type from metric.New method (#9116)
* Remove error return type from metric.New method.

* Formatting changes for linter + gofmt

* Additional linter fixes.

* More linter fixes.

* Linter fix.

* address comments
2021-04-13 14:40:03 -04:00
Paweł Żak 38c61c07ef
Revive fixes - part 4: (#8981)
empty-lines

Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-12 14:21:51 -06:00
Helen Weller 94eb8f2e42
Add wildcard tags json parser support (#8579) 2020-12-17 19:32:25 -05:00
Samantha Wang d9d6a194b1
Update json parser readme (#8532) 2020-12-15 10:09:11 -07:00
Daniel Nelson 72e3ff04bd
Link to GJSON playground in json parser documentation (#7698) 2020-06-17 12:15:43 -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 c6519c7793
Hook up json_strict option with default of true (#6909) 2020-01-21 10:10:02 -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
David McKay a9a0d4048a Add strict mode to JSON parser (#6536) 2019-10-23 14:06:39 -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 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
Douglas Drinka 1886676e14 Support configuring a default timezone in JSON parser (#5472) 2019-02-25 11:30:33 -08:00
Greg 10ac030502 Unify time parsing in json/csv parsers (#5382) 2019-02-05 17:43:35 -08:00
Adrián López 7caa5d20af Fix invalid JSON in readme (#5158) 2018-12-18 12:21:36 -08:00
Greg 6ef331efeb Add micro and nanosecond unix timestamp support to JSON parser (#5149) 2018-12-14 14:38:01 -08:00
Greg 83bc3d1277 Improve docs to clarify common issues (#5054) 2018-12-10 16:14:20 -08:00
Daniel Nelson 0e07bbb877
Fix option names in json parser docs 2018-11-05 17:15:07 -08:00
Daniel Nelson ad320ac1e0
Remove the time_key from the field values in JSON parser (#4951) 2018-11-02 17:53:45 -07:00
Greg 4c9c31c34f Fix panic if JSONNameKey is not found (#4735) 2018-09-21 15:47:41 -07:00
Daniel Nelson 41d528c8ce
Split parser/serializer docs (#4690) 2018-09-17 11:45:08 -07:00
David Reniz cd4c4e7fbd Added Unix epoch timestamp support for JSON parser (#4633) 2018-09-06 18:44:33 -06:00
maxunt 2729378b7f Add name, time, path and string field options to JSON parser (#4351) 2018-08-22 19:26:48 -07:00
maxunt 8482c40a91 Fix selection of tags under nested objects in the JSON parser (#4284) 2018-06-14 13:17:32 -07:00
Daniel Meiners 9647ea88ea Ignore UTF8 BOM in JSON parser (#4099) 2018-05-03 11:40:28 -07:00
Daniel Nelson 4243403432 Remove warning when JSON contains null value (#3359) 2017-10-19 16:25:58 -07:00