Documentation>Cisco IoT Operations Dashboard
Cisco IoT Operations Dashboard
  • Overview
    • Welcome
    • Get Started
      • Onboarding an EDM-Managed device
      • Onboarding an Externally-Managed device
    • How to order
    • Set up the IoT Dashboard
    • Release notes
      • Edge Device release notes 2023
      • Edge Device release notes 2022
      • Edge Device release notes 2021
      • Edge Device release notes 2020
      • Application Manager
      • Cisco Cyber Vision release notes
      • Secure Equipment Access release notes 23
      • Secure Equipment Access release notes 22
      • Secure Equipment Access release notes 21
      • Edge Intelligence
        • 2023
        • 2022
        • 2021
        • 2020
      • Industrial Asset Vision
        • 2023
        • 2022
        • 2021
        • 2020
      • Industrial Wireless release notes
        • 2023
    • Log in
    • Upgrading Cisco IoT OD
    • Update network device firmware
    • Access control
      • Add and manage users
      • Create sub-organizations
      • Organization Hierarchy for IoT OD
      • Cisco SSO Login Experience
      • Enable Multi-Factor Authentication for an organization on IoT OD
    • Cisco Cross Platform Navigator
    • Audit user actions
    • Required accounts
    • Switch organizations or Services
    • View cloud service status
    • Feedback form
  • Edge Device Manager (EDM)
    • Requirements and release notes
      • Overview
      • Release notes
      • Firewall Rules: Device and network requirements
      • Supported devices and firmware
    • EDM Sandbox
    • Onboard network devices
      • Onboarding Quick Start Guide for IR devices
      • Prepare existing devices for onboarding
      • Troubleshoot IR device onboarding
      • Manually onboard network devices (alternative method)
    • Configure network devices
      • Overview
      • Create Configuration Group
      • Edit Configuration Group
      • Configuration Variables
      • Manage Configuration Group
      • Edit the configuration for a specific device
      • Create custom templates
      • Base Configuration
        • Hardware
        • WAN Uplink
        • LAN
        • Ethernet Settings
        • Interface
        • Device Settings
        • DHCP
        • Device Management
        • DNS/NTP
        • VPN
        • Network
        • Security
        • Wi-Fi
        • Serial
        • GPIO
    • Manage network devices
      • Add and manage network devices
      • Delete network devices
      • Deactivate network device
      • Mapping Modules for IR Devices
      • Connectivity from IR devices to Cellular Carriers
      • Convert AP to Autonomous Mode
      • Troubleshooting Issues
      • Add and monitor Meraki cameras
    • Monitor network devices
      • Monitor network device status
      • Track device location
      • View network device info on a map
      • View events and alerts
      • Manage notifications
    • EDM API
    • Application management
    • Application management troubleshooting tips
  • Application Manager
    • Overview
      • Release notes
    • Onboarding Externally-Managed IE3x00 Switches
      • Firewall Rules: Devices and Network Requirements
      • Device Configuration and Initiating Connection to OD
    • Application Inventory and Application Instances
    • Device Inventory
    • Device Profiles
    • Role-Based Access Control
    • Technotes: Troubleshooting Tips
  • Cisco Cyber Vision
    • Overview
      • Introduction
      • Release notes
      • User roles and permissions
    • Dashboard
    • Inventory
      • Assets
      • Asset Selection
      • Asset Deletion
      • Asset Vulnerability Management
    • Security Posture
      • Vulnerabilities
      • Acknowledge Vulnerabilities
        • Acknowledge vulnerabilities
    • Data sources
      • PCAP
      • Sensor Application
        • Sensor application
        • Capture modes
    • Configuration
  • Secure Equipment Access
    • Overview
      • Secure Equipment Access overview
      • Release notes 23
      • Release notes 22
      • Release notes 21
    • Add network devices and connected clients
    • Manage and schedule access for existing SEA access groups
    • Monitor sessions
    • Duo user security posture checks
    • Record Inline Sessions
    • Access methods
      • SSH Access Method
      • RDP Access Method
      • VNC Access Method
      • Web App Access Method
      • Telnet Access Method
      • SEA Plus Access Method
  • Edge Intelligence
    • Overview
      • EI overview
      • Using EI
      • Dashboard
      • Release notes
        • 2023
        • 2022
        • 2021
        • 2020
      • Upgrade EI Agents
      • Requirements
      • Supported devices and firmware
    • Enable EI agents
    • Add assets
      • Asset Management
      • Asset Types
      • Add Asset Instances
      • Map Asset Instances
      • Edit Asset Inventory Details
      • View Data Policy Status of an Asset
    • Add data destinations
    • Deploy data rule policies
      • Deploy asset-based Data Rules
      • About Data Policies
      • Create a Data Rule
      • Deploy Data Rules
      • Undeploy Data Rules
      • Manage Data Rules
      • Create and Deploy a Data Rule for IBM Watson data destination
    • Deploy data logic policies
      • Introduction to Data Logic
      • Install and Update VS Code and EI extension
      • Create Data Logic scripts in VS Code
      • Deploy Data Logic in Cisco EI
      • Update Data Logic scripts
      • Clone Data Logic from Cloud UI
    • View EI events
    • Configure and view alert rules
    • Troubleshooting Issues
      • Recommended Log Rotation
      • Documentation for Metrics collection
    • Edge Intelligence API
  • Industrial Asset Vision
    • Overview
      • Introduction
      • Release notes
        • 2023
        • 2022
        • 2021
        • 2020
    • Prerequisites
    • Quick start guide
      • Getting started
        • Onboard Network Devices
        • Onboard Sensors
        • Onboard Bridges
      • Add asset type
      • Add asset
      • Add sensor
      • Assign sensors
      • Add bridge
      • Change Preferences (User Localization)
    • View status and troubleshoot
      • View asset details and locations
      • View sensors details and troubleshoot
      • View network devices details and troubleshoot
      • Arctic Integration
    • Create alerts and generate reports
      • Create and view alerts
      • Generate and view reports
    • RF Performance Tool
    • Add Templates
    • Stream sensor data
    • Add Geofences
    • Group sensors and assets
    • Northbound APIs
      • Using APIs
      • APIs
        • Overview
        • API
          • AssetTypes
            • Get Asset Types
            • Add Asset Type
            • Delete Asset Type
            • Get Asset Type By Id
            • Update Asset Type
          • Assets
            • Get Assets
            • Add Asset
            • Delete Asset
            • Get Asset By Id
            • Update Asset
            • Assign Sensors To Asset
            • Delete Image Of Asset
            • Get Image Of Asset
            • Upload Image Of Asset
            • Get Sensors By Asset Id
            • Get Thumbnail Image Of Asset
            • Unassign Sensors From Asset
          • Sensors
            • Get Sensors
            • Get Sensor By Dev Eui
            • Claim Sensor By Dev Eui
            • Delete Sensor
            • Get Sensor By Id
            • Update Sensor
            • Get Sensor Location Data
            • Onboard Sensor
            • Get Sensor Tabular Telemetry Data
            • Get Sensor Telemetry Data
        • Model
          • AdditionalAttributesMap
          • Asset
          • AssetListResponse
          • AssetRequest
          • AssetType
          • AssetTypeListResponse
          • AssetTypeRequest
          • AssignSensorsRequest
          • AssignSensorsResponse
          • CreateSensorRequest
          • CustomAttributeData
          • CustomAttributeMetadata
          • Error
          • LiveDataItem
          • Location
          • LocationData
          • LocationDataResponse
          • OnboardSensorRequest
          • OnboardSensorResponse
          • PageInfo
          • Sensor
          • SensorListResponse
          • TabularTelemetryDataResponse
          • TelemetryData
          • TelemetryDataResponse
          • TelemetryValue
          • UnassignSensorsRequest
          • UnassignSensorsResponse
          • UpdateSensorRequest
  • Industrial Wireless
    • Overview
      • Introduction
      • Release notes
        • 2023
    • Supported firmware
    • Add new IW devices
    • Manage IW devices
      • Upgrade IW devices
      • Create Groups
      • Assign IW devices to a Group
      • Configure IW devices in online / offline mode
      • Edit and Delete Groups
      • Remove IW devices from Group
      • Create Templates
      • Duplicate Templates
      • Edit and Delete Templates
    • View details
      • View Group details
      • View IW device details
  • Solution Design
    • Tech guidance
    • Gateway Networking
    • Enterprise Network Integration
    • Security
    • Edge Compute
    • Field Deployment
    • Glossary
  • Developer Resources
    • Sandbox
    • Learning Labs
  • Community and Support
    • Developer Support
    • Videos
    • Related Information
    • System Status

Deploy asset-based Data Rules

About Data Policies

Data Policies define how data is sent from edge assets to a destination. There are two types of policies:

  • Data Rules: Data is sent from Assets to a destination without transformation.
  • Data Logic: Data is transformed before being sent to a destination. Data Logic scripts are developed using Microsoft VS Code.

Create a Data Rule

Data rules define the flow of data, from connected assets to data destinations, without transformation.

  1. From the left menu, click Data Policies > Data Rules.
  2. Click Create Data Rule, enter the following information and click Save.
Field Description
Rule Name Enter a meaningful name.
Description This is an optional field.
Source
Asset Type Data is sent for all assets of the selected Asset Type. Verify the following:

* The Asset Type is correctly configured for the connection method.
* The Asset instances are configured correctly in the Asset Inventory.
* The Asset instances are mapped to an EI Agent.
* The EI Agent is reachable.

See Add Assets.
Filter Select a filter from the drop-down list.

Attributes that will be sent to the destination can be filtered. If an attribute is not visible at the destination, check the Asset Type attribute definition.
Destination
Data Destination Type Select a supported destination type.
See Add Data Destinations.
Data Destination Select a destination that was configured for the selected type.
See Add Data Destinations.
Data Sampling Interval (ms) This defines how often data is sent to the destination. It helps to limit the bandwidth required. If the source receives data in a higher frequency only the last received value is sent and all others are discarded.
The default value is Disabled. You can select some predefined values from the dropdown list. You can also define custom values by clicking the + icon in the upper right corner of the dropdown list.
Rule Data Classification The type of rule data classification. This can be one of the following:
* Device Property
* Telemetry
Note: This option is shown only if you select the destination as Azure IoT.

Note: EI currently supports the use of one data policy to send data from an asset to the same Azure IoT Hub destination. For example, if you create two data policies that send data from the same asset to the same Azure IoT Hub destination, only the first policy will work.

Deploy Data Rules

Data Rules are deployed and run on the EI agent software installed on edge devices.

At least 1 Asset must be mapped to each EI Agent(s) where the data rule is deployed.

  1. From the left menu, click Data Policies > Data Rules.
  2. In the Data Rule entry, click Deploy / Undeploy.
  3. In the Data Rule section, select the EI agent(s) and click Deploy.
  4. Scroll down to Deployment Status:
    • Deployment Pending (yellow): The Data Policy is in the process of being deployed.
    • Deployed (green): Deployment is successful on all EI Agents. Data is flowing from all assets to the data destination as configured.
    • Error (red): The policy deployment is unsuccessful. There is at least one EI Agent on which the deployment failed. The data flow from assets to data destination is not successful for some configured assets.

Undeploy Data Rules

  1. From the left menu, click Data Policies > Data Rules.
  2. In the Data Rule entry, click Deploy / Undeploy.
  3. Select the data policy and click Undeploy.

Manage Data Rules

View Data Rule policy status

  1. From the left menu, click Data Policies > Data Rules.
  2. In the Data Rule entry, click the Policy Status. The status is shown for the EI Agents where the policy is deployed.
    • Not Deployed: No data policies are deployed on the EI Agent.
    • All Running: All data policies on EI Agent transferring data from assets to destinations.
    • Some Running: Not all data policies are transferring data.
    • Error: All data policies deployed on this EI Agent are in error state and data is not flowing for any configured assets.
    • Unknown: The EI Agent is offline. The policy status cannot be retrieved.

Edit a Data Rule

Note: A rule cannot be edited if it is active on any EI agents. To edit a rule, undeploy it from all EI agents.

  1. From the left menu, click Data Policies > Data Rules.
  2. In the Data Rule entry, click the name of a Data Policy.
  3. Click Edit in the details page to change the policy. Click Save.

Delete a Data Rule

Note: A rule cannot be deleted if it is active on any EI agents. To delete a rule, undeploy it from all EI agents.

  1. From the left menu, click Data Policies > Data Rules.
  2. Select the checkbox for the Data Rule you want to delete.
  3. Click Delete.
  4. In the warning pop-up, click Yes.

Create and Deploy a Data Rule for IBM Watson data destination

  1. Add an asset to be deployed.
    1. Open your IoT Dashboard and copy the Asset Type name and the serial number of the assets that send data to the IBM Watson destination.
    2. Open your IBM Watson IoT Platform web dashboard.
    3. From the left pane, click Devices → Device Types tab → Add Device Type.
    4. In the Add Type section, select Device as the Type and enter the Asset Type name copied from your Cisco IoT Dashboard in the Name field.
    5. Click Next. Enter the metadata for the asset if needed and click Finish.
    6. Click the Browse tab and then click Add Device. Note: If device provisioning is enabled in IBM Watson data destination, skip the next step to Add Device.
    7. In the Add Device section, enter the following:
      1. Device Type: Enter or select the Asset Type name you just created.
      2. Device ID: Enter the device serial number of the asset from your Cisco IoT Dashboard. Note: The Serial ID is the unique ID added while adding asset instances. See Add asset instances.
    8. Edit or add metadata for the asset if needed and click Next.
    9. Enter the Device Authentication Token in the Authentication Token field if you had provided it while adding the IBM Watson data destination in the EI UI (else skip this step). Click Next → Finish. The Asset is added and appears in the list of devices in the Browse tab.
  2. Create a data rule. See Create a Data Rule. In the Data Destination Type field, select IBM Watson.
  3. Deploy the data rule. See Deploy Data Rules. After the deployment is successful, in the IBM Watson IoT Platform UI → Browse tab → the status column of the device shows Connected.

To undeploy the data rule, see Undeploy Data Rules. After the asset is successfully undeployed, in the IBM Watson IoT Platform UI → Browse tab → the status column of the device shows Disconnected.

Next