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

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 COAP Modular Input
SHA256 checksum (coap-modular-input_112.tgz) af988a53939f08045011f6ea5f8beb6d7f7b6e4c5ae1f54afd6fb1e1872058d2 SHA256 checksum (coap-modular-input_111.tgz) b627a5ec6474521ea8632905a276f78ce1a696fd186a1d7559924a3fa2ea5112 SHA256 checksum (coap-modular-input_11.tgz) 86a2c4e09f71ff0da6f36522f114554e0bc7ef88700148a8ca1a880f02ae6c0e SHA256 checksum (coap-modular-input_10.tgz) 2172cd336feba71ce528630973adbea3581b865464088a821b71faebc236760c SHA256 checksum (coap-modular-input_09.tgz) 38f2139ef04680469143f3ee444dfccf76a30e3036bc29cc5c4982ccc5aa3738 SHA256 checksum (coap-modular-input_08.tgz) 8138e8d6b72e6331c36913e201c45493baaa84146b772f0ba723b77c1bd9ced9 SHA256 checksum (coap-modular-input_07.tgz) bc4b5bbd5f15023a67e8b60d49b5462d8f77c15056c5d030d70ebdc67894daca SHA256 checksum (coap-modular-input_06.tgz) e6fe334172838de1f9476a5478a841228678dabd9b112a0b213505f4d4f4dcda SHA256 checksum (coap-modular-input_05.tgz) 19bb8fc58a6d5769c53a422163dbe35d288bd6a0bc46811263df179b4509589c
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate

COAP Modular Input

This is a Splunk Modular Input Add-On for indexing messages from a COAP (Constrained Application Protocol) Server.

Splunk COAP (Constrained Application Protocol) Modular Input v1.1.2


This is a Splunk Modular Input Add-On for indexing messages from a COAP Server.

What is COAP ?





This Modular Input utilizes the Californium Java client library version 1.0 , https://eclipse.org/californium/


  • Splunk 5.0+
  • Java Runtime 1.7+
  • Supported on Windows, Linux, MacOS, Solaris, FreeBSD, HP-UX, AIX


  • Optionally set your JAVA_HOME environment variable to the root directory of your JRE installation.If you don't set this , the input will look for a default installed java executable on the path.
  • Untar the release to your $SPLUNK_HOME/etc/apps directory
  • Restart Splunk
  • If you are using a Splunk UI Browse to Settings -- Data Inputs -- COAP to add a new Input stanza via the UI
  • If you are not using a Splunk UI (ie: you are running on a Universal Forwarder) , you need to add a stanza to inputs.conf directly as per the specification in README/inputs.conf.spec. The inputs.conf file should be placed in a local directory under an App or User context.

Activation Key

You require an activation key to use this App. Visit http://www.baboonbones.com/#activation to obtain a non-expiring key


Any log entries/errors will get written to $SPLUNK_HOME/var/log/splunk/splunkd.log

These are also searchable in Splunk : index=_internal error coap.py

JVM Heap Size

The default heap maximum is 64MB.
If you require a larger heap, then you can alter this in $SPLUNK_HOME/etc/apps/coap_ta/bin/coap.py on line 95

JVM System Properties

You can declare custom JVM System Properties when setting up new input stanzas.
Note : these JVM System Properties will apply to the entire JVM context and all stanzas you have setup

Customized Message Handling

The way in which the Modular Input processes the received COAP messages is enitrely pluggable with custom implementations should you wish.

To do this you code an implementation of the com.splunk.modinput.coap.AbstractMessageHandler class and jar it up.

Ensure that the necessary jars are in the $SPLUNK_HOME/etc/apps/coap_ta/bin/lib directory.

If you don't need a custom handler then the default handler com.splunk.modinput.coap.DefaultMessageHandler will be used.

Code examples are on GitHub : https://github.com/damiendallimore/SplunkModularInputsJavaFramework/tree/master/coap/src/com/splunk/modinput/coap


  • JAVA_HOME environment variable is set or "java" is on the PATH for the user's environment you are running Splunk as
  • You are using Splunk 5+
  • You are using a 1.7+ Java Runtime
  • You are running on a supported operating system
  • Look for any errors in $SPLUNK_HOME/var/log/splunk/splunkd.log
  • Run this command as the same user that you are running Splunk as and observe console output : "$SPLUNK_HOME/bin/splunk cmd python ../etc/apps/coap_ta/bin/coap.py --scheme"


This project was initiated by Damien Dallimore , damien@baboonbones.com

Release Notes

Version 1.1.2
May 10, 2019

cosmetic fixes

Version 1.1.1
April 23, 2019

updated docs

Version 1.1
April 19, 2019

added trial key functionality

Version 1.0
March 28, 2019

docs updated

Version 0.9
June 3, 2018

minor manager xml ui tweak for 7.1

Version 0.8
May 27, 2018

Added an activation key requirement , visit http://www.baboonbones.com/#activation to obtain a free,non-expiring key
Docs updated
Splunk 7.1 compatible

Version 0.7
Nov. 24, 2015

Minor HEC data handling tweaks

Version 0.6
Sept. 22, 2015

Added support to optional output to Splunk via a HEC (HTTP Event Collector) endpoint

Version 0.5
April 22, 2015

Initial beta release


Subscribe Share

AppInspect Tooling

Splunk AppInspect evaluates Splunk apps against a set of Splunk-defined criteria to assess the validity and security of an app package and components.

Are you a developer?

As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 50GB 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.

Follow Us:
© 2005-2019 Splunk Inc. All rights reserved.
Splunk®, Splunk>®, Listen to Your Data®, The Engine for Machine Data®, Hunk®, Splunk Cloud™, Splunk Light™, SPL™ and Splunk MINT™ are trademarks and 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.