There is a function of SWQL to create report , but what will come under "Definition" to create a report through this function ? tdanner benaustin Josh Stephens
Any chance you can provide a screenshot to illustrate what you mean?
This can be used to import a report that you have exported from another Orion instance, but it is not intended for creating new reports from scratch. The "definition" is a pretty complex XML blob - there's no documentation for that format.
tdanner SO definition is also required to create report through the create report function , and if definition is not fixed , how will i accomplish this task ?
hey , in the definition field, i don't know what to enter.josh.haberman
The recommended way to create new reports is through the website GUI. What are you trying to do?
tdanner my task is to create report through Power shell using SWQL function if possible.
Yes, but why? Is there some reason these reports can't be created through the GUI?
Just to throw this out there. I would create a report using the website gui and then export the report you created to get the xml. Then try to figure out what fields you would need to have put there. Not sure how difficult that is with reports but we were pretty successful doing this with UnDPs when we had a long list of pollers we needed to add.
EDIT: The xml for the reports seems quite a bit more complex so probably not such a good idea after all.
tdastrup
Reports can be created through GUI , but i have a task in which i have to create report from a script rather than GUI which seems not possible i guess because of the complex XML that is created by the Solarwinds GUI
jeilers
yes i tried this too but the XML is too complex to understand and then altering it is even more of a difficult task.