Forum Discussion
skylaurman
Employee
Here is a way to get a list of the wild values:
def listOfWildValues = datasourceinstanceProps.values().collect { it.wildvalue }
Here is a way to do as you wish with the wild values:
datasourceinstanceProps.each { instance, instanceProperties ->
instanceProperties.each {
it ->
def wildValue = it.wildValue
// Do something with wild value
}
}
Anonymous
5 months agoThis is the right answer. Could someone at LM please put in a DOC ticket to get this published into the support documentation or the dev guide?
- skylaurman3 months agoEmployee
Documentation has been updated to include examples: https://www.logicmonitor.com/support/logicmodules/datasources/data-collection-methods/batchscript-data-collection
- skylaurman5 months agoEmployee
Yes, we will get this added to the support documentation.
Related Content
- 11 months ago
- 11 months ago
- 3 months ago
- 8 months ago