Thanks for this post. I tried for my scenario and it works. I was looking for extracting disabled status from the alerts and I used parseString instead of parse and "response.text" is the POST response. Example: response=request.post(http://xxx.x.x.x:8089/servicesNS/nobody/search/saved/searches/$ALERT$/disable) import xml.dom.minidom dom=xml.dom.minidom.parseString(response.text) keys=dom.getElementsByTagName( 's:key' ) for n in keys: if n.getAttribute( 'name' ) == 'disabled' : Status=print(n.childNodes[ 0 ].nodeValue)
... View more
I am planning to create tabs in multiple rows and the first tab in each row should be "Active" , (meaning as soon as the dashboard loads, the Active tabs from each row should display panels under it).
Row1: Tab1(Active), Tab2, Tab3, Tab4
Row2: Tab5(Active), Tab6, Tab7
I was successful in creating the tabs for all the three rows and also i linked the panels to each respective tabs.
The issue i am facing is, when i am specifying "li class="active" for Tab 1 , it works and it shows the panels under it as soon as the dashboard loads.
But, when i am repeating the same for Tabs5 & Tabs8, it is not working for them (meaning the panels under it don't show up until the selection is made, which it shouldn't be the case).
Seems like the scripts or the dashboard is taking only Tab1 into consideration for the "Active" part.
I am using the tabs.js and tabs.css scripts from "making a tabs in splunk" page.
Any suggestions or help would be really helpful.
... View more