CloudFabrix Documentation
Asset IntelligenceOps IntelligenceObservabilityRobotic Data
  • Getting Started
  • CloudFabrix Overview
  • AIOps Platform
  • AIOps Solutions
  • CloudFabrix RDA
    • RDA - Overview
      • RDA - Terminology and Artifacts
    • RDA - Installation
      • Linux OS
      • Windows OS
      • Mac OS
      • RDA Client
      • Worker Nodes
      • Event Gateway
      • Edge Collector
      • Log Shippers
        • Filebeat
        • Fluentd
        • Rsyslog
        • Syslog (udp)
        • Splunk forwarder (Windows and Linux)
        • Winlogbeat (Windows)
      • RDA Log Archives
    • RDA - Administration
      • RDA - Configuration
    • RDA - User Guide
      • RDA - AIOps Studio
        • AIOps Studio - Solution Packages
        • AIOps Studio - Pipelines
        • AIOps Studio - Explore
        • AIOps Studio - Administration
        • RDA CLI in UI
        • AIOps Studio - Examples
          • File Operations
          • Loop Operations
          • Data Management Operations - cfxdm
          • Data mapping - cfxdm - dm:eval
          • Filters - cfxdm - dm:filter
          • Data mapping - cfxdm - dm:map
          • Metadata - cfxdm-dm:metadata
          • Data mapping - cfxdm - dm:functions
            • Any_non_null
            • Concat
            • Datetime
            • Date and Timestamp
            • Evaluate
            • Fixed
            • Highest
            • Join
            • jsonDecode
            • Lower
            • Lowest
            • Match
            • Minutes_Between
            • Replace
            • Seconds_Between
            • Slice
            • Split
            • Strip
            • To_Numeric
            • Ts_To_Datetimestr
            • Upper
            • When_Null
          • Data Mapping cfxdm - dm:sort
          • Data Mapping cfxdm - dm:head
          • Data Mapping cfxdm - dm: tail
          • Data Mapping cfxdm - dm: dedup
          • Data Mapping cfxdm - dm:selectcolumns
          • Data Mapping cfxdm - dm:fixcolumns
          • Data Mapping cfxdm - dm:mergecolumns
          • Data Mapping cfxdm - dm:describe
          • Data Mapping cfxdm - dm:save
          • Data Mapping cfxdm - dm:savedlist
          • Data Mapping cfxdm - dm:recall
          • Data Mapping cfxdm - dm:concat
          • Data Mapping cfxdm - dm:groupby
          • Data Mapping cfxdm - dm:to_type
          • Data Mapping cfxdm - dm:enrich
          • Data Mapping cfxdm - dm:dns_ip_to_name
          • Data Mapping cfxdm - dm:dns_name_to_ip
        • AIOps Studio - Datasource Examples
          • Elasticsearch (v1)
      • RDA - Data Management (cfxdm)
        • cfxdm - dm:filter
        • cfxdm - dm:map
        • cfxdm - dm:functions
        • cfxdm - dm:sort
        • cfxdm - dm:head
        • cfxdm - dm:tail
        • cfxdm - dm:dedup
        • cfxdm - dm:selectcolumns
        • cfxdm - dm:mergecolumns
        • cfxdm - dm:describe
        • cfxdm - dm:hist
        • cfxdm - dm:bin
        • cfxdm - dm:fixcolumns
        • cfxdm - dm:save
        • cfxdm - dm:savedlist
        • cfxdx - dm:recall
        • cfxdm - dm:concat
        • cfxdm - dm:groupby
        • cfxdm - dm:enrich
        • cfxdm - dm:to_type
        • cfxdm - dm:dns_ip_to_name
        • cfxdm - dm:dns_name_to_ip
        • cfxdm - files:loadfile
      • RDA Terminal
        • Examples using Terminal / Commandline
    • RDA - Bot Documentation
    • RDA - Datasource Integrations
      • AppDynamics
      • Dynatrace
      • Dell EMC Unity
      • Elasticsearch
      • Infoblox NetMRI
      • Kubernetes Cluster
      • Linux OS
      • Microsoft Windows Server OS
      • Nagios XI
      • NetApp Clustered ONTAP
      • PRTG Network Monitor
      • VMware vCenter
      • VMware vRealize Operations
    • RDA - Python API
      • Class CaaSDataset
      • Class CaaSClient
      • Python API Example
    • RDA - FAQ
      • Download and Installation
      • Troubleshooting
  • CFXQL - CFX Query Language
    • CFXQL User Interface
  • Operations Intelligence Analytics (OIA)
    • Solution Overview
      • Navigating cfxOIA
      • Any title
    • Administration Guide
      • Active Directory Integration
      • Add Customer
      • First Steps
      • OIA Users
      • Add New Users and Assign Roles
      • Add Environment
      • Add Gateway
      • Add DataSource
      • Add Project
      • Project Configuration
      • Stacks
      • Teams
    • User Guide
      • Incidents
        • Incident
        • Stack
      • Alerts
      • Outcomes
  • INTEGRATIONS
    • Zabbix
    • AppDynamics
    • Dynatrace
    • NetApp C Mode
    • NetApp 7 Mode
    • Splunk Enterprise
    • VMware vCenter
  • OBSERVABILITY
  • Observability - IT Infrastructure Monitoring (cfxPulse)
    • Getting Started
    • Solution Overview
    • Installing cfxPulse Collector
    • Administrator Quick Start Guide
      • Prerequisites
      • Accessing cfxPulse
      • Configuration of cfxPulse
      • Setting Up Monitoring
      • Monitoring Using Prometheus Agents
      • How to add Prometheus Agent Details
      • Discovery of Devices
      • Monitoring Dashboard
    • End User Quick Start Guide
      • Portal Navigation
      • Monitoring Analysis
      • Monitoring
      • Alerts and Incidents
      • Reports
      • NOC/Ops
      • Configuration Backups
      • Interacting With Tabular Reports
      • Creating Custom Dashboards
  • Observability - Log Monitoring & Analytics (CFX LogAnalytics or CLA)
    • Getting Started
    • Solution Overview
    • Solution Key Components
    • Log Forwarding
      • Install and Configure Logstash
      • Sending Logs to Logstash Forwarder
    • Log Collection
      • Collecting Logs from Linux
    • Log Transformation & Enrichment
    • Logstash Installation
      • How to install Java / Logstash on client side
  • Asset Intelligence Analytics (AIA) Solution
    • Getting Started
    • Solution Overview
    • AIA Roles
      • Platform Admin
        • Managed Service Provider (MSP)
        • Authentication Server
        • Set Up Services
        • Organizations
        • Users
      • Organization Admin
        • My Organizations
      • Organization Executive
      • Organization User
    • AIA Tasks, Functions
      • Home Page Navigation
      • Filters
      • Settings Menu
      • Notifications
      • Authentical Server
      • How to Add, Edit, Delete MSP
      • Actions
        • Services
        • Files
        • Dictionaries
        • Discovery Jobs
        • Snapshots
        • Clambda Jobs
        • State Operations
        • Replacement Rate
      • Details
        • Overall
        • POR Insights
        • HW Assets
        • SW Assets
        • Contracts
        • App Dependency
        • Asset List
    • AIA API
    • Enterprise Discovery
      • cfxEdgeCollector
        • Deployment of cfxEdgeCollector
        • Configuration of cfxEdgeCollector
        • cfxEdgeCollector Command Line Options
        • cfxEdgeCollector Help Command
        • Working With cfxEdgeCollector
        • cfxEdgeCollector Auto Export
    • Asset Intelligence & Analytics (AIA) (Delete)
  • CloudFabrix SaaS
    • Signup
    • Navigation
    • User Roles
  • Support
    • Contact Support
Powered by GitBook
On this page
  1. CloudFabrix RDA
  2. RDA - User Guide
  3. RDA - AIOps Studio
  4. AIOps Studio - Examples

Metadata - cfxdm-dm:metadata

Metadata related cfxdm functionality using cfxdm-dm:metadata

PreviousData mapping - cfxdm - dm:mapNextData mapping - cfxdm - dm:functions

Last updated 3 years ago

dm:metadata: This cfxdm bot allows the user to use this function to check/display metadata user-selected selected/loaded dataset.

This bot is useful when a user wants to analyze metadata of the selected dataset (and the type of each column within the dataset.

The current example will use "surveys.csv" provided as a dataset to explain the functionality.

Step 1: Download the "" file to the local machine as shown below using a standard web browser.

Step 2: Upload (load) the above file into your RDA system as shown below.

  • Using a web browser, connect to the RDA system <https://<rda-ipaddress>:9998>

  • Click on the CFXDX Python 3 icon from the main landing page of the RDA launcher (as shown below)

  • Launch AIOps studio using the RDA provided text field to start AIOps studio.

Step 3: Upload the above downloaded CSV file into AIOps studio as shown below.

Select the upload option from the studio environment (as shown below).

Select the file and upload it into the studio environment (as shown below).

The studio will show the uploaded file in the left panel (as shown below).

Step 4: Create an empty dataset 'cfxdm-metadata-example" pipeline and save that in AIOps studio.

Step 5: Add the following pipeline code/commands into the empty pipeline text field that you have created in the above Step 4.

You can copy the below code into your pipeline and execute that in your environment. ##### This pipeline loads surveys.csv file into AIOps Studio. ##### AIOps studio stores the data loaded from surveys.csv file ##### into local dataset named 'cfxdm-metadata'. ##### prints the metadata from the dataset @files:loadfile filename = "surveys.csv" --> @dm:save name = 'cfxdm-metadata' --> *dm:filter --> @dm:metadata

In the above pipeline code, we added the '@dm:metadata' bot/function to the pipeline to fetch/extract metadata details of the 'cfxdm-metadata' that was created during the runtime from the surveys.csv file.

Step 6: Click the button 'Verify' and Click the 'Save' button (AIOps studio verifies the pipeline syntax and stores the pipeline into the earlier created 'cfxdm-metadata-example' pipeline as shown below.

Step 7: Users can now execute the above-created pipeline by clicking the 'Execute' button. Once the users click the 'Execute' button, AIOPs studio executes the pipeline that will load the user-defined file, save the loaded file into a local dataset named 'cfxdm-metadata' as shown below.

Step 8: Verify the data using AIOps Studio using 'Inspect --> Output --> Get Data'

Step 9: @dm:metadata has additional filtering capabilities using which users can query specific metadata details/data as shown below.

Include filter - Column name regex pattern to include in the output (include patterns are matched first and then exclude)

Following examples provide usage of include attribute using a simple regular '| (OR)' operation.

Example a:

You can copy the below code into your pipeline and execute that in your environment. ##### This pipeline loads surveys.csv file into AIOps Studio. ##### AIOps studio stores the data loaded from surveys.csv file ##### into local dataset named 'cfxdm-metadata'. ##### prints the metadata from the dataset using a simple regular '|' @files:loadfile filename = "surveys.csv" --> @dm:save name = 'cfxdm-metadata' --> *dm:filter --> @dm:metadata include = 'plot_id|record_id'

Once you execute the above pipeline using the 'include' filter, the output will apply the filter and show the data based on the filter (as shown below).

Verify the data using AIOps Studio using 'Inspect --> Output /Data --> Get Data'

Example b:

##### This pipeline loads surveys.csv file into AIOps Studio. ##### AIOps studio stores the data loaded from surveys.csv file ##### into local dataset named 'cfxdm-metadata'. ##### prints the metadata from the dataset using '.*id' regular expression @files:loadfile filename = "surveys.csv" --> @dm:save name = 'cfxdm-metadata' --> *dm:filter --> @dm:metadata include = '.*id'

Exclude filter - Column name regex pattern to exclude in the output.

##### This pipeline loads surveys.csv file into AIOps Studio. ##### AIOps studio stores the data loaded from surveys.csv file ##### into local dataset named 'cfxdm-metadata'. ##### prints the metadata from the dataset using '.*id' regular expression @files:loadfile filename = "surveys.csv" --> @dm:save name = 'cfxdm-metadata' --> *dm:filter --> @dm:metadata exclude = '.*id'

surveys.csv
Type "studio()" into the text field of RDA to load AIOps studio UI
Select 'surveys.csv' file for upload
Uploaded file is visible on the left panel of studio environment
Create an empty pipeline from studio environment
Add pipeline code in the empty pipeline that was created and save the code.
Sucessful execution of pipeline
Output of the pipeline is providing metadata of the dataset
Prints the metadata from the dataset using column name regex pattern 'plot_id|record_id'
Prints the metadata from the dataset using column name regex pattern to include in the output.
Prints the metadata from the dataset using column name regex pattern to include '.*id'