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 Diode Sender Add-On
SHA256 checksum (diode-sender-add-on_11.tgz) 1e742bad593c46252de87fc1c0098071670e8a00b82cd78995ae80753b712570 SHA256 checksum (diode-sender-add-on_10.tgz) 4f91743600ffad1951f12d72138e7dae2fe640f38acd9585670b0056ca0581c6
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate

Diode Sender Add-On

Overview
Details
This Add-On works together with the Diode Receiver Add-On (https://splunkbase.splunk.com/app/4262/)

It is designed to send data between Splunk servers that can pass through a data diode, while preserving the Splunk metadata.

The sender will encapsulate Splunk metadata like sourcetype, source, host, _time into the _raw message which can then be forwarded over UDP or TCP. The receiver will unpack this and populate the metadata fields as well and restore the _raw to its original state.

The output for syslog over TCP and UDP sent on the wire will look like this:

<42>Oct 29 19:12:45 diode-sender t=1540825965|st=splunkd|s=/opt/diode/splunk-sender/var/log/splunk/metrics.log|h=diode-sender|r=10-29-2018 19:12:45.746 +0400 INFO  Metrics - .....`

outputs.conf

Keep the syslog PRI code and hostname and timestamp to stick to the syslog RFC. Some diodes check format.
The PRI code is 42 for obvious reasons.

This syslog-stanza MUST be called 'diode-syslog-tcp' and is referenced in transforms.conf
PRO: Can handle larger events
CON: Not always supported by diode

Create a local/outputs.conf:

[syslog:diode-syslog-tcp]
disabled = false
server = 127.0.0.1:6003
type = tcp
priority = <42>
timestampformat = %b %e %H:%M:%S

PRO: Always works
CON: limited to MTU size
This syslog-statement MUST be called 'diode-syslog-udp' and is referenced in transforms.conf

Create a local/outputs.conf:

[syslog:diode-syslog-udp]
disabled = false
server = 127.0.0.1:6004
type = udp
priority = <42>
timestampformat = %b %e %H:%M:%S

props.conf

In props.conf edit the sourcetypes you want to forward, or use default

Sample local/props.conf:

[default]
TRANSFORMS-diode-1-rewrite=add_host, add_source, add_sourcetype, add_time
TRANSFORMS-diode-2-outputs=send-to-syslog-udp

Release Notes

Version 1.1
Oct. 29, 2018

1.1 Updated transforms, documentation, etc.

Version 1.0
Oct. 24, 2018

* First release

3
Installs
31
Downloads
Share Subscribe LOGIN TO DOWNLOAD

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-2018 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.