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) 9b8662b94a9bd53509fd990d7db809598b4da9a26a453bbaa21630e89e767933 SHA256 checksum (ta-for-wunderground_09.tgz) 96ca143464e16ef7bc2b971989a78981177daa8a7d2fa6cd788b15e4e1fdc6a5 SHA256 checksum (ta-for-wunderground_07.tgz) ae474168bd1e21c07261e9f1ef4799040d9223faa286dac8d1d4a9e1fa011454 SHA256 checksum (ta-for-wunderground_04.tgz) 0102d40d67a3420948dcaa487b17db334670656809b467ef9b9837f248d2a2b9 SHA256 checksum (ta-for-wunderground_03.tgz) 0eb78d9b73a5ae71f761772e0aaec3c8260845aaca40d206155f1158652ad4b9 SHA256 checksum (ta-for-wunderground_02.tgz) 05da8e6301a6a0cc0e847719281398212b97e71c7ef5e1d359e9886cf3dc4153 SHA256 checksum (ta-for-wunderground_01.tgz) 6dc855d882ef24e0241309b953c36164cec94bc396a902b3077d706d88bbaf8b
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

This app has been archived. Learn more about app archiving.
This app is NOT supported by Splunk. Please read about what that means for you here.
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.