Appserver resources

Outside of views and navigation, there are a number of resources that the web application will use. For instance, applications and dashboards can reference CSS and images, as we did in Chapter 8, Working with Apps. These resources are stored under $SPLUNK_HOME/etc/apps/$appname/appserver/. There are a few directories that appear under this directory, as follows:

  • static: Any static files that you would like to use in your application are stored here. There are a few magic documents that Splunk itself will use, for instance, appIcon.png, screenshot.png, application.css, and application.js. Other files can be referenced using includes or templates. See the Using ServerSideInclude in a complex dashboard section in Chapter ...

Get Implementing Splunk 7 - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.