Bots From Extension: file
Read & Write From Files
This extension provides 13 bots.
Bot @files:appendfile
Bot Position In Pipeline: Sink
Save dataframe to file using filename, if file exists, append the data. Supports only CSV format.
This bot expects a Restricted CFXQL.
Each parameter may be specified using '=' operator and AND logical operation
Following are the parameters expected for this Bot
Parameter Name | Type | Default Value | Description |
---|---|---|---|
filename* | Text | Filename or URL for the output data. Only CSV files are supported for append. |
Bot @files:datasets-to-xlsx
Bot Position In Pipeline: Source
Export specified datasets to an Excel file, each dataset as a different sheet. Returns summary of export.
This bot expects a Restricted CFXQL.
Each parameter may be specified using '=' operator and AND logical operation
Following are the parameters expected for this Bot
Parameter Name | Type | Default Value | Description |
---|---|---|---|
filename* | Text | Excel filename for the exported data | |
datasets* | Text | Regular expression listing of datasets to be included in export |
Bot @files:ec-entity-analysis
Bot Position In Pipeline: Source
Processes EC zip file and Builds relationships between the entities
This bot expects a Restricted CFXQL.
Each parameter may be specified using '=' operator and AND logical operation
Following are the parameters expected for this Bot
Parameter Name | Type | Default Value | Description |
---|---|---|---|
input_zipfile_path* | Text | Path to EdgeCollector ZIP file | |
output_path* | Text | Path to store output files | |
device_ops_view | Text | False | Enable to create device-ops-view json |
device_view | Text | False | Enable to create device-view json |
poe_summary | Text | False | Enable to create poe_summary json |
Bot @files:ec-get-collected-data
Bot Position In Pipeline: Source
Parse collected JSON data from a CloudFabrix EdgeCollector ZIP Filepath
This bot expects a Restricted CFXQL.
Each parameter may be specified using '=' operator and AND logical operation
Following are the parameters expected for this Bot
Parameter Name | Type | Default Value | Description |
---|---|---|---|
filename* | Text | Path to EdgeCollector ZIP filename | |
ip_pattern | Text | .* | IP Address pattern for which data should be loaded |
ip_list | Text | Comma searated IP Addresses for which data should be loaded | |
json_path | Text | JSON path to a specific object in each input JSON file (seperated by .), example: 'base.data' |
Bot @files:ec-get-discovery-results
Bot Position In Pipeline: Sink
Parse collected JSON data from a CloudFabrix EdgeCollector Agent results
This bot expects a Restricted CFXQL.
Each parameter may be specified using '=' operator and AND logical operation
Following are the parameters expected for this Bot
Parameter Name | Type | Default Value | Description |
---|---|---|---|
input_column | Text | DISCOVERY_ZIP_FILE | Column Name in input dataframe which is usually output of EdgeCollector Agent discovery results |
ip_pattern | Text | .* | IP Address pattern for which data should be loaded |
ip_list | Text | Comma searated IP Addresses for which data should be loaded | |
json_path | Text | JSON path to a specific object in each input JSON file (seperated by .), example: 'base.data' | |
minio_file_location | Text | Location of stored Edgecollector Agent discovery file in minio |
Bot @files:ec-get-raw-data
Bot Position In Pipeline: Source
Get collected raw text from a CloudFabrix EdgeCollector ZIP File
This bot expects a Restricted CFXQL.
Each parameter may be specified using '=' operator and AND logical operation
Following are the parameters expected for this Bot
Parameter Name | Type | Default Value | Description |
---|---|---|---|
filename* | Text | Path to EdgeCollector ZIP filename | |
ip_pattern | Text | .* | IP Address pattern for which data should be loaded |
raw_filename_pattern | Text | .* | Regular expression pattern to filter for specific filenames |
Bot @files:export-content-to-zip-file
Bot Position In Pipeline: Sink
Export each row as a file into a ZIP file
This bot expects a Restricted CFXQL.
Each parameter may be specified using '=' operator and AND logical operation
Following are the parameters expected for this Bot
Parameter Name | Type | Default Value | Description |
---|---|---|---|
output_zipfile* | Text | Output ZIP filename | |
filename_column | Text | filename | Column with filename to be added to ZIP, one per each row |
content_column | Text | content | File content column |
encoding_column | Text | encoding | Column name with encoding type. Encoding type can be 'text' or 'binary'. If column not found, uses 'text' encoding |
Bot @files:get-zip-fileinfo
Bot Position In Pipeline: Sink
List information about each file within the provided ZIP File
This bot expects a Restricted CFXQL.
Each parameter may be specified using '=' operator and AND logical operation
Following are the parameters expected for this Bot
Parameter Name | Type | Default Value | Description |
---|---|---|---|
filename* | Text | Path to ZIP file | |
is_minio_file | Text | yes | 'yes' if the zip file is located in minio. Valid values are 'yes' or 'no' |
Bot @files:load-content-from-file
Bot Position In Pipeline: Sink
Load content from file specified by 'filename' column into 'content' column
This bot expects a Restricted CFXQL.
Each parameter may be specified using '=' operator and AND logical operation
Following are the parameters expected for this Bot
Parameter Name | Type | Default Value | Description |
---|---|---|---|
filename_column | Text | filename | Column with filename to be loaded per each row |
content_column | Text | content | File content column where loaded data will be placed |
encoding_column | Text | encoding | Column name with encoding type. Encoding type can be 'text' or 'binary'. If column found, uses 'text' encoding |
Bot @files:loadfile
Bot Position In Pipeline: Source
Load dataframe from file using filename, filetype, sheet and line_read parameters
This bot expects a Restricted CFXQL.
Each parameter may be specified using '=' operator and AND logical operation
Following are the parameters expected for this Bot
Parameter Name | Type | Default Value | Description |
---|---|---|---|
filename* | Text | Filename or URL for the input data | |
filetype | Text | File type is either csv/json/xlsx. If not specified, it will be derived from extension. | |
sheet | Text | Specify sheet name if file type is xlsx. If not specified, first sheet will be returned. | |
line_read | Text | no | Only applicable for JSON. By default, the whole file is loaded as JSON. If you want to load as a json object per line, set it to 'yes'. |
Bot @files:rda-get-discovery-results
Bot Position In Pipeline: Sink
Parse collected data from a CloudFabrix RDA ZIP Filepath
This bot expects a Restricted CFXQL.
Each parameter may be specified using '=' operator and AND logical operation
Following are the parameters expected for this Bot
Parameter Name | Type | Default Value | Description |
---|---|---|---|
filename* | Text | Path to ZIP file | |
type | Text | RDA collection type included within the meta.json | |
descriptors | Text | Comma separated RDA collection descriptors included within the meta.json. Eg: cucm-servers,cucm-servers | |
is_minio_file | Text | yes | 'yes' if the zip file is located in minio. Valid values are 'yes' or 'no' |
Bot @files:save-content-to-file
Bot Position In Pipeline: Sink
Save content from 'content' column into file specified by 'filename' column
This bot expects a Restricted CFXQL.
Each parameter may be specified using '=' operator and AND logical operation
Following are the parameters expected for this Bot
Parameter Name | Type | Default Value | Description |
---|---|---|---|
filename_column | Text | filename | Column with filename to be saved per each row |
content_column | Text | content | File content column |
encoding_column | Text | encoding | Column name with encoding type. Encoding type can be 'text' or 'binary'. If column not found, uses 'text' encoding |
Bot @files:savefile
Bot Position In Pipeline: Sink
Save dataframe to file using filename, filetype and sheet parameters
This bot expects a Restricted CFXQL.
Each parameter may be specified using '=' operator and AND logical operation
Following are the parameters expected for this Bot
Parameter Name | Type | Default Value | Description |
---|---|---|---|
filename* | Text | Filename for the output data | |
filetype | Text | auto | File type is either csv/json/xlsx. If not specified, it will be derived from extension. |
sheet | Text | Sheet 1 | Specify sheet name if file type is xlsx. If not specified, sheet name will be 'Sheet 1' |