Actions47
- Raw Request Actions
- Agents Actions
- Browser Extensions Actions
- Custom URL Groups Actions
- Custom URLs Actions
- Customers Actions
- Cyber Resilience Actions
- Deployments Actions
- Groups Actions
- Logs Actions
- Message Templates Actions
- Policies Actions
- Policy Templates Actions
- Products Actions
- Stats Actions
- Get Top 20 blocked categories
- Get Top 20 blocked hostnames or IP address
- Get Top 20 hostnames or IP address that users give their consents and put the credentials
- Get Top 20 hostnames or IP address that users put their credentials
- Get Top 20 hostnames or IP address that users try to put their credentials and blocked by the policy
- Get Top 20 visited categories
- Get Top 20 visited hostname under a specific category
- Get Top 20 visited uncategorized hostnames or IP address
- Status Actions
- Usage Actions
- Users Actions
Stats → Get Top 20 visited hostname under a specific category
AI-generatedSummary
Fetches the top 20 visited hostnames for a customer within a specified category. Optionally filter the statistics by source and date range.
Inputs
- Customer ID (required) — Select the customer whose statistics to retrieve.
- Category ID (required) — ID of the category to filter hostnames by.
- source — Optional source filter. By default, browser URL logs are used; DNS requests from fat clients are not logged except in clientless deployments.
- Start Date — Optional start of the date range, as a JSON datetime or Unix timestamp. Defaults to the beginning of the month.
- End Date — Optional end of the date range, as a JSON datetime or Unix timestamp. Defaults to the end of the month.
- Output Mode — Choose one item per element if the API returns an array, or a single item containing the full response. Defaults to one item per element.
Output shape
A list of n8n items derived from the API response, or one item containing the raw response, depending on Output Mode.
In one-item-per-element mode, object elements become item JSON directly; primitive array elements are wrapped in a value field. The request uses the DefensX Partner API and requires DefensX API credentials.
Examples
Example 1: Retrieve hostname statistics for a customer and category
Select the customer and enter the category ID. Optionally set a source and start/end dates to narrow the statistics period.