Based on my blogs post
I came up with the idea to create this app, which enables/provides embedded
dashboards for Splunk (EDFS).
Please note this app is provided as is, and you need to make sure that your
environment is secured.
What this app does?
The app will provide new TCP port[s] that one can connect to, and automagically
gets authenticated as the configured user in Splunk.
Please be aware this app sets
to understand this option. The configured options in
web.conf are explained
in detail in the blog post linked at the top.
The configured EDFS dashboards are only accessible from the configured IP.
The app blocks any HTTP POST requests other then searches, so the EDFS port
cannot be used to change settings.
Install as usual in the Splunk web or copy into $SPLUNK_HOME/etc/apps and
default/server.conf to the
local folder and
uncomment the options in
server.conf, this had to be done to
pass the Splunk Appinspect test.
local/ and use the provided stanza as template.
Configure the Splunk user with the least possible permissions (Make everything
read-only ), make a separate app, add the dashboard you want to show as the
default dashboard for the app.
Configure the EDFS inputs using the Splunk web in the inputs section. You need
to configure the Splunk user that will be authenticated, the port Splunk will
listen on, and the IP that is allowed to connect to the port.
Currently there is no debug option in the app, but the app logs all connections
- the script some times continues to run, even when the input is disabled
- to prevent issues around the cookies passed by Splunk, it is best to run
private browser windows if you are testing on your computer.
This is an open source project, no support provided, but you can ask questions
on answers.splunk.com and I will most likely answer it.
Github repository: https://github.com/M-u-S/TA-EDFS
I validate all my apps with Appinspect and the log can be found in the README
folder of each app.
Things to-do / Future ideas
29. Oct 2018 : 0.1.0 / Initial
21. Feb 2019 : 0.1.1 / Fixed some issues
Splunk AppInspect evaluates Splunk apps against a set of Splunk-defined criteria to assess the validity and security of an app package and components.
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.