-
Notifications
You must be signed in to change notification settings - Fork 203
[Blocked] Add test for running Log input as Filestream in Beatsreceivers #11155
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
base: main
Are you sure you want to change the base?
Conversation
|
This pull request is now in conflicts. Could you fix it? 🙏 |
|
This pull request does not have a backport label. Could you fix it @belimawr? 🙏
|
|
This pull request is now in conflicts. Could you fix it? 🙏 |
…gent into log-run-as-filestream
|
|
|
This pull request is now in conflicts. Could you fix it? 🙏 |
|
Keeping CI green is a moving target with all the recent test flakiness and conflicts in I'll keep this PR as is until elastic/beats#46587 gets merged and I can put this PR in its final form. |
What does this PR do?
This PR updates the Beats dependency to a version that can run the Filestream input for a Log input configuration and adds a test for this functionality in Beats receivers.
Why is it important?
It allows us to run the Filestream input instead of the Log input for a Log input configuraiton
Checklist
I have made corresponding changes to the documentationI have made corresponding change to the default configuration filesI have added an entry in./changelog/fragmentsusing the changelog toolAuthor's Checklist
dev-tools/notice/overrides.jsongo.modtesting/integration/ess/logfile.gowith the functionality provided by Add TempDir and NewLogFile test utilities elastic-agent-libs#369## Disruptive User ImpactHow to test this PR locally
Running integration tests
Run the test:
TestFilebeatReceiverLogAsFilestreamfromtesting/integration/ess/otel_log_as_filestream_test.goManual test
Run the Elastic Agent in Otel mode setting
features.log_input_run_as_filestream.enabled: truefor the filebeatreceiver you want to test.Here is an example configuration:
otel.yml
Related issues
Questions to ask yourself