Kaspersky Machine Learning for Anomaly Detection

Example JSON file containing a tag configuration

Below is an example of a JSON file containing descriptions of tags, their configuration, and presets.

A user with administrator privileges uploads the tag configuration in the SettingsTags section. The configuration of the presets described in the JSON file is also uploaded to Kaspersky MLAD. A user with operator privileges can upload only preset configurations.

{

"tags": {

"1": {

"id": 1,

"name": "Sep_level_setpoint",

"description": "Separator-level setpoint",

"tag_type": "",

"measurement_units": "%",

"plc_id": "TEP",

"real_type": "line",

"predicted_type": "spline",

"max": null,

"min": null,

"high_limit": null,

"low_limit": null,

"cls": "level",

"type": "SV",

"position": [],

"icon": null,

"expressions": null,

"is_virtual": false,

"bias": 0,

"multiplier": 1,

"threshold_lines": null

},

...

"121": {

"id": 121,

"name": "No reactor temperature response",

"description": "Rule",

"tag_type": "13",

"measurement_units": "",

"plc_id": "",

"real_type": "line",

"predicted_type": "spline",

"max": null,

"min": null,

"high_limit": null,

"low_limit": null,

"cls": "level",

"type": "PV",

"position": [],

"icon": null,

"expressions": null,

"is_virtual": false,

"bias": 0,

"multiplier": 1,

"threshold_lines": null

}

},

"tags_structure": [

{

"directory_id": "root",

"name": "Root",

"description": null,

"children": [

"tags",

"trash_bin"

],

"icon": null

},

...

{

"directory_id": "tags",

"name": "Chemical plant",

"description": null,

"children": [

"Reactor",

"Separator",

"Stripper",

"Product",

"Purge",

"Cooler",

"a5eeb30739a742d3955765608ff73229"

],

"icon": null

}

],

"presets": [

{

"name": "Product",

"tag_list": [

51,

52,

53,

49,

50

],

"evaluations": {

"axis_x_name": "",

"evaluations": []

},

"css_class": null,

"icon": "logout-signout"

},

...

{

"name": "Cooler",

"tag_list": [

64

],

"evaluations": {

"axis_x_name": "",

"evaluations": []

},

"css_class": null,

"icon": "graph"

}

],

"version": 2

}