Commit Graph

55 Commits

Author SHA1 Message Date
Paweł Żak dba5597530
chore(linters): Configure `revive:var-naming` and fix its findings (#16817) 2025-04-24 21:23:04 +01:00
Paweł Żak 43590ca730
chore: Fix linter findings for `revive:comment-spacings` (part 1) (#15896) 2024-09-19 10:55:45 +02:00
Dane Strandboge 28543bae7c
chore(linters): Fix non-input/output plugin errcheck warnings (#15472) 2024-06-12 07:52:42 -06:00
Sven Rebhan 28cfad68d2
chore(parsers.grok): Improve non-matching debug message (#15318) 2024-05-08 11:11:05 -05: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
Joshua Powers 6fd41686d3
chore(parsers): Add additional parser benchmarks (#14276) 2023-11-13 09:34:22 +01:00
Paweł Żak 8fbea28ab3
chore(linters): Fix findings found by testifylint: expected-actual (#14229) 2023-11-01 14:09:55 -06:00
Joshua Powers 657eca5cf0
fix(parsers.grok): Use UTC as the default timezone (#13526) 2023-06-30 19:20:48 +02:00
Sven Rebhan 97d10a5ee9
fix(internal): Fix time parsing for abbreviated timezones (#13363) 2023-06-02 10:05:55 -06:00
Sven Rebhan 7ced2606b2
chore(parsers)!: Remove old-style creation (#13310) 2023-05-23 14:17:11 -06:00
Sven Rebhan 302ac88bdb
fix(parsers.grok): Fix nil metric for multiline inputs (#13078) 2023-04-12 16:15:35 -06:00
Paweł Żak e84bc0c590
chore: clean up import shadowing issues (#12588) 2023-02-01 11:21:38 -07:00
Sven Rebhan 6b08068d6d
feat(parsers.grok): add option to allow multiline messages (#12320) 2022-12-07 13:05:02 -07:00
Paweł Żak 0c5d8de5e2
chore: enable lll linter (#12226) 2022-11-11 08:17:15 -07:00
Paweł Żak 7807847356
chore: Wrap long lines in plugins/parsers (#12180) 2022-11-08 18:47:35 +01:00
Joshua Powers 8c49ddccc3
chore: update to go1.19.1 (#11776) 2022-09-08 12:49:36 -06:00
Joshua Powers 56a3f18cdf
feat: migrate grok to new parser style (#11408) 2022-06-30 08:10:27 -06:00
reimda 34eff493ae
chore: Fix readme linter errors for processor, aggregator, and parser plugins (#10960) 2022-06-06 17:04:28 -06:00
Eng Zer Jun 81090be35d
refactor: replace strings.Replace with strings.ReplaceAll (#11079) 2022-05-11 09:53:34 -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
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
Paweł Żak 8a6907a186
Revive fixes - part 3 (#8872)
* * Revive fixes regarding following set of rules: [rule.var-naming]
2021-03-01 16:04:35 -05:00
Steven Soroka 7ff96a7424 Revert "Update grok package to support for field names containing '-' and '.' (#8276)"
This reverts commit a5f3121f6d.

(cherry picked from commit 5c826e8a3254dc509012d018638a2e5f41a110f2)
2020-12-16 17:29:41 -05:00
Steven Soroka 717d329af8 Revert "disable flakey grok test for now"
This reverts commit a96c8b49e4.

(cherry picked from commit 115e25ea36b854d4e5f941596dfb965d103c1376)
2020-12-16 17:29:10 -05:00
Steven Soroka a96c8b49e4 disable flakey grok test for now 2020-12-10 13:20:37 -05:00
Hong a5f3121f6d
Update grok package to support for field names containing '-' and '.' (#8276) 2020-12-02 13:11:35 -05:00
Stephen Solka 6580c6a597
prefer testify error funcs over nil checks (#7857) 2020-07-20 10:34:46 -04:00
Steven Soroka 6c72c645a2
add another grok example for custom timestamps (#7367) 2020-04-20 13:18:12 -04:00
Daniel Nelson 1b25a9c910
Remove debug print statement 2019-12-02 20:03:25 -08: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 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
Daniel Nelson a0527db037
Allow grok to produce metrics with no fields (#5533) 2019-03-05 11:07:39 -08:00
Daniel Nelson c023ffe0a5
Add unique_timestamp option from grok parser to logparser grok 2019-02-26 18:05:04 -08:00
Greg 85617887c4 Add option to disable timestamp adjustment in grok parser (#5488) 2019-02-26 17:35:57 -08:00
Daniel Nelson b6cc324d10
Add note on performance to grok parser documentation (#5291) 2019-01-17 12:00:07 -08:00
svenwiltink df6fbdb1e8 Fix unittests for new year (#5213) 2019-01-02 11:12:04 -08:00
Daniel Nelson 5027a516c7
Even more fix link in grok documentation 2018-12-19 16:25:06 -08:00
Daniel Nelson 76f8d294e4
Even more fix link in grok documentation 2018-12-19 16:24:00 -08:00
Daniel Nelson 2c3fa0907e
Even more fix link in grok documentation 2018-12-19 16:22:43 -08:00
Daniel Nelson d043da1976
Fix link in grok documentation 2018-12-19 16:17:17 -08:00
Greg 83bc3d1277 Improve docs to clarify common issues (#5054) 2018-12-10 16:14:20 -08:00
Trevor Pounds 17360f079c Fix spelling mistakes (#4888) 2018-10-19 11:12:01 -07:00
Daniel Nelson 4898edbb2d
Increment timestamp by one second in multi metric tests
This avoids accidentally triggering tsMod time adjustments in certain
timezones.
2018-10-03 15:11:59 -07:00
Daniel Nelson 41d528c8ce
Split parser/serializer docs (#4690) 2018-09-17 11:45:08 -07:00