{
    "defaultEnvironment": {
        "additionalUserLabels": {
            "goog-dataflow-provided-template-name": "cloud_pubsub_to_site24x7",
            "goog-dataflow-provided-template-type": "flex",
            "goog-dataflow-provided-template-version": "v1"
        }
    },
    "image": "us-docker.pkg.dev/site24x7-applogs/dataflow/v1/pubsub-to-site24x7",
    "metadata": {
        "description": "The Pub/Sub to Site24x7 template is a streaming pipeline that reads JSON-encoded messages from a Pub/Sub subscription and send them to Site24x7",
        "name": "Pub/Sub to Site24x7",
        "parameters": [
            {
                "helpText": "Pub/Sub subscription to read the input from, in the format of 'projects/your-project-id/subscriptions/your-subscription-name' (Example: projects/your-project-id/subscriptions/your-subscription-name)",
                "label": "Pub/Sub input subscription",
                "name": "inputSubscription",
                "paramType": "PUBSUB_SUBSCRIPTION",
                "regexes": [
                    "^projects\\/[^\\n\\r\\/]+\\/subscriptions\\/[^\\n\\r\\/]+$|^$"
                ]
            },
            {
                "helpText": "Your site24x7 account device key",
                "label": "Site24x7 Device Key",
                "name": "apiKey",
                "paramType": "TEXT"
            },
            {
                "defaultValue": "site24x7.com",
                "helpText": "Your site24x7 account domain (Example: site24x7.com). Defaults to: site24x7.com.",
                "isOptional": true,
                "label": "Site24x7 Domain",
                "name": "site24x7Domain",
                "paramType": "TEXT"
            },
            {
                "defaultValue": "1000",
                "helpText": "Maximum number of log records to aggregate into a batch before sending them to Site24x7 in a single HTTP POST request. Defaults to: 1000.",
                "isOptional": true,
                "label": "Batch Size",
                "name": "batchCount",
                "paramType": "NUMBER",
                "regexes": [
                    "^[0-9]+$"
                ]
            },
            {
                "defaultValue": "30",
                "helpText": "Number of seconds to wait for additional logs (up to batchCount) since the reception of the last log record in non-full batch, before flushing them to New Relic Logs. Defaults to: 30.",
                "isOptional": true,
                "label": "Flush Delay",
                "name": "flushDelay",
                "paramType": "NUMBER",
                "regexes": [
                    "^[0-9]+$"
                ]
            }
        ]
    },
    "sdkInfo": {
        "language": "JAVA"
    }
}