GithubHelp home page GithubHelp logo

isabella232 / connect_openweatherapi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from splunk/connect_openweatherapi

0.0 0.0 0.0 18 KB

This repository is an Add-on for Splunk to be able to pull in data from the API at https://openweathermap.org/

License: Apache License 2.0

Python 100.00%

connect_openweatherapi's Introduction

Connect Openweathermap API to Splunk

Copyright 2020 Splunk, Inc.

This app is used to collect Openweathermap API Data.

Requirements

In order to use this app, you will still need to agree and follow Openweathermap API Rules and sign-up for an account on their system. More information on that here: https://openweathermap.org/api

Installation

  1. Clone the app into $SPLUNK_HOME/etc/apps/
  2. Modify $SPLUNK_HOME/etc/apps/connect_openweatherapi/bin/get_one_api_call.py
  • Modifying this file means adjusting your specific lat/lon and adding in your specific API Key inside of the get_one_api_call.py file.
#lat/lon
#Uncomment these lines for Staten Island NY
#lat = "40.643501"
#lon = "-74.076202"

#api_key
api_key=""
  1. Enable the Scripted Input via the Splunk GUI.

Scripted Input

By default, the scripted input will run once every 10 minutes. There is no need to increase this as Openweathermap API Only updates once every 10 minutes. Setting this any more frequent is at your own discretion.

Future State/Plans

Package this app with Add-on Builder for an even easier/more secure setup process.

connect_openweatherapi's People

Contributors

ryanwoconnor avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.