All Downloads are FREE. Search and download functionalities are using the official Maven repository.

json.schema.metadataIngestion.databaseServiceQueryUsagePipeline.json Maven / Gradle / Ivy

There is a newer version: 1.6.0-rc1
Show newest version
{
  "$id": "https://open-metadata.org/schema/metadataIngestion/databaseServiceQueryUsagePipeline.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "DatabaseServiceQueryUsagePipeline",
  "description": "DatabaseService Query Usage Pipeline Configuration.",
  "type": "object",
  "definitions": {
    "databaseUsageConfigType": {
      "description": "Database Source Config Usage Pipeline type",
      "type": "string",
      "enum": ["DatabaseUsage"],
      "default": "DatabaseUsage"
    }
  },
  "properties": {
    "type": {
      "description": "Pipeline type",
      "$ref": "#/definitions/databaseUsageConfigType",
      "default": "DatabaseUsage"
    },
    "queryLogDuration": {
      "description": "Configuration to tune how far we want to look back in query logs to process usage data.",
      "type": "integer",
      "default": 1,
      "title": "Query Log Duration"
    },
    "stageFileLocation": {
      "description": "Temporary file name to store the query logs before processing. Absolute file path required.",
      "type": "string",
      "default": "/tmp/query_log",
      "title": "Stage File Location"
    },
    "filterCondition": {
      "description": "Configuration the condition to filter the query history.",
      "type": "string",
      "title": "Filter Condition"
    },
    "resultLimit": {
      "description": "Configuration to set the limit for query logs",
      "type": "integer",
      "default": 1000,
      "title": "Result Limit"
    },
    "queryLogFilePath": {
      "description": "Configuration to set the file path for query logs",
      "type": "string",
      "title": "Query Log File Path"
    }
  },
  "additionalProperties": false
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy