Search
K
Links

Hostname (HostnameGenerator)

The Hostname generator generates random host names, based on the English language.
The Hostname generator does not support linking. It can be either self-consistent or consistent with another column. You cannot configure differential privacy.
The metadata object is populated from the BaseMetadata object.
There is no generator-specific configuration.
{
"presetId": "string",
"generatorId": "HostnameGenerator",
"schema": "string",
"table": "string",
"column": "string",
"dataType": "string" //MongoDB only
"metadata": {
"isConsistent": boolean,
"consistencyColumn": "string"
},
"encryptionProcessor": "x-on", //To use configured Tonic data encryption
"customValueProcessor": "string" //If custom value processor assigned
}

Example replacement

In the following example replacement for the Hostname generator, consistency is disabled.
{
"name": "hostname",
"schema": "public",
"table": "events",
"links": [
{
"presetId": "HostnameGenerator",
"generatorId": "HostnameGenerator",
"schema": "public",
"table": "events",
"column": "hostname",
"metadata": {
"isConsistent": false
}
}
]
}