Sensors for Custom Data Collection
What Are Sensors?
Endpoint Central collects standard inventory data such as hardware, software, and certificate details. Create a sensor when you need to collect an additional device attribute that is not available in the standard inventory.
You can deploy sensors to managed devices and use their output in workflows, reports, and endpoint analysis.

Creating Sensors
To create a new sensor:
- Navigate to DEX and then select Sensors from the left navigation menu.

- Click the Create Sensor button and choose Create New from the dropdown.

- Enter a descriptive Name and description for your sensor.

- Click Add Field to define the data that you want to collect from devices.
- Enter the display name that will be visible in the Endpoint Central console.
- Enter the field name that is used in the script.
- Specify whether the data contains Personally Identifiable Information (PII).
- Select the appropriate data type.
- Add a brief description of the field.

Use the built-in Script Writer to compose the script that collects your data. When a sensor targets both Windows and Mac devices, configure each platform separately on its own tab. Fields declared in the previous step are available as variables. The script must output values that match the declared fields.
Select a Script Type
Each platform tab has a Script Type drop-down. Choose the scripting language you want to write in before you start writing the script. The following script types are supported:
Platform Supported script types Windows PowerShell (.ps1) (default), VBScript (.vbs), Batch (.bat) Mac Shell (.sh) (default), Bash (.bash) You can choose one script type for each platform. For example, a sensor that targets both Windows and Mac can use a Batch script for Windows and a Bash script for Mac.
When you select a script type, the Script Writer loads a starter template in that language. The fields you declared in the previous step are already available as variables with their default values (for example,
[string]$var1 = "default"in PowerShell orvar1="default"in Shell), followed by a comment that marks where to write your data collection logic.Changing the Script Type
You can change the script type while creating a sensor or when modifying an existing one. Because a script written in one language cannot run as another, changing the script type replaces the current content of the Script Writer with a new starter template for the selected type. Before the change is applied, a Change script type confirmation appears:
- Click Yes to switch to the new script type. Any script content you have written for that platform is discarded.
- Click Cancel to keep the current script type and script content.
WarningChanging the script type replaces the current script with a new starter template. Copy any script content you want to retain before selecting a different script type.
- Custom sensors support an optional Script Argument field that lets you pass runtime values to your script without modifying it. Arguments are provided as a space-separated string (for example: Wednesday 06:00 Custom true), and can be accessed within the script by position or by name, depending on how the script is written. When a sensor targets both Windows and Mac, each platform can have its own Script Argument value to accommodate platform-specific argument handling.
- Specify the number of sensor runs to retain. This ensures that only the configured number of runs are stored, helping to optimize performance and manage storage efficiently.
For example, to retrieve the percentage of free disk space on a drive, you can use the following PowerShell command:

Adding Sensor from Extensions
Sensors can be added from Extensions, which provide ready-made sensors designed to address common IT and endpoint management use cases. These pre-built solutions help you quickly monitor and manage specific use cases without having to create sensors from scratch.
Click the Create Sensor button and select Choose from Extension from the dropdown.

Available sensors will be listed. Select the sensor that matches your use case and add it to your environment.

Create Sensor by Zia
Endpoint Central lets administrators use Ask Zia to create sensors by describing the required monitoring logic in natural language.
This helps accelerate sensor creation and reduces the time spent preparing the initial script and field definitions manually.
Steps to Create a Sensor by Zia
Navigate to DEX > Sensors.
Click the Ask Zia button from the Sensors page or from the Create Sensor flow.

Enter the sensor requirement in natural language.
Ask Zia generates the sensor content directly in the Create Sensor flow.

Review the generated content, make any required edits, and save the sensor.
Sample Prompts
Ask Zia must be enabled before use. Refer to the Ask Zia guide for the enablement flow.
Ways to Use Sensors
- Custom Intelligence: Monitor any system state that matters to your organization and gain better visibility.
- Data-Driven Automation: Deploy and retrieve custom data and use sensor outputs as dynamic triggers within workflows.
- Flexible Reporting: Track and export custom data through dashboards and reports.
- Scalable Management: Deploy and manage sensors across device groups with centralized control.
- Custom Report Filtering: Use sensor data as report fields or filters to create more targeted and actionable custom reports.
Deploy Sensors for Data Collection
After creating a sensor, deploy it to the required devices to collect data:
- Navigate to DEX > Deployments.
- Click Create Deployment.
- Enter a deployment name and, if needed, a description.
- Set the resource type to Sensor, and then select the sensors to deploy.
- Select one or more custom groups to define the deployment scope.
- Select Immediate or Schedule. If you select Schedule, configure the frequency and trigger time.
- Click Deploy.
Use Sensors in Workflows
Add a Sensor stage to a workflow to retrieve device properties. You can then pass the sensor output to a Switch stage and direct the workflow based on the returned value. For configuration steps, see Managing Workflows.
Required Permissions
To grant permission to view or manage sensors:
- Navigate to Admin > User Administration > Role.
- Click Add Role to create a role, or select Modify for an existing role.
- In the Endpoint Central section, locate Sensors and assign the required permission:
- Read: Allows users to view sensors.
- Write or Full Control: Allows users to add, modify, and delete sensors.
- Save the role.

To request a sensor script, submit your requirements through the Endpoint Central product roadmap form.



