How to write RQL to check the log activity/operations with respect any host name of the resource??

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

How to write RQL to check the log activity/operations with respect any host name of the resource??

L2 Linker

Is there a way to write RQL to check the traffic towards that resource/to know the operations/activity details with respect to particular resource host name?In the circumstances where we are not aware of the cloud type??and if can't atleast with cloud type details?

 

Ex:-event where ip in (x.x.x.x) similar to this can we give with respect to resource?

 

Expected would somebody might be helped me on this request??

 

 

2 REPLIES 2

L2 Linker

I have tried like this but not getting any thing though query might correct.

 

config where api.name = 'azure-resource-group' AND json.rule = name contains 'XXXXXXX'

Hello,

Thank you for your question. The reason you may not be getting results can be due to the missing attribute config.resource.

Also, it is good practice to always narrow your search when trying to use a specific cloud type or resources.

 

Could you please try this RQL and let me know if this is something you are looking for?
RQL: config from cloud.resource where cloud.type = 'azure' AND api.name = 'azure-resource-group' AND json.rule = name contains "xxxxxx"

  • 3569 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!