{
    "modelName": "metricator-nmon-collect",
    "displayName": "NMON Processing - Data Collect",
    "description": "Collect and Processing statistics and events of NMON raw data files",
    "objectSummary": {
        "Event-Based": 2,
        "Transaction-Based": 0,
        "Search-Based": 0
    },
    "objects": [
        {
            "objectName": "NMON_Processing",
            "displayName": "NMON Processing - Conversion of Nmon Raw Data",
            "parentName": "BaseEvent",
            "fields": [
                {
                    "fieldName": "Date_of_Nmon_Data",
                    "owner": "NMON_Processing",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "Date of Nmon Data",
                    "comment": ""
                },
                {
                    "fieldName": "INTERVAL",
                    "owner": "NMON_Processing",
                    "type": "number",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "Interval between measures",
                    "comment": ""
                },
                {
                    "fieldName": "Nmon_ID",
                    "owner": "NMON_Processing",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "Nmon raw file ID",
                    "comment": ""
                },
                {
                    "fieldName": "Nmon_version",
                    "owner": "NMON_Processing",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "Version of Nmon",
                    "comment": ""
                },
                {
                    "fieldName": "SNAPSHOTS",
                    "owner": "NMON_Processing",
                    "type": "number",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "Nbr of Snapshots",
                    "comment": ""
                },
                {
                    "fieldName": "Time_of_Nmon_Data",
                    "owner": "NMON_Processing",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "Time of Nmon Data",
                    "comment": ""
                },
                {
                    "fieldName": "elapsed_in_seconds",
                    "owner": "NMON_Processing",
                    "type": "number",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "Elapsed in Seconds",
                    "comment": ""
                },
                {
                    "fieldName": "hostname",
                    "owner": "NMON_Processing",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "hostname",
                    "comment": ""
                },
                {
                    "fieldName": "logical_cpus",
                    "owner": "NMON_Processing",
                    "type": "number",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "Nbr of Logical CPUs",
                    "comment": ""
                },
                {
                    "fieldName": "nbr_lines",
                    "owner": "NMON_Processing",
                    "type": "number",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "Nbr of Lines",
                    "comment": ""
                },
                {
                    "fieldName": "nmonparser_version",
                    "owner": "NMON_Processing",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "Version of nmonparser",
                    "comment": ""
                },
                {
                    "fieldName": "operating_system",
                    "owner": "NMON_Processing",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "Operating System",
                    "comment": ""
                },
                {
                    "fieldName": "python_version",
                    "owner": "NMON_Processing",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "Version of Python",
                    "comment": ""
                },
                {
                    "fieldName": "size_in_bytes",
                    "owner": "NMON_Processing",
                    "type": "number",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "Size in Bytes of Nmon raw file",
                    "comment": ""
                },
                {
                    "fieldName": "splunk_home",
                    "owner": "NMON_Processing",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "splunk_home",
                    "comment": ""
                },
                {
                    "fieldName": "virtual_cpus",
                    "owner": "NMON_Processing",
                    "type": "number",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "Nbr of Virtual CPUs",
                    "comment": ""
                },
                {
                    "fieldName": "converter_inuse",
                    "owner": "NMON_Processing",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "converter_inuse",
                    "comment": ""
                },
                {
                    "fieldName": "interpreter_version",
                    "owner": "NMON_Processing",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "interpreter_version",
                    "comment": ""
                },
                {
                    "fieldName": "perl_version",
                    "owner": "NMON_Processing",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "Version of Perl",
                    "comment": ""
                },
                {
                    "fieldName": "addon_type",
                    "owner": "NMON_Processing",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "addon_type",
                    "comment": ""
                },
                {
                    "fieldName": "addon_version",
                    "owner": "NMON_Processing",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "addon_version",
                    "comment": ""
                },
                {
                    "fieldName": "_time",
                    "owner": "BaseEvent",
                    "type": "timestamp",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "_time",
                    "comment": ""
                },
                {
                    "fieldName": "host",
                    "owner": "BaseEvent",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "host",
                    "comment": ""
                },
                {
                    "fieldName": "source",
                    "owner": "BaseEvent",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "source",
                    "comment": ""
                },
                {
                    "fieldName": "sourcetype",
                    "owner": "BaseEvent",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "sourcetype",
                    "comment": ""
                }
            ],
            "calculations": [
                {
                    "outputFields": [
                        {
                            "fieldName": "size_in_MB",
                            "owner": "NMON_Processing",
                            "type": "number",
                            "fieldSearch": "",
                            "required": false,
                            "multivalue": false,
                            "hidden": false,
                            "editable": true,
                            "displayName": "Size in MB of Nmon raw file",
                            "comment": ""
                        }
                    ],
                    "calculationID": "a9oa6mjlvy7rpb9",
                    "owner": "NMON_Processing",
                    "editable": true,
                    "comment": "",
                    "calculationType": "Eval",
                    "expression": "round((size_in_bytes/1000/1000),2)"
                }
            ],
            "constraints": [
                {
                    "search": "eventtype=nmon:processing",
                    "owner": "NMON_Processing"
                }
            ],
            "lineage": "NMON_Processing"
        },
        {
            "objectName": "Errors_in_Processing",
            "displayName": "Errors in Processing",
            "parentName": "NMON_Processing",
            "fields": [
                {
                    "fieldName": "Date_of_Nmon_Data",
                    "owner": "NMON_Processing",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "Date of Nmon Data",
                    "comment": ""
                },
                {
                    "fieldName": "INTERVAL",
                    "owner": "NMON_Processing",
                    "type": "number",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "Interval between measures",
                    "comment": ""
                },
                {
                    "fieldName": "Nmon_ID",
                    "owner": "NMON_Processing",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "Nmon raw file ID",
                    "comment": ""
                },
                {
                    "fieldName": "Nmon_version",
                    "owner": "NMON_Processing",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "Version of Nmon",
                    "comment": ""
                },
                {
                    "fieldName": "SNAPSHOTS",
                    "owner": "NMON_Processing",
                    "type": "number",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "Nbr of Snapshots",
                    "comment": ""
                },
                {
                    "fieldName": "Time_of_Nmon_Data",
                    "owner": "NMON_Processing",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "Time of Nmon Data",
                    "comment": ""
                },
                {
                    "fieldName": "elapsed_in_seconds",
                    "owner": "NMON_Processing",
                    "type": "number",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "Elapsed in Seconds",
                    "comment": ""
                },
                {
                    "fieldName": "hostname",
                    "owner": "NMON_Processing",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "hostname",
                    "comment": ""
                },
                {
                    "fieldName": "logical_cpus",
                    "owner": "NMON_Processing",
                    "type": "number",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "Nbr of Logical CPUs",
                    "comment": ""
                },
                {
                    "fieldName": "nbr_lines",
                    "owner": "NMON_Processing",
                    "type": "number",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "Nbr of Lines",
                    "comment": ""
                },
                {
                    "fieldName": "nmonparser_version",
                    "owner": "NMON_Processing",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "Version of nmonparser",
                    "comment": ""
                },
                {
                    "fieldName": "operating_system",
                    "owner": "NMON_Processing",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "Operating System",
                    "comment": ""
                },
                {
                    "fieldName": "python_version",
                    "owner": "NMON_Processing",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "Version of Python",
                    "comment": ""
                },
                {
                    "fieldName": "size_in_bytes",
                    "owner": "NMON_Processing",
                    "type": "number",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "Size in Bytes of Nmon raw file",
                    "comment": ""
                },
                {
                    "fieldName": "splunk_home",
                    "owner": "NMON_Processing",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "splunk_home",
                    "comment": ""
                },
                {
                    "fieldName": "virtual_cpus",
                    "owner": "NMON_Processing",
                    "type": "number",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "Nbr of Virtual CPUs",
                    "comment": ""
                },
                {
                    "fieldName": "converter_inuse",
                    "owner": "NMON_Processing",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "converter_inuse",
                    "comment": ""
                },
                {
                    "fieldName": "interpreter_version",
                    "owner": "NMON_Processing",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "interpreter_version",
                    "comment": ""
                },
                {
                    "fieldName": "perl_version",
                    "owner": "NMON_Processing",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "Version of Perl",
                    "comment": ""
                },
                {
                    "fieldName": "addon_type",
                    "owner": "NMON_Processing",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "addon_type",
                    "comment": ""
                },
                {
                    "fieldName": "_time",
                    "owner": "BaseEvent",
                    "type": "timestamp",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "_time",
                    "comment": ""
                },
                {
                    "fieldName": "host",
                    "owner": "BaseEvent",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "host",
                    "comment": ""
                },
                {
                    "fieldName": "source",
                    "owner": "BaseEvent",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "source",
                    "comment": ""
                },
                {
                    "fieldName": "sourcetype",
                    "owner": "BaseEvent",
                    "type": "string",
                    "fieldSearch": "",
                    "required": false,
                    "multivalue": false,
                    "hidden": false,
                    "editable": true,
                    "displayName": "sourcetype",
                    "comment": ""
                }
            ],
            "calculations": [],
            "constraints": [
                {
                    "search": "ERROR",
                    "owner": "NMON_Processing.Errors_in_Processing"
                }
            ],
            "lineage": "NMON_Processing.Errors_in_Processing"
        }
    ],
    "objectNameList": [
        "NMON_Processing",
        "Errors_in_Processing"
    ]
}
