AlphaSOC for Splunk
Search the Data Lake and explore OCSF detection findings in Splunk.
AlphaSOC for Splunk brings your data from AlphaSOC into Splunk Enterprise and Splunk Cloud. It adds a search command for the AlphaSOC Data Lake and three dashboards for working through findings.
It's a separate app from the older Network Behavior Analytics for Splunk, which sends data the other way, from Splunk to AlphaSOC.
How It Works
The app reaches AlphaSOC in two ways, and both use the Analytics Engine URL and API key you enter on the app's Settings page:
- The
| alphasoccommand sends your query to the Data Lake and streams the results into Splunk Search. Use it to search events, evidence, and activity, or to check how much data each source is sending. The command works with AlphaSOC Cloud only. - The dashboards read OCSF detection findings from a Splunk index. A Python
input in the app pulls findings from the Analytics Engine into that index
about every 5 minutes. The input is on by default and writes to
mainuntil you choose another index.
In a search head cluster, every member runs the findings input and pulls the same findings. To stop that, turn the input off on the deployer and run it on one instance only:
-
On the deployer, add this to
$SPLUNK_HOME/etc/shcluster/apps/alphasoc_for_splunk/local/inputs.conf:[a4s_findings://default]
disabled = true -
Push the change with
splunk apply shcluster-bundle. -
On one instance with the app installed and configured, such as a heavy forwarder, turn the input on under Settings > Data inputs > AlphaSOC Findings.
You can also send findings to Splunk through Cribl
with a Splunk destination. Set the sourcetype to alphasoc:finding:ocsf and
the index to the one on the app's Data Location page, or the dashboards
won't find them.
Prerequisites
Before you begin, make sure you have:
- Splunk Enterprise or Splunk Cloud 9.3 to 10.4.
- The
adminorsc_adminrole (theadmin_all_objectscapability) to install and configure the app. - Access to the AlphaSOC Console to create an API key.
- For the
| alphasoccommand, AlphaSOC Cloud. Thestatssubcommand works without the Data Lake;event,evidence, andactivityneed Data Lake access. On-premise, you get the findings input and the dashboards. - For an on-premise Analytics Engine, HTTPS with a certificate Splunk trusts. A self-signed certificate won't work.
Dashboard users need read access to the findings index. Users who run
| alphasoc also need the list_storage_passwords capability, because the
command reads the API key as the user running the search.
Install the App
Install the app from inside Splunk:
- In Splunk Enterprise or Splunk Cloud, go to Apps -> Find more apps.
- Search for
alphasocand install AlphaSOC for Splunk.
The app is also available from Splunkbase, free to download and install.
Configure the App
Connect the app to AlphaSOC with an API key, then tell it which index holds your findings.
Create an API key
Create the key in the AlphaSOC Console. For more on API keys, see Credentials.
-
Navigate to the AlphaSOC Console.
-
Go to the Credentials section and click API Keys.

-
Click New API key and, optionally, provide a description for the new key.

-
Click Create to create the API key.
-
Copy the generated API key and keep it in a secure place. You need it in the next section.

Connect to AlphaSOC
Enter the Analytics Engine URL and the API key in the app:
-
In the AlphaSOC for Splunk app, go to the Settings tab.
-
Click Analytics Engine.
-
Under API URL, enter the URL of your Analytics Engine, then click Save. For AlphaSOC Cloud, this is
https://api.alphasoc.net. On-premise, enter your engine's HTTPS address, for examplehttps://ae.example.com:8443. The app accepts HTTPS only. -
Under API Key, paste the API key you copied, then click Save.

Choose the findings index
The input writes findings to main by default, and the dashboards search
main too, so this step is optional. To keep findings in their own index:
-
Create the index, for example
alphasoc_findings: on the indexers in a distributed deployment, or under Settings > Indexes in Splunk Cloud. -
In the app's Settings tab, click Data Location and select the index. The dashboards search this index.

-
In Splunk, go to Settings > Data inputs > AlphaSOC Findings > default, and set Index to the same index. The input writes there.
Explore Findings in Splunk
The app has three dashboards that form an investigation workflow, from a high-level overview of threats down to individual OCSF detection findings. They read the index you chose in Choose the findings index.
Threat Hunter
The Threat Hunter dashboard is the default landing page. It displays a prioritized table of all entities with active detections in your environment.

Each row represents an entity (IP address, hostname, AWS ARN, Kubernetes service account, and so on) and includes:
- Severity: the highest severity level assigned to the entity's findings.
- Entity: the identifier of the affected host or account.
- Domain: the event domain: Network, System, or Application.
- Top Detection: the name of the highest-priority detection for this entity.
- Last Seen: the timestamp of the most recent finding.
- Trend: a sparkline showing finding volume over the selected time range.
- Detections: the number of distinct detection rules that fired.
- Findings: the total count of findings associated with the entity.
Use the filter bar at the top to narrow results by time range, event domain, entity, detection type, and minimum severity. Rows are color-coded by severity.
MITRE ATT&CK
The MITRE ATT&CK dashboard maps the same findings onto the MITRE ATT&CK Matrix for Enterprise. Columns represent tactics, and each cell lists the techniques AlphaSOC has observed in your environment.

Use this view to assess attacker coverage across the kill chain rather than triaging individual entities.
Findings Explorer
Click any entity row in the Threat Hunter table to open the Findings Explorer, the investigation dashboard for a single entity.

Investigation details
The left panel summarizes the entity under investigation:
- Entity identifier: the IP address, hostname, or account (for example,
172.25.163.137). - Severity: the highest severity across all findings for this entity.
- Total findings: the aggregate count of findings.
- First seen / Last seen: the time window over which activity was observed.
- Event domain: Network, System, or Application.
- Unique entities: the count of distinct entities involved.
- Tactics and Techniques: the MITRE ATT&CK tactics and techniques mapped to the entity's findings.
Summary cards
Four cards across the top give counts of Entities, Detections, Findings, and Techniques, so you can see the scope of the investigation at a glance.
Activity timeline
The timeline chart plots finding volume over the selected time range. Use it to identify spikes, sustained activity, or beaconing patterns. The legend shows the detection type (for example, "C2 communication attempt indicating infection").
Severity distribution
The donut chart breaks down findings by severity level.
Observables, detections, entities, and samples
The tabbed section at the bottom gives the detailed breakdown:
- Observables: every observable associated with the entity's findings (queried hostnames, destination IPs, destination ports). Each row shows severity, first and last seen timestamps, the observable value, its type (Hostname, IP Address, Port), and the number of findings it appears in.
- Detections: findings grouped by detection name.
- Entities: all entities involved.
- Samples: detailed information about the findings.
Pivoting to raw findings
Each observable row includes an Actions menu (three-dot icon). Click it to open the raw OCSF detection findings in Splunk Search.

The search retrieves the OCSF detection findings that match the observable. Each event in the results includes:
- Event metadata: event code, timestamps, and source identifiers.
- Detection details: detection name, severity score, confidence level, and MITRE ATT&CK mapping.
- Observables: the full set of observables (queried hostnames, resolved IPs, destination endpoints, ports, and protocols).
- Evidence and context: supporting data such as DNS query types, response codes, connection metadata, and threat intelligence enrichment.
The | alphasoc Command
The | alphasoc command runs AlphaSOC queries from Splunk Search. Its first
argument is a subcommand that selects what to query:
| Subcommand | What it does |
|---|---|
event | Searches events in the Data Lake, normalized to OCSF |
evidence | Searches the indicators AlphaSOC flagged |
activity | Searches flagged indicators with the device and user they were seen on |
stats | Reports event volume and source coverage for your data sources |
help | Returns a link to this page |
alphasoc is a generating command: it must appear at the beginning of your
search pipeline, prefixed with a pipe (|). The subcommand name is
case-insensitive, and the time range comes from the Splunk time picker.

| alphasoc event [class_name=<class>] [metadata.product.name=<source>] [<filter_expression>]
| alphasoc evidence [evidence_type=<type>] <filter_expression>
| alphasoc activity [evidence_type=<type>] [metadata.product.name=<source>] <filter_expression>
| alphasoc stats [dataOrigin=<origin>]
| alphasoc help
Lake search syntax
The event, evidence, and activity subcommands search the events and
evidence in the Data Lake by specific OCSF fields. The full query
syntax, value rules, and searchable fields are in
Searching the Data Lake in the REST
API reference. The rules below are specific to these three subcommands.
Filters are field-value pairs on OCSF field paths; combine them with AND /
OR operators and parentheses.
ANDis implicit: adjacent filters without an operator combine withAND. For example,device.ip=10.0.0.5 dst_endpoint.port=443is equivalent todevice.ip=10.0.0.5 AND dst_endpoint.port=443.ANDhas higher precedence thanOR. Use parentheses to make grouping explicit when mixing both.- Quote values containing anything other than ASCII letters, digits, and
. * _ : / -, such as spaces,=, or@.
Fields containing []
Splunk reads an unquoted [ as the start of a subsearch and consumes the array
accessor before the alphasoc command receives it. Quote the field path:
| alphasoc evidence "process.file.hashes[].value"=399eaf1c3f33a29e69785b7ec432ae778f13884abd6a513d87892d49e1062cd3
| alphasoc event "tls.certificate.fingerprints[0].value"=d3b07384d113edec49eaa6238ad5ff00
Options
Each subcommand supports its own set of options, described in its section below. Options can appear before or after filter terms.
To match more than one value, repeat the option and join the terms with OR,
for example class_name=dns_activity OR class_name=network_activity. OR may
only join values of the same option; the command rejects an option OR-ed with
a filter field, such as class_name=dns_activity OR device.ip=10.0.0.5.
When combining an OR group with further filter terms, parenthesize the group:
write (class_name=dns_activity OR class_name=network_activity) device.ip=10.0.0.5, not class_name=dns_activity OR class_name=network_activity device.ip=10.0.0.5.
Streaming and limits
Results stream in as they arrive from the lake. A server-side limit can cap a large result set, so you may get partial results. Use a shorter time range or more specific filters to stay under it.
event: search events
Returns ingested event telemetry, normalized to OCSF.
| alphasoc event [class_name=<class>] [metadata.product.name=<source>] [<filter_expression>]
With no filter, event returns all events in the selected time range.
Options
class_name: OCSF event classes. Accepts Title Case, snake_case, and dash-separated formats. Examples:"DNS Activity","dns_activity","dns-activity".metadata.product.name: data origins. See Data Origins for the complete list.
Supported OCSF classes: DNS Activity, Network Activity, HTTP Activity, API
Activity, Process Activity, Authentication, Account Change, File System
Activity, Kernel Extension Activity, Module Activity, Scheduled Job Activity,
Script Activity, Base Event. Events without a class-specific mapping export as
Base Event (class_uid 0) with the original event attached under raw_data;
select them with class_name=base_event.
Queryable fields
Field paths follow the OCSF schema.
| OCSF Field | Description | Example |
|---|---|---|
device.ip | Device IP address (IPv4; supports /16, /24, /32 CIDR) | 10.0.0.0/24 |
device.hostname | Device hostname | workstation-01 |
device.uid | Device identifier (e.g., CrowdStrike AID) | 09e8771fc488477d9cddb61b5fd32c6c |
device.mac | Device MAC address | 00:1A:2B:3C:4D:5E |
actor.user.name | User name | alice |
actor.process.file.name | Image file name of the process that performed the activity, such as the process that made a DNS query or connection, or the parent of a launched process. Filled by endpoint sources: CrowdStrike, SentinelOne, Windows Event Log, Azure device network, and Jamf Compliance Reporter | powershell.exe |
metadata.tenant_uid | Tenant UID that matches the dataScope | aws:123456789012:us-east-1:vpc-1234567890 |
query.hostname | DNS query fully qualified domain name (FQDN); supports a leading wildcard | *.google.com |
query.type | DNS query type | A |
src_endpoint.ip | Source IP address of API Activity, Authentication, and Account Change events (IPv4; supports /16, /24, /32 CIDR) | 192.0.2.10 |
dst_endpoint.ip | Destination IP address (IPv4; supports /16, /24, /32 CIDR) | 8.8.8.8 |
dst_endpoint.port | Destination port | 443 |
connection_info.protocol_name | IP protocol | tcp |
http_request.http_method | HTTP client request method | GET |
http_request.url.hostname | Hostname of the HTTP request URL; supports a leading wildcard | *.example.org |
http_request.url.path | Path of the HTTP request URL | /beacon |
http_request.url.scheme | Scheme of the HTTP request URL | https |
http_request.url.url_string | Full URL | https://example.org/path |
http_request.user_agent | HTTP client user agent | "Mozilla/5.0 (X11; Linux x86_64)" |
tls.certificate.fingerprints[0].value | TLS server certificate fingerprint | 0db6495611891de35650a18ad91002845f9cc6bc |
tls.certificate.subject | TLS server certificate subject | "CN=example.org" |
tls.certificate.issuer | TLS server certificate issuer | "CN=GTS CA,O=Google Trust Services,C=US" |
tls.ja3_hash.value | JA3 TLS fingerprint | 0b2a5b08a7c44adaeaa1c0d29493c409 |
tls.ja3s_hash.value | JA3S TLS fingerprint | 254c31292ed05b84addc077fe6cee283 |
process.file.name | Process file name | powershell.exe |
process.file.hashes[].value | Process file hash (MD5 or SHA-256) | d41d8cd98f00b204e9800998ecf8427e |
process.pid | Process ID of the target process in Process Activity events, except SentinelOne cross-process events; see Searching by process ID | 4812 |
Searching by process ID
process.pid matches the process an event is about, such as the process that
was launched, never the process that started it. SentinelOne cross-process
events, where one process opens another or injects a thread into it, are not
matched. It takes a whole number; 0, 1, and 4 are rejected, because every
host has them: 0 means no process ID (or the Windows Idle process), 1 is
init, systemd, or launchd, and 4 is the Windows System process.
Pair process.pid with an exact device.hostname, device.uid, device.ip,
device.mac, actor.user.name, or metadata.tenant_uid value for a fast
lookup. A process.pid filter on its own, or paired with a CIDR range, scans
every process event in the time range and is much slower. Short OR lists of
process IDs or hosts stay fast; long lists fall back to the slower search.
| alphasoc event device.hostname=workstation-01 process.pid=4812
| alphasoc event device.uid=09e8771fc488477d9cddb61b5fd32c6c (process.pid=4812 OR process.pid=5120)
To follow a process chain, read actor.process.pid from a result, which on a
process launch is the process that started the target, and search for it as
process.pid on the same host, with a time range that ends one second after
the result's time. Process IDs are reused, so that search can also return an
older process that had the same ID. Pick the result whose
process.created_time equals the child's actor.process.created_time. If none
matches, start the time range earlier rather than picking another result. When
either time is missing, pick the most recent one before the child. Only
SentinelOne and Jamf Compliance Reporter record the parent's process ID;
CrowdStrike and Windows Event Log events name the parent but leave out its
process ID. actor.process.pid itself is not a queryable field.
Examples
Fetch all events in the selected time range:
| alphasoc event
Filter events by device IP:
| alphasoc event device.ip=10.0.0.5
Combine filters with implicit AND:
| alphasoc event device.ip=10.0.0.5 dst_endpoint.port=443
Filter by event class and device:
| alphasoc event class_name=dns_activity device.ip=10.0.0.5
Match multiple event classes by repeating the option with OR:
| alphasoc event class_name=dns_activity OR class_name=network_activity
Parenthesize the OR group when combining it with other filters:
| alphasoc event (class_name=dns_activity OR class_name=network_activity) device.ip=10.0.0.5
Combine options and filters with boolean logic:
| alphasoc event class_name=dns_activity device.ip=10.0.0.5 AND (query.hostname=example.org OR dst_endpoint.port=443)
Filter HTTP events by the hostname of the requested URL:
| alphasoc event class_name=http_activity http_request.url.hostname=*.example.org
Find DNS lookups made by PowerShell:
| alphasoc event class_name=dns_activity actor.process.file.name=powershell.exe
Query a specific data origin:
| alphasoc event metadata.product.name=aws-route53 query.hostname=example.org
evidence: search flagged indicators
Returns the individual indicators AlphaSOC observed and flagged. Each evidence
record is an OCSF event carrying an evidences[] array of those indicators.
| alphasoc evidence [evidence_type=<type>] <filter_expression>
The evidence subcommand requires at least one filter; it cannot run
unfiltered.
Options
evidence_type: restricts which evidence types are searched. Accepted values:dns,ip,http,tls,audit,system. This changes results: a hostname, for example, can match both DNS and HTTP evidence.
Queryable fields
Field paths follow the OCSF schema.
| OCSF Field | Description | Example |
|---|---|---|
query.hostname | DNS query fully qualified domain name (FQDN); supports a leading wildcard | *.google.com |
query.type | DNS query type | A |
src_endpoint.ip | Source IP address of audit evidence (IPv4; supports /16, /24, /32 CIDR) | 192.0.2.10 |
dst_endpoint.ip | Destination IP address (IPv4; supports /16, /24, /32 CIDR) | 8.8.8.8 |
dst_endpoint.port | Destination port | 443 |
connection_info.protocol_name | IP protocol | tcp |
http_request.http_method | HTTP client request method | GET |
http_request.url.hostname | Hostname of the HTTP evidence URL; supports a leading wildcard | *.example.org |
http_request.url.path | Path of the HTTP evidence URL | /beacon |
http_request.url.scheme | Scheme of the HTTP evidence URL | https |
http_request.url.url_string | Full URL | https://example.org/path |
http_request.user_agent | HTTP client user agent | "Mozilla/5.0 (X11; Linux x86_64)" |
tls.certificate.fingerprints[0].value | TLS server certificate fingerprint | 0db6495611891de35650a18ad91002845f9cc6bc |
tls.certificate.subject | TLS server certificate subject | "CN=example.org" |
tls.certificate.issuer | TLS server certificate issuer | "CN=GTS CA,O=Google Trust Services,C=US" |
tls.ja3_hash.value | JA3 TLS fingerprint | 0b2a5b08a7c44adaeaa1c0d29493c409 |
tls.ja3s_hash.value | JA3S TLS fingerprint | 254c31292ed05b84addc077fe6cee283 |
process.file.name | Process file name | powershell.exe |
process.file.hashes[].value | Process file hash (MD5 or SHA-256) | d41d8cd98f00b204e9800998ecf8427e |
The http_request.url.* fields match single components of an HTTP evidence URL.
Path and scheme matching ignores case. http_request.url.path matches the path
only, so the command rejects a value carrying a query string or fragment.
dst_endpoint.port matches the URL's effective port: the scheme default when
the URL carries no explicit port, so https://example.org/path matches
dst_endpoint.port=443.
Use http_request.url.url_string to match a whole URL in one term. The value
must be a full, parseable URL. It matches the scheme, host, path, and effective
port together, ignoring query strings and fragments.
Examples
Search evidence for a hostname:
| alphasoc evidence query.hostname=example.org
Combine filters with implicit AND:
| alphasoc evidence dst_endpoint.ip=8.8.8.8 dst_endpoint.port=443
Restrict the search to DNS evidence:
| alphasoc evidence evidence_type=dns query.hostname=example.org
Filter by JA3 fingerprint:
| alphasoc evidence tls.ja3_hash.value=0b2a5b08a7c44adaeaa1c0d29493c409
Filter by URL host and path:
| alphasoc evidence http_request.url.hostname=example.org http_request.url.path=/beacon
Match a full URL in one term:
| alphasoc evidence http_request.url.url_string=https://example.org/beacon
Filter by process file hash, quoting the bracketed field path (see Lake search syntax):
| alphasoc evidence "process.file.hashes[].value"=d41d8cd98f00b204e9800998ecf8427e
activity: find who was involved
Returns flagged indicators joined with the device and user they were seen on:
which device resolved example.org, and as which user. Each record shares
the evidences[] shape of the evidence subcommand, with the source reported
under evidences[].device, evidences[].actor.user, and
evidences[].actor.process.
| alphasoc activity [evidence_type=<type>] [metadata.product.name=<source>] <filter_expression>
The activity subcommand requires at least one filter; it cannot run
unfiltered.
The search still returns records without an observed source (their device and
actor are empty). Filtering on a source field (device.*, actor.user.name,
actor.process.file.name, metadata.tenant_uid, or the
metadata.product.name option) restricts results to records with a source.
Options
evidence_type: same as theevidencesubcommand. Accepted values:dns,ip,http,tls,audit,system.metadata.product.name: restricts to sources observed by the given data origins. See Data Origins for the complete list.
Queryable fields
Activity searches accept all queryable fields and the evidence_type option
of the evidence subcommand, with the same matching behavior. For example,
process.file.name=powershell.exe returns matching file executions together
with the device and user that ran them. src_endpoint.ip remains an evidence
field; use device.ip for the source device.
Source fields identify the device, user, and process behind the evidence:
| OCSF Field | Description | Example |
|---|---|---|
device.ip | Source device IP address (IPv4; supports /16, /24, /32 CIDR) | 10.0.0.0/24 |
device.hostname | Source device hostname | workstation-01 |
device.uid | Source device identifier (e.g., CrowdStrike AID) | 09e8771fc488477d9cddb61b5fd32c6c |
device.mac | Source device MAC address | 00:1A:2B:3C:4D:5E |
actor.user.name | User name | alice |
actor.process.file.name | Image file name of the process that performed the activity, such as the process that made a DNS query or connection. Filled by endpoint sources: CrowdStrike, SentinelOne, Windows Event Log, Azure device network, and Jamf Compliance Reporter | powershell.exe |
metadata.tenant_uid | Tenant UID that matches the dataScope | aws:123456789012:us-east-1:vpc-1234567890 |
Source fields and evidence fields combine with AND only; the command rejects
an OR across the two groups, such as device.ip=10.0.0.5 OR query.hostname=example.org.
Examples
Find who resolved a hostname:
| alphasoc activity query.hostname=example.org
Restrict the search to a subnet:
| alphasoc activity device.ip=10.0.0.0/24 query.hostname=example.org
Find devices and users that requested a URL:
| alphasoc activity http_request.url.hostname=example.org http_request.url.path=/beacon
DNS evidence observed by a specific data origin:
| alphasoc activity evidence_type=dns metadata.product.name=aws-route53 query.hostname=example.org
Find devices and users that ran a flagged file:
| alphasoc activity evidence_type=system process.file.name=powershell.exe
stats: check data source health
The stats subcommand shows whether each of your data sources is sending data
to AlphaSOC, and how much.
It returns event counts per hour, or over longer intervals, broken down by credential, data origin, and data type. It reads processing statistics, not records in the lake.
| alphasoc stats [intervalHours=<hours>] [dataOrigin=<origin>]
Without a filter, stats covers every data origin. To check specific sources,
add dataOrigin=, and join several with OR:
| alphasoc stats dataOrigin=aws-cloudtrail
| alphasoc stats dataOrigin=aws-cloudtrail OR dataOrigin=zeek-dns
Filtering by data origin
- Use the names shown in the
dataOriginfield of the results, which are also listed in Data Origins, for exampleaws-cloudtrailorokta-audit. Names must match exactly, including case and hyphens:aws_cloudtrailandAWS-CloudTrailare rejected. If you are not sure what a source is called, run| alphasoc statswithout a filter and check thedataOriginvalues. metadata.product.name=works the same way asdataOrigin=, so you can reuse the data origin filter from youreventsearches.- Apart from
intervalHours,dataOriginis the only fieldstatsaccepts. Other fields, such asclass_name, return an error, and so does joining two data origins withAND, because each event comes from a single data origin. dataOrigin=unknownreturns only events whose data origin was recorded asunknown. Events received without any data origin appear only when no filter is used.
Summarizing over longer intervals
Each result covers one hour by default. To summarize longer periods, such as
days, add intervalHours=. With several data origins, parenthesize the OR
group:
| alphasoc stats intervalHours=24
| alphasoc stats intervalHours=24 (dataOrigin=aws-cloudtrail OR dataOrigin=zeek-dns)
| alphasoc stats intervalHours=0
intervalHours=0returns a single interval covering the whole time range.
How intervals and counts are calculated
- Intervals are counted from the start of the selected time range, rounded down
to the hour. If the range does not divide evenly, the most recent interval is
shorter, and its
intervalHoursfield shows how many hours it covers. For example, a 7-day range ending at 10:20 covers 169 hours, from 10:00 seven days earlier to 11:00, sointervalHours=24returns seven 24-hour intervals and a final 1-hour interval. - The value must be a whole number of hours and cannot be longer than the
selected time range.
intervalHours=1is the same as leaving it out. UsingintervalHours=twice returns an error. - The data scope and endpoint counts are approximate distinct counts for the
whole interval. AlphaSOC merges the hourly estimates before counting, so a
scope or endpoint seen in several hours is counted once. Use
intervalHours, rather than adding hourly results, to count unique scopes or endpoints over a day or the whole range.
Results
Each result represents one credential, interval, data origin, and data type.
timeBucket is the start of the interval in UTC, and intervalHours is the
number of hours it covers: 1 unless you set intervalHours. time is the
same instant as timeBucket in Unix epoch milliseconds for Splunk time-series
commands. The counts are grouped under stats:
| Field | Meaning |
|---|---|
stats.events | Exact count of events processed in that row. |
stats.dataScopes | Approximate number of distinct data scopes in that row. |
stats.endpoints | Approximate number of distinct endpoints in that row. |
For example, | alphasoc stats returns a result like this in Splunk Search:
{
"time": 1785578400000,
"credentialID": "11111111-1111-4111-8111-111111111111",
"timeBucket": "2026-08-01T10:00:00Z",
"intervalHours": 1,
"dataOrigin": "aws-cloudtrail",
"dataType": "audit",
"stats": {
"events": 4200,
"dataScopes": 3,
"endpoints": 12
}
}
Without a time range, stats covers the last seven days. One request can
cover at most 31 days.
Time ranges and estimated counts
The data scope and endpoint counts are estimates for each row. The same scope
or endpoint may appear in multiple rows, so adding those counts does not give
the number of unique scopes or endpoints across a source or time range. To
count them over a longer period, use intervalHours instead.
The selected time range includes every hourly bucket it intersects. A range
from 10:20 to 11:10 therefore returns the complete 10:00 and 11:00 buckets,
which may include events outside the exact bounds. The current hour can still
be incomplete. The stats response is not truncated by the data lake's response-size limit.
help: get a link to this page
The help subcommand returns a link to this documentation without running a
query:
| alphasoc help