- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
03-19-2023 09:42 PM
Dear All,
I wanted to create a widget to display the details of Linux Operation Mode, can someone help me how I can start with, I am still a rookie in XQL Query.
TIA
03-20-2023 01:48 AM
Hi @VenuK
Thank you for wiritng to live community!
The endpoints dataset for XQL gives us the details on Linux operation mode.
Hence if you query by the following:
dataset=endpoints
| filter platform = ENUM.LINUX
| fields endpoint_name, endpoint_status, Linux_operation_mode
You can add more fields as per your choice
Hope this helps!
03-20-2023 01:54 AM
Hi @neelrohit , thank you for the example, let me use the query and develop my requirement and share you with the end result.
03-20-2023 02:17 AM
@neelrohit I am able to meet the requirement with the below one. Thank you for helping me to start off with.
dataset = endpoints
|filter platform = ENUM.LINUX
|filter endpoint_status = ENUM.CONNECTED or endpoint_status = ENUM.DISCONNECTED
|fields endpoint_name, endpoint_id, endpoint_status
|comp count(endpoint_name) as tally by endpoint_status
|view graph type = pie subtype = full xaxis = endpoint_status yaxis = tally
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!