OpenWeather Current Add-On for Splunk consists in a modular input that allows collecting current weather events from a specific location using the following methods: CityID, ZipCode, or Geolocalization (latitude, longitude).
Uses the Weather API for current weather data, and requires a valid OpenWeather API key. The free license allows up to 60 calls per minute.
This add-on uses the included sourcetype openweather:current:json for the collected events. The event timestamp is set after the dt field in the event data.
Download and install directly from Splunk, or download from Splunkbase and untar the package in $SPLUNK_HOME/etc/apps/ directory.
Go to the OpenWeather Current Add-On for Splunk in the Splunk Enterprise menu and access the configuration section where you have to add the OpenWeather account with the associated API key as password.
Next we need to configure an modular input in the Inputs section, here we need to define the index where Splunk is going to collect the events and the Interval for collection. It is recommended that you create a dedicate index for this data.
Also is required to specify a localization method and fill the value field from this method. The available localization methods are: CityID, ZipCode, or Geolocalization (latitude, longitude), with the following values:
CityID: value: <city_id>. Example: 12345
ZipCode: value: <zip_code>,<country_code>. Example: 1234,cn
Geolocalization: value: <lat>,<lon>. Example: -12.34,56.78
The units of measurement setting allows to select one of the following options:
standard: temperature in Kelvin.
metric: temperature in Celsius.
imperial: temperature in Fahrenheit.
1.0.0 : Release version
As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 10GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps and add-ons from Splunk, our partners and our community. Find an app or add-on for most any data source and user need, or simply create your own with help from our developer portal.