This is a plugin for Logstash.
It is fully free and fully open source. The license is Apache 2.0, meaning you are pretty much free to use it however you want in whatever way.
Logstash provides infrastructure to automatically generate documentation for this plugin. We use the asciidoc format to write documentation so any comments in the source code will be first converted into asciidoc and then into html. All plugin documentation are placed under one central location.
- For formatting code or config example, you can use the asciidoc
[source,ruby]directive - For more asciidoc formatting tips, see the excellent reference here https://github.com/elastic/docs#asciidoc-guide
Need help? Try #logstash on freenode IRC or the https://discuss.elastic.co/c/logstash discussion forum.
- A Domo Account
- A ClientID and Client Secret associated with a Domo App that has Data scope
- Docker
- JRuby 9.1.13.0
- Version 1.17.2 of the Bundler gem
- make
- Install dependencies and build the Docker images
make libbuild
make buildBefore testing for the first time copy testing/rspec_settings.yaml.example to testing/rspec_settings.yaml and populate it with your Client ID and Client Secret.
make testThe Makefile can dynamically pass arguments to rspec in the Docker container based on the following environment variables:
RSPEC_TAGS- A space separated list of tags to pass via the--tagrspecswitch.RSPEC_ARGS- A space separated list of arbitrary arguments to pass torspec.--should be excluded from the args.KEEP_FAILED_DATASETS- If this environment variable exists at all, then Datasets on failing tests will NOT be deleted.
Any combination of the above variables can be exported before running make test. If not, then all rspec tests will be run with default arguments.
If you're really curious/adventurous feel free to review the Makefile
- You'll need at least one Redis instance to connect to for the queue.
- You'll want to review the various configuration options for the plugin.
- Edit Logstash
Gemfileand add the local plugin path, for example:
gem "logstash-output-domo", :path => "/your/local/logstash-output-domo"- Install plugin
bin/logstash-plugin install --no-verify- Run Logstash with your plugin
bin/logstash -e 'output {domo {}}'At this point any modifications to the plugin code will be applied to this local Logstash setup. After modifying the plugin, simply rerun Logstash.
You can use the same 2.2 method to run your plugin in an installed Logstash by editing its Gemfile and pointing the :path to your local plugin development directory or you can build the gem and install it using:
- Build your plugin gem
gem build logstash-output-domo.gemspec- Install the plugin from the Logstash home
bin/logstash-plugin install /your/local/plugin/logstash-output-domo.gem- Start Logstash and proceed to test the plugin
Pull requests are more than welcome. Just follow the standard pull request procedure (clone, branch, and request). ALL unit tests must pass for a pull request to be considered for review.
Do note that this plugin was developed first and foremost for our company's internal usage. We chose to make this open source to keep with the spirit of Elastic's open source model, not so we could spend a lot of time providing support to plugin users. As such, we cannot provide any guarantees on how long it will take to approve pull requests or review bugs.
Do NOT reach out to our company's support regarding issues with this plugin. Please instead create an Issue on Github.