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 InfluxDB Connect
SHA256 checksum (influxdb-connect_173.tgz) e3bd69ab4ef79f60e8f37d8c70c04452c69e2fe1f5bda768f74d3263443a3970 SHA256 checksum (influxdb-connect_172.tgz) aba5eb6a70cdded812dcd206f986dab4799d69ff8b4b61c0ff30f13e6298bd20
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate

splunk

InfluxDB Connect

Overview
Details
InfluxDB Connect allows to export data from Splunk to InfluxDB (an open source time series database)
What is InfluxDB Connect?

A splunk app that facilitates sending data from Splunk to InfluxDB(an open source time series database)

Where should InfluxDB Connect reside?

On the Splunk Search Head

How does it work?
  1. User will create/setup influxDB instances by providing an instance name, hostname/ipaddress, port, database, influxdb access credentials (user and password). This is facilitated via influx_configs.
  2. Once instances are available, user will setup scheduled searches in the required format to extract data from Splunk. This is facilitated via influx_searches.
  3. The scheduled searches will trigger a python script that will read the dispatch and port the data to the respective influxDB instance.
  4. The influxDB instances can be managed at influxdb_instances.
InfluxDB Data structure
  1. Data in InfluxDB resides within Databases. In Influxdb_Connect each instance directly points to an influxdb database.
  2. The data in influxdb databases can be further spread across various “measurements”. In influxdb_connect the “measurement” can be specified when you setup your searches under influx_searches.
  3. If a measurement is not existent in the influxdb database (influxdb_connect instance), then it will be automatically created after the first run of the search.
  4. Each measurement consists of TimeStamp, Values and Tags.
  5. From a splunk data export standpoint, the result of the splunk search needs to be presented in terms of timestamp, values and tags. This is accomplished per the syntax below.
Splunk Search Syntax for Influxdb_Connect
  1. Time needs to passed on in unix format (milliseconds) and prefixed with “ts_”
  2. All fields that needs to be identified as values need to be prefixed with “val_”
  3. All fields that are strings and need to be identified as values need to be prefixed with “valst_”
  4. Ideal to make sure your results are sorted by time

Eg:
index=internal earliest=-1m latest=@m per_index_thruput series="*"|rename kbps as val_kbps, eps as val_eps, ev as val_ev|eval ts_time = _time * 1000|table ts_time,series,host,val_kbps,val_eps,val_ev|sort ts_time|head 10

https Support
  • From version 1.7 writes to influxdb on https is supported.
  • Include the prtotocol and port information under influx_configs tab as https:port. Eg. https:8089
  • Providing just the port will be processed as http. Eg: 8086
App Release Status

This is the first release, tested with splunk 6.3 and influxDB v0.12 on Linux and Windows. The functionality is limited to running formatted searches and exporting the data to InfluxDB instance. The app has also been tested successfully with influxDB relay server.

NOTE
  • InfluxDB host should be accessible from the splunk host on the provided port.
  • InfluxDB access credentials should have write privileges on the respective databases.
  • Currently the app does not support sending data to influxdb over ssl
  • All time on InfluxDB side is stored in UTC.
  • The validations are very basic (ensure that proper data is entered while configuring the app)
  • When saving searches, ensure any search artifacts related to the search are available from within influxdb_connect app
  • Do not rename the saved searches created by the app
Troubleshooting
  1. The app logs information to influxdbmod.log (located at SPLUNK_HOME/var/log/splunk).
  2. For any questions or help with issues, please post on “Splunk Answers” I will check daily and will try to address them at the earliest possible.

Release Notes

Version 1.73
Oct. 5, 2018

--Default logging set to error
--Updated icons & File Permissions
--https write to influxdb enabled
--Alert changed from scripted to custom alert

Version 1.72
Oct. 1, 2018

--Updated icons & File Permissions
--https write to influxdb enabled
--Alert changed from scripted to custom alert


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.