Skip to content

Commit

Permalink
[filebeat][httpjson] Initial implementation of httpjson v2 (#22320) (#…
Browse files Browse the repository at this point in the history
…22920)

* 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

(cherry picked from commit 47d8941)
  • Loading branch information
marc-gr authored Dec 9, 2020
1 parent b6c5f86 commit 385f9e3
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 @@ -478,6 +478,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Improve Nats filebeat dashboard. {pull}22726[22726]
- Add support for UNIX datagram sockets in `unix` input. {issues}18632[18632] {pull}22699[22699]
- Add `http.request.mime_type` for Elasticsearch audit log fileset. {pull}22975[22975]
- 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 385f9e3

Please sign in to comment.