icon/x Created with Sketch.

Splunk Cookie Policy

We use our own and third-party cookies to provide you with a great online experience. We also use these cookies to improve our products and services, support our marketing campaigns, and advertise to you on our website and other websites. Some cookies may continue to collect information after you have left our website. Learn more (including how to update your settings) here.
Accept Cookie Policy

We are working on something new...

A Fresh New Splunkbase
We are designing a New Splunkbase to improve search and discoverability of apps. Check out our new and improved features like Categories and Collections. New Splunkbase is currently in preview mode, as it is under active development. We welcome you to navigate New Splunkbase and give us feedback.

Accept License Agreements

This app is provided by a third party and your right to use the app is in accordance with the license provided by that third-party licensor. Splunk is not responsible for any third-party apps and does not provide any warranty or support. If you have any questions, complaints or claims with respect to this app, please contact the licensor directly.

Thank You

Downloading TA for Wunderground
SHA256 checksum (ta-for-wunderground_092.tgz) e8335ed58e5aa739758ed51d57b0d1c38ab3ef2b94f3208d5dad64657eda21f8 SHA256 checksum (ta-for-wunderground_09.tgz) 8f5cc3461efeafae00e27f6d9c545028c846613cda0f32af0b22f9ec11b532c4 SHA256 checksum (ta-for-wunderground_07.tgz) c2b90765e0eb86ffdbcd99516b4114c4ac37687632635edd6014899bf219ae6e SHA256 checksum (ta-for-wunderground_04.tgz) 0e5701d5aa23bdb9880674c1c8c70e3be4047ca16c3a7714d5cbce49aff1ab0d SHA256 checksum (ta-for-wunderground_03.tgz) 521468e9b05a74cd83486a2fbce96369d8b5f4dea413c76457e7b89adb0152ab SHA256 checksum (ta-for-wunderground_02.tgz) 8c415bc839378ed5ae9490094024d4429acbc850cb432dbb4929bbec89134d38 SHA256 checksum (ta-for-wunderground_01.tgz) 7e4fe607aa5b60fbec8ddca2855ed773c2e02c739e7f162bdc9891d71f2349bb
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate

splunk

TA for Wunderground

Overview
Details
THIS API IS NO LONGER VALID AND HAS BEEN SHUTDOWN

This TA is designed to pull in Wunderground weather data using the API. An API key is required and available here: http://www.wunderground.com/weather/api. Please read the README.txt for more detailed information on how to configure.

Steps

  1. Download this Modular Input
  2. Get a Wunderground API key at www.wunderground.com/weather/api/
  3. Install the Modular Input
  4. Configure the Modular Input with Data Inputs
  5. Enjoy Weather Data

NOTES

In the Readme.txt, it incorrectly states to use "state" for you conditions config. You must use "country" for both states and countries.

Example:
JSON Configuration (USA - Dallas, Texas): { "city": "Dallas", "country": "TX" }

Searching Data

Here are a few ways to search for your new Weather Data.

The default sourcetype is wunderground, and each input has it's own source in the style of wunderground:. Each different Wunderground API feature presents its data differently, but all of it is returned in JSON. The TA-wunderground automatically extracts the fields, so here are few examples with that knowledge.

Time Chart Some Stuff
Assuming you are using the api feature "conditions" here is a quick search that timecharts some of the returned data.

sourcetype=wunderground source=wunderground:city-conditions |timechart span=1h avg(relative_humidity) as RH avg(temp_f) as "Temp(f)" avg(wind_mph) as "Wind Speed (mph)"

Here is a search for a "current conditions" dashboard

sourcetype=wunderground source=wunderground:city-conditions|tail 1|stats latest(relative_humidity) as RH latest(current_observation.temp_f) as "Temp (F)"

And here's one for fun! (Thanks jspears!)

sourcetype="wunderground" source=wunderground:city-conditions weather!=NULL|timechart count by weather

Release Notes

Version 0.9.2
Feb. 11, 2015

This version removes Compatibility for Splunk 5.0. I fixed the historical download to have the ability to enter a date range. I removed the refresh interval parameter to avoid confusion post 6.x.

Version 0.9
April 19, 2014

Added the PWS option! Configure it like this: {"pws": "PWS_ID" } with the API Feature "PWS"!
Fixed the History Feature to properly consume data. From/To dates will be coming in next release.

Version 0.7
Oct. 7, 2013

Updated to fix compatibility with Splunk 6.0.

Version 0.4
Jan. 25, 2013

Changes the time parsing for current conditions. If observation epoch is present, will use that as the index time for more accurate statistics.

Version 0.3
Jan. 16, 2013

Removed the API key from the default inputs.conf. Replace with your own to see correct data.

Version 0.2
Nov. 8, 2012

Version 0.2

Fixed an exception issue with the API Url not being available. If the Wunderground API was unavailable, the Data Input's Python process would then exit with code 1. The Input will now retry 5 times with an exponential backoff. If the url is still unavailable, the Python process will go back to sleep for the configured time.

Updated the reference in the schema to point to the proper README.txt file.

Version 0.1
Oct. 31, 2012

Subscribe Share

Are you a developer?

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 from Splunk, our partners and our community. Find an app for most any data source and user need, or simply create your own with help from our developer portal.

Follow Us:
Splunk, Splunk>,Turn Data Into Doing, Data-to-Everything, and D2E are trademarks or registered trademarks of Splunk Inc. in the United States and other countries. All other brand names,product names,or trademarks belong to their respective owners.