Skip to content

Looking for sampling feature as packetbeat is sending too much traffic over network #1721

@harshamadala

Description

@harshamadala

Raising issue here to discuss more about sampling code implementation
Previous discussion in post:
https://discuss.elastic.co/t/is-there-any-way-to-do-data-sampling-at-client-side/50428/8?u=harshafrnd4u

Since packetbeat is doing lot of work to prepare a event with all fields, Is there any way we can design for it to randomly sample or sample based on some frequency like (send one event out of every ten events). May be we can enhance using drop_events but it would be better if we can drop before preparing event with fields.

Please guide me where can I add this kind of functionality in packetbeat.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions