Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/malvads/logstash-filter-openweathermap
Get data from openweathermap
https://github.com/malvads/logstash-filter-openweathermap
Last synced: 18 days ago
JSON representation
Get data from openweathermap
- Host: GitHub
- URL: https://github.com/malvads/logstash-filter-openweathermap
- Owner: malvads
- License: agpl-3.0
- Created: 2024-03-08T10:02:23.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-04-02T09:15:00.000Z (9 months ago)
- Last Synced: 2024-10-18T13:20:06.543Z (2 months ago)
- Language: Ruby
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Logstash OpenWeatherMap Plugin
This is a plugin for [Logstash](https://github.com/elastic/logstash).
## Developing
### 1. Plugin Developement and Testing
#### Code
- To get started, you'll need JRuby with the Bundler gem installed.- Clone from the GitHub [logstash-input-openweathermap](https://github.com/malvads/logstash-input-openweathermap)
- Install dependencies
```sh
bundle install
```#### Test
- Update your dependencies
```sh
bundle install
```- Run tests
```sh
bundle exec rspec
```### 2. Running your unpublished Plugin in Logstash
#### 2.2 Run in an installed Logstash
You can use the same **2.1** 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
```sh
gem build logstash-input-openweathermap.gemspec
```
- Install the plugin from the Logstash home
```sh
# Logstash 2.3 and higher
bin/logstash-plugin install --no-verify# Prior to Logstash 2.3
bin/plugin install --no-verify```
- Start Logstash and proceed to test the plugin## Contributing
All contributions are welcome: ideas, patches, documentation, bug reports, complaints, and even something you drew up on a napkin.
Programming is not a required skill. Whatever you've seen about open source and maintainers or community members saying "send patches or die" - you will not see that here.
It is more important to the community that you are able to contribute.