Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Workers Logs Schema #120

Open
kylehotchkiss opened this issue Jan 25, 2023 · 0 comments
Open

Add Workers Logs Schema #120

kylehotchkiss opened this issue Jan 25, 2023 · 0 comments

Comments

@kylehotchkiss
Copy link

kylehotchkiss commented Jan 25, 2023

This appears to be the default schema for workers events on BigQuery. Can we get this added (I can PR if desired)

[
  {
    "mode": "REPEATED",
    "name": "ScriptTags",
    "type": "STRING"
  },
  {
    "mode": "NULLABLE",
    "name": "ScriptName",
    "type": "STRING"
  },
  {
    "mode": "NULLABLE",
    "name": "Outcome",
    "type": "STRING"
  },
  {
    "mode": "REPEATED",
    "name": "Exceptions",
    "type": "STRING"
  },
  {
    "mode": "NULLABLE",
    "name": "EventType",
    "type": "STRING"
  },
  {
    "mode": "NULLABLE",
    "name": "EventTimestampMs",
    "type": "INTEGER"
  },
  {
    "mode": "REPEATED",
    "name": "Logs",
    "type": "STRING"
  },
  {
    "fields": [
      {
        "fields": [
          {
            "mode": "NULLABLE",
            "name": "Status",
            "type": "INTEGER"
          }
        ],
        "mode": "NULLABLE",
        "name": "Response",
        "type": "RECORD"
      },
      {
        "fields": [
          {
            "mode": "NULLABLE",
            "name": "Method",
            "type": "STRING"
          },
          {
            "mode": "NULLABLE",
            "name": "URL",
            "type": "STRING"
          }
        ],
        "mode": "NULLABLE",
        "name": "Request",
        "type": "RECORD"
      },
      {
        "mode": "NULLABLE",
        "name": "RayID",
        "type": "STRING"
      }
    ],
    "mode": "NULLABLE",
    "name": "Event",
    "type": "RECORD"
  }
]
@kylehotchkiss kylehotchkiss changed the title Workers Logs Schema Add Workers Logs Schema Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant