Skip to content

Commit

Permalink
[filebeat][httpjson] Initial implementation of httpjson v2 (#22320)
Browse files Browse the repository at this point in the history
* Add oauth config

* Add stateless input

* Add request and basic config

* Create v2 input and basic transforms

* Refactor and set up basic requester structure

* Run fmt

* Set tests and fix tpl

* basic processing structure

* Add pagination mechanism

* Publish the events

* Add check redirect and oauth tests

* Deprecate old httpjson and include both

* Return default value if execution is empty

* wip

* Add split

* Handle request errors and pagination end

* Add date functions for templates and tests

* Add getRFC5988Link functionality to templates

* Switch between v1/v2 based on config flag

* Add cursor

* Add rate limit

* Put back original filebeat.yml

* Add deprecation warning for old httpjson version

* Add transform tests

* Initial doc changes

* Add more debug logs and split tests

* Ignore empty values on set and append

* Allow content type and accept override and change redirect default

* Add add and toInt functions

* Support array responses

* Add tests cases and minor changes

* Add changelog entry

* Do not copy mutex on delete transform

* Add PR suggestions:
  - Modify context done error log
  - Change is_v2 config bool for string config_version
  - Change retryable logger to be created from input logger

* Documentation fixes
  • Loading branch information
marc-gr authored Dec 4, 2020
1 parent 7f6b230 commit 47d8941
Show file tree
Hide file tree
Showing 38 changed files with 6,012 additions and 266 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,7 @@ from being added to events by default. {pull}18159[18159]
- Improve panw ECS url fields mapping. {pull}22481[22481]
- Improve Nats filebeat dashboard. {pull}22726[22726]
- Add support for UNIX datagram sockets in `unix` input. {issues}18632[18632] {pull}22699[22699]
- Add new httpjson input features and mark old config ones for deprecation {pull}22320[22320]

*Heartbeat*

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 47d8941

Please sign in to comment.