Query Details
## Linux – ActionType Inventory (All Tables) – Last 24h
### Purpose
This is your **capability discovery query**. It tells you *what Linux telemetry exists* in your tenant and *which tables back the device timeline*.
### Query
```kql
let LinuxDeviceIds = materialize(
DeviceInfo
| where OSPlatform == "Linux"
| distinct DeviceId
);
union
(
DeviceEvents
| where Timestamp > ago(24h)
| where DeviceId in (LinuxDeviceIds)
| project ActionType, Table="DeviceEvents"
),
(
DeviceProcessEvents
| where Timestamp > ago(24h)
| where DeviceId in (LinuxDeviceIds)
| project ActionType, Table="DeviceProcessEvents"
),
(
DeviceNetworkEvents
| where Timestamp > ago(24h)
| where DeviceId in (LinuxDeviceIds)
| project ActionType, Table="DeviceNetworkEvents"
),
(
DeviceLogonEvents
| where Timestamp > ago(24h)
| where DeviceId in (LinuxDeviceIds)
| project ActionType, Table="DeviceLogonEvents"
),
(
DeviceFileEvents
| where Timestamp > ago(24h)
| where DeviceId in (LinuxDeviceIds)
| project ActionType, Table="DeviceFileEvents"
)
| summarize Events=count() by Table, ActionType
| order by Table asc, Events desc
```
### Use this for
* Reconciling timeline events with hunting tables
* Understanding Linux telemetry coverage
* Discovering new ActionTypes after agent updates
* Deciding where to hunt for specific behavioursThis query is designed to help you understand the types of Linux-related telemetry data available in your system over the past 24 hours. It focuses on identifying the different types of actions (ActionTypes) recorded in various tables that track device activities. Here's a breakdown of what the query does:
Identify Linux Devices: It first creates a list of device IDs for devices running the Linux operating system by filtering the DeviceInfo table.
Collect Events: It then gathers events from five different tables (DeviceEvents, DeviceProcessEvents, DeviceNetworkEvents, DeviceLogonEvents, and DeviceFileEvents) that have occurred in the last 24 hours and are associated with the identified Linux devices.
Project Relevant Data: For each event, it extracts the ActionType and notes which table the event came from.
Summarize and Order: The query summarizes the data by counting the number of events for each ActionType within each table. It then orders the results by table name and the number of events in descending order.

Nathan Hutchinson
Released: February 2, 2026
Tables
Keywords
Operators