Table of Contents

Search

  1. Preface
  2. Introduction to Edge Data Streaming Custom Entity Types
  3. Managing Custom Entity Types
  4. Custom Entities from Maven Archetypes
  5. REST APIs
  6. HTTP Request and Response Parameters
  7. Sample JSON Requests and Responses
  8. Glossary

Developer Guide

Developer Guide

Transformation Parameters

Transformation Parameters

The following table describes the common HTTP request parameters for transformations and marshallers:
Parameters
Description
name
Name of the transformation.
pluginId
Identifier of the transformation. For example, _VDS_TRX_COMPRESS, _VDS_TRX_DECOMPRESS, _VDS_TRX_INSERT_STR, _VDS_TRX_JS, _VDS_TRX_REGEX, or _VDS_TRX_UDPARSER.
runMode
Indicates whether the transformation runs on the previous entity or the next entity in the data flow. You can specify one the following modes:
  • WITH_PREVIOUS
  • WITH_NEXT
config
Configuration for the transformation.
stats
Statistics for the transformation.

Compress Data Transformation

The following table describes the HTTP request parameters for a Compress Data transformation:
Parameters
Description
compressionTechniqueIdx
Compression technique that the transformation type uses to compress data. For example, 0, 1, or 2. Default is 0.

Insert String Transformation

The following table describes the HTTP request parameters for a Insert String transformation:
Parameters
Description
stringExpression
Token expression that describes how to transform each record.

JavaScript Transformation

The following table describes the HTTP request parameters for a JavaScript transformation:
Parameters
Description
js
JavaScript transformation program to transform records and insert delimiters. The program must include the filter function that applies the transformations. Maximum length is 4000 characters.

Regex Filter Transformation

The following table describes the HTTP request parameters for a Regex Filter transformation:
Parameters
Description
regex
Java regular expression to apply to the line of text. For example, you can use the following regular expression:
^.*\[.*\].*$

Unstructured Data Parser Transformation

The following table describes the HTTP request parameters for an Unstructured Data Parser transformation:
Parameters
Description
inputPattern
Pattern that describes how to parse the data. The format must match the pattern defined in the Grok pattern file or the regular expression you specify in Custom Regex.
userRegexes
Regular expression that applies to any part of the input that is not defined in the input pattern.

0 COMMENTS

We’d like to hear from you!