Hi all,
I've searched for an answer to this and it seems like a lot of the answers are applicable to older versions of Splunk. Anyway, I'm new to advanced XML and I was wondering if there was an exhaustive list of modules with parameters and items. The reason I'm after this is b/c of parts of the XML that I'd like to know what it's actually doing. For example,
<module name="ViewstateAdapter">
<param name="suppressionList">
<item>raw.drilldown</item>
<item>maxLines</item>
<item>table.wrap</item>
<item>drilldown</item>
<item>table.drilldown</item>
<item>count</item>
<item>dataOverlayMode</item>
<item>list.wrap</item>
<item>rowNumbers</item>
<item>wrap</item>
<item>list.drilldown</item>
<item>type</item>
</param>
<module name="HiddenFieldPicker">
<param name="strictMode">True</param>
<module name="JobProgressIndicator"/>
<module name="Paginator">
<param name="count">10</param>
<param name="entityName">results</param>
<module name="EnablePreview">
<param name="display">False</param>
<param name="enable">True</param>
The best information I can find about say the ViewstateAdapter module is the following.
Splunk.Module.ViewstateAdapter extends Splunk.Module
Injects settingsMap settings contained within a viewstate set into the current module branch
Parameters
- savedSearch (no description available)
- suppressionList (no description available)
- viewstateId (no description available)
And this is just an example however I have found this with a few different modules that I'd like to know more about. Another thing that I'd really like to know about is the header of an xml view (specifically what I've bolded),
The best module documentation I've found comes shipped with the SideviewUtils app. It describes ViewstateAdaptor at http://localhost:8000/en-US/modules#Splunk.Module.ViewstateAdapter as:
Injects settingsMap settings contained within a viewstate set into the current module branch
Parameters
savedSearch
(no description available)
suppressionList
(no description available)
viewstateId
(no description available)
Defined in $SPLUNK_HOME/share/splunk/search_mrsparkle/modules/results/ViewstateAdapter.js
This is not a good example (other modules are much more complete), but it tells you where the code is, which is always the most accurate documentation.
As for your XML header question, I couldn't see any bolded text.
The answer at http://answers.splunk.com/answers/95177/view-tag-parameters-list appears to address those attributes well.
oh sorry.. the following is the part I'm unsure about but again I'd really just like to know where I can see all of the different options to include in the header.
autocancelinterval="90" onunloadcanceljobs="true" refresh="-1"
Also, I'll check out the code. Maybe that will help. I've been using the SideviewUtils app and it's been good for some modules but not all.