Parameter name to limit the activity log events

Ravi P 20 Reputation points
2024-02-07T00:42:45.85+00:00

Hello ,

Currently we are exploring on activity logs https://learn.microsoft.com/en-us/rest/api/monitor/activity-logs/list?view=rest-monitor-2015-04-01&tabs=HTTP I don't see any parameter to limit the events, tried with limit and size parameters both are not working. Could you please let us know the parameter name to limit the event list, also default and maximum page size of activity log API.

Thanks,
Ravi P.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,037 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Silvia Wibowo 3,571 Reputation points Microsoft Employee
    2024-02-07T02:11:01.9033333+00:00

    Hi @Ravi P , I understand that you want to query Activity Log using API, and you need the list of parameter names to filter the result.

    Please refer to this page: Activity Log Schema to understand the parameters that you can potentially use as a filter.

    Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.