Actions7
- Management Actions
- Reporting Actions
- Logs Actions
Logs → Create Logs Request
AI-generatedSummary
Create a log request for Yandex Metrika with specified fields and source.
Inputs
- counterId (required) — ID of the Yandex Metrika counter.
- logFields — Comma-separated fields for logs export (default: 'ym:s:date,ym:s:clientID,ym:s:visitID,ym:s:pageviews').
- logSource — Source of the logs; options are 'Visits' or 'Hits' (default: 'visits').
Output shape
a single log request confirmation response
Returns the details of the created log request, including a confirmation of the submitted fields and source.
Examples
Example 1: Creating a log request with specific fields and source.
Set 'Counter ID' to the specific ID, choose desired 'logFields', and set 'logSource' to either 'visits' or 'hits'.