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
  • AWS Assets
  • Microsoft Azure Assets
  • Microsoft Azure Insights
  • Cluster Prediction
  • Cluster Pipeline
  • Data Generation Examples
  • Email
  • JIRA
  • Regression Pipeline
  • SLACK
  1. CloudFabrix RDA
  2. RDA - User Guide
  3. RDA Terminal

Examples using Terminal / Commandline

It is assumed that the instances shown as part of tags are integrated with RDA. CloudFabrix recommends to limiting the number of rows displayed at the RDA command line.

The following are some of the examples that can be executed for testing purposes. Please note depending on the type of the integration, the tag name could differ or the tag may not exists in your environment (For example, when there is no integration with AWS, then AWS tags shown and respective examples will not work)

AWS Assets

​> tag *aws-prod:us-east-1:ec2:instances  > data --> /tmp/output/aws-east-instances.csv​> tag *aws-prod:us-east-1:ec2:my-images > data --> /tmp/output/aws-east-images.csv​> tag *aws-prod:us-east-1:ec2:volumes > data --> /tmp/output/aws-east-volumes.csv​> tag *aws-prod:us-east-1:ec2:vpcs > data --> /tmp/output/aws-east-vpcs.csv​> tag  *aws-prod:us-east-1:ec2:addresses > data --> /tmp/output/aws-east-addresses.csv​> tag *aws-prod:us-east-1:s3:buckets> data --> /tmp/output/aws-east-buckets.csv​> tag @aws-prod:us-east-1:ce:daily-costs   > data date is during this month --> /tmp/output/aws-east-costs.csv

Microsoft Azure Assets

> limit 10 #This limits number of rows to 10> tag *azure:instances  > data --> /tmp/output/azure-instances.csv​> tag *azure:my-images > data --> /tmp/output/azure-images.csv​> tag *azure:volumes > data --> /tmp/output/azure-volumes.csv​> tag *azure:networks > data --> /tmp/output/azure-networks.csv​> tag  *azure:networkips > data --> /tmp/output/azure-networkips.csv​> tag *azure:networklbs> data --> /tmp/output/azure-networklbs.csv​> tag *azure:storagecontainers> data --> /tmp/output/azure-storagecontainers.csv

Microsoft Azure Insights

# Azure Insights - metrics, alarms, log analytics> limit 10​> tag *azurein:logs:workspaces  > data --> /tmp/output/azurein-workspaces.csv​> tag @azurein:logs:analytics > data WorkspaceID is ' /tmp/output/azurein-analytics.csv​> tag *azurein:metrics-list > data --> /tmp/output/azurein-metrics-list.csv​> tag @azurein:metric-data > data objID is '/subscriptions//resourceGroups/macaw_resource_grp/providers/Microsoft.Compute/virtualMachines/sp-lb-vm' and metricnames is 'Percentage CPU' and timestamp is after -30 days --> /tmp/output/azurein-metric-data.csv​> tag  *azurein:metric-alarms > data --> /tmp/output/azurein-metric-alarms.csv

Cluster Prediction

> limit 100> tag #es:winevents> data `@timestamp` is after -30 days GET message as 'description' \    --> @cfxusml:logprediction \    --> /tmp/win_event_predicted_clusters.csv

Cluster Pipeline

> limit 2000> tag #es:winevents> data * get message as 'description' \    --> @cfxusml:logclustering  \    --> /tmp/win_event_clusters.csv

Data Generation Examples

> limit 100​# Log Template> tag @datagen:fortinet_logs> data timestamp is after -15 mins and LOCAL_SRC_IP is '' and rate is '5/min' \        --> /tmp/fortinet_logs.csv# Ensure you enter valid IP address in the above data statement # CPU Timeseries data (smoothing with high std)> tag @datagen:cpu> data timestamp is after -15 mins and rate is '60/min'​# Memory Timeseries data (smoothing with low std)> tag @datagen:memory> data timestamp is after -15 mins and rate is '60/min'​# Network IO Timeseries data (no smothing high std)> tag @datagen:network_io> data timestamp is after -15 mins and rate is '60/min'   

Email

> limit 10​> tag *slack:users​> data --> @email:sendmail \    subject = "Slack Users List" and \    message = "Slack Users are attched" and \    recipient = 'cfxdx.emails@gmail.com' # the above recipient is example email address, change to suitable

JIRA

> limit 50​> tag #cfxqa:issues​> data project='SaaS' and created after 'Jan 1 2020' and (resolution is not 'Fixed' or resolution is null)

Regression Pipeline

> tag @cfxobs:metric-range> data metric is '100 - (avg by (instance) (irate(windows_cpu_time_total{mode="idle"}[1m])) * 100)' \        and timestamp is after -30 days and step is '60m'   \            --> *cfxql:filter instance is ':9443' \            --> @cfxml:1hour --> /tmp/output/regression.csv# Replace  with correct IP address

SLACK

# Slack Userlist and Fileupload> limit 10​> tag *slack:users> data --> /tmp/output/slack-users.csv​> tag *aws-prod:us-east-1:ec2:instances> data --> @slack:fileupload:test_cfxdx_slack channel is 'test_cfxdx_slack' and \                message is 'AWS Instances Report' and format is 'xlsx' and \                title is 'AWS Daily Instances Report.xlsx'
PreviousRDA TerminalNextRDA - Bot Documentation

Last updated 4 years ago