|
I was wondering if it were possible to use $variable$ items in workflow actions that you have stored in a custom config file, or is it limited to backend scripts and *_renderers. If it is possible, how does one go about referencing them? |
|
After perusing through the various Splunk.* javascript libraries, I think the answer is "no" so as a workaround one can do the following and achieve the desired effect. Add a ServerSideInclude module in your view
Then, in the include.html (which should reside in your apps appserver/static/ directory) you can include the following code which leverages internal splunk stuff that I found in various source files.
Your app specific config file, in this case myapp.conf is located at local/myapp.conf and the contents of it are populated into the Sample contents of local/myapp.conf
The end result of this is that you can get creative in your Still interested to know if there is a better way to go about getting those custom configs. |
