Commit Graph

37 Commits

Author SHA1 Message Date
Sven Rebhan 9c6cd94d6e
chore: Add generator for sample-config includes (#13348) 2023-06-02 08:08:56 -06:00
Paweł Żak 5b2346dfa0
chore: Fix linter findings for errorlint (part5) (#12731)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-01 22:18:35 +01:00
Paweł Żak 473aa0de17
chore: Lint whole codebase both in PR and master branch (#12590) 2023-02-02 14:16:21 +01:00
Sven Rebhan e6de0cc9c2
chore(internal.gzip): cleanup CompressWithGzip (#12587) 2023-02-01 11:20:11 -07:00
Sven Rebhan 9f55bc605e
fix(secretstores): cleanup duplicate printing (#12401) 2022-12-15 06:35:05 -07:00
Sven Rebhan c98115e744
feat: secret-store implementation (#11232) 2022-12-08 09:53:06 -07:00
Sven Rebhan 8e23402305
chore: remove deprecated io/ioutils (#11678) 2022-09-20 09:37:14 -06:00
Sebastian Spaink d67f75e557
docs: Remove warning not to remove go:embed (#11797)
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2022-09-13 12:47:58 -05:00
Joshua Powers 8c49ddccc3
chore: update to go1.19.1 (#11776) 2022-09-08 12:49:36 -06:00
Joshua Powers 2fc19fa308
chore: correctly spell embed (#11200) 2022-05-27 07:13:47 -06:00
Sven Rebhan 56eb914998
chore: Embed sample configurations into README for inputs (#11136) 2022-05-24 08:49:47 -05:00
Joshua Powers dad330c3e1
fix: use readers over closers in http input (#11083) 2022-05-18 13:06:56 -06:00
Joshua Powers 7d456d1773
fix: deprecate useless database config option (#11044) 2022-05-10 15:26:04 -06:00
Sebastian Spaink 8e2b4988fe
feat: migrate input plugins to new sample config format (A-L) (#10924) 2022-04-07 16:01:21 -06:00
Sven Rebhan 4ae8c60178
fix: Statefull parser handling (#10575) 2022-02-03 09:15:38 -07:00
Conor Evans 48b981bd4e
feat: support headers for http plugin with cookie auth (#10404) 2022-01-11 15:31:28 -07:00
Joshua Powers 8f02056718
fix: ensure http body is empty (#10396) 2022-01-11 09:22:49 -07:00
Eng Zer Jun 6a3b27126a
refactor: move from io/ioutil to io and os package (#9811) 2021-09-28 15:16:32 -06:00
Jacob Hochstetler 4591c62cfc
Http plugin add cookie auth (#9395) 2021-07-13 15:58:49 -06:00
David Bennett 8bb388584d
Add OAuth2 to HTTP input (#9138)
* add oauth2 to http input

* linter fixes

* add http config to common plugin

* address linter changes

* Update README.md

* add log for user if fields are missing

* add correct logger

* alter output plugin as well

* fix formatting

* add oauth2 separate package

* fix package naming

* remove unnecessary logger
2021-04-23 09:37:27 -04:00
Sven Rebhan 9853bf6c54
Get rid of deprecated internal.{Duration,Size,Number} (#8969) 2021-04-09 13:15:04 -04:00
Steven Soroka 4090c77275
proxy support for http input (#8477) 2020-11-26 17:16:25 -05:00
Daniel Nelson c73ed8ca6c
Export internal/tls package for use in execd plugins (#7697) 2020-06-25 11:44:22 -07:00
M0rdecay 27f09758ba
Add reading bearer token from a file to http input (#7304) 2020-04-14 12:31:26 -07:00
陈方舟 fa2f0fff4e Fix influxdb output serialization on connection closed (#6621) 2019-11-13 12:56:01 -08:00
Dheeraj Dwivedi a01d273c45 Support custom success codes in http input (#6549) 2019-10-21 14:23:36 -07:00
Daniel Nelson 0ff9c8ef88
Add call to optional Init function for all plugins (#5899) 2019-06-14 15:12:27 -07:00
Daniel Nelson 4d3519756c
Add support for sending a request body to http input (#5074) 2018-12-11 19:12:00 -08:00
Daniel Nelson 37fefa300b
Remove non-existant option from sample config 2018-09-12 11:53:25 -07:00
Daniel Nelson de355b76d6
Simplify testing with TLS (#4095) 2018-05-04 16:33:23 -07:00
Daniel Nelson 9aabf56795
Use proxy from environment in http input 2018-02-15 19:06:22 -08:00
Daniel Nelson 3fe3d75bb3
Add configurable method to http input 2018-02-15 19:06:22 -08:00
Daniel Nelson a55456b56c
Check parser initialization earlier 2018-02-15 19:06:22 -08:00
Daniel Nelson 6c656d92a0
Add url tag only if not already set 2018-02-15 19:06:20 -08:00
Daniel Nelson 2ee270f274
Allow setting basic auth with empty username 2018-02-15 19:05:36 -08:00
Daniel Nelson 5b37fd3ae9
Update http input documentation 2018-02-15 19:05:36 -08:00
Nicolas Grange f82f03b92c Add http input plugin which supports any input data format (#3546) 2018-02-15 16:00:10 -08:00