Code Monkey home page Code Monkey logo

Comments (5)

superadm1n avatar superadm1n commented on August 23, 2024

Im not sure if SWQL ever supported a wildcard, per the article at https://support.solarwinds.com/SuccessCenter/s/article/Use-SolarWinds-Query-Language-SWQL it states the following.

swql

Based on this information you will need to specify the columns you want to pull explicitly, see the example below.

SELECT NodeID, IPAddress, Caption FROM Orion.Nodes

I have tested both in SWQL studio and in Python3 and that is the case in each instance. I believe (might be incorrect) this is because how the SWQL language was designed and implemented and is expected behavior.

from orionsdk-python.

steezermcfresh avatar steezermcfresh commented on August 23, 2024

This is very helpful...thank you. I can now at least look at this documentation to see the available properties for the SWQL. I honestly didn't even know it was called "SWQL" and thought the querying through python was an identical wrapper for regular SQL...maybe I'm remembering wrong and the wildcard '*' didn't used to work in the past.

Anyways, thanks for sharing that link to the SWQL documentation, I never knew it existed.

from orionsdk-python.

superadm1n avatar superadm1n commented on August 23, 2024

Your welcome, another useful tool that I use all the time to help construct different queries and exploring the data and operations available via SWQL is SWQL Studio, you can download it here.

https://github.com/solarwinds/OrionSDK/releases

I highly recommend it as I have found it speeds up the process of developing the correct query your looking for.

from orionsdk-python.

steezermcfresh avatar steezermcfresh commented on August 23, 2024

I will try it out, thanks.

from orionsdk-python.

danjagnow avatar danjagnow commented on August 23, 2024

It looks like this question has been addressed, so I'm going to close out the issue.

from orionsdk-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.