Skip to content
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

Add event_generator tooling for 5.x indices #553

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

f-galland
Copy link
Member

Description

This PR implements a event_generator tool for missing indices:

  • fim
  • inventory-packages
  • inventory-processes
  • inventory-system

Since the command plugin's event generator was outdated and not working correctly, it received an update adapting it to the current status of the plugin.

It also includes improvements to existing event generators, replacing general warnings suppression to just urllib3 ones, and adding default value for the corresponding inputs. Example:

python agent/event-generator/event_generator.py 

How many events do you want to generate? 2
Do you want to inject the generated data into your indexer? (y/n) y
Enter the IP of your Indexer (default: '127.0.0.1'): 192.168.73.4
Enter the port of your Indexer (default: '9200'): 
Enter the index name (default: '.agents'): 
Username (default: 'admin'): 
Password (default: 'admin'): 

Related Issues

Resolves #518

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@f-galland f-galland marked this pull request as ready for review November 15, 2024 15:56
@f-galland f-galland requested a review from a team as a code owner November 15, 2024 15:56
@AlexRuiz7 AlexRuiz7 merged commit 39297f7 into master Nov 15, 2024
7 checks passed
@AlexRuiz7 AlexRuiz7 deleted the enhancement/518-events-generators-for-5.x-indices branch November 15, 2024 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Events generator for 5.x indices
2 participants