Skip to content

[Filebeat] httpjson - Allow response.pagination transforms to read .last_request.* #35887

@chrisberkhout

Description

@chrisberkhout

The enhancement:

Add .last_request.* to the list of things that the httpjson input's response.pagination transforms can read state from.

The existing list is: [.last_response.*, .first_event.*, .last_event.*, .cursor.*, .header.*, .url.*, .body.*].

A specific use case for the enhancement:

This would remove the need for the workaround used in the bugfix #6649 [ti_misp] Keep the same timestamp for later pages.

The workaround for not having direct access to the last request in the pagination transformers was to add an ignored query string parameter to the actual request, since the query string parameters could be accessed via .last_response.url.params.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions