-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
filebeat benchmark input and discard output #37437
Conversation
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
This pull request is now in conflicts. Could you fix it? 🙏
|
1 similar comment
This pull request is now in conflicts. Could you fix it? 🙏
|
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
c93621f
to
b63732a
Compare
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
b63732a
to
454f115
Compare
e8f8b7b
to
436351a
Compare
This pull request is now in conflicts. Could you fix it? 🙏
|
436351a
to
629c19e
Compare
💚 Build Succeeded
History
cc @leehinman |
💚 Build Succeeded
History
cc @leehinman |
💚 Build Succeeded
History
cc @leehinman |
💚 Build Succeeded
History
cc @leehinman |
💚 Build Succeeded
History
cc @leehinman |
💚 Build Succeeded
History
cc @leehinman |
💚 Build Succeeded
History
cc @leehinman |
💚 Build Succeeded
History
cc @leehinman |
💚 Build Succeeded
History
cc @leehinman |
💚 Build Succeeded
History
cc @leehinman |
f68f628
to
6026da3
Compare
6026da3
to
3c80f56
Compare
simple input that generates synthetic events, useful for benchmarking outputs
f8ae3fd
to
497c8c6
Compare
Proposed commit message
filebeat benchmark input and discard output
benchmark is simple input that generates synthetic events, useful for benchmarking outputs or for providing load on outputs.
The message of each event is set in the config file. Event duplication is avoided with the
thread
,line
andfilename
fields. Each go routine that generates an event sets a uniquethread
field. Within each each thread, every event that is generated increments theline
field. Theline
field is a uint64, if the max is reached then thefilename
field is incremented andline
is reset to 0.The default behavior is to generate events as quickly as possible until filebeat is stopped. Optionally you can set the
count
option, which will generate that number of events and then stop. Or you can use theeps
option which allows you to set an events generated per second.discard is a simple output that throws the data away, but records in the metrics that an event was successfully sent.
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Author's Checklist
How to test this PR locally
In
filebeat.yml
add:This should result in events with the
message
field set to "uninspried test message", generated as quickly as possible until filebeat is stopped.Related issues
Use cases
Screenshots
Logs