INPUT_OBJECT

KubernetesLogParams

link GraphQL Schema definition

  • input KubernetesLogParams {
  • # The name of the container within the pod. If omitted, logs for all containers
  • # within the pod are returned
  • containerName: String
  • # If true, print the logs for the previous instance of the container in a pod if
  • # it exists
  • includePrevious: Boolean
  • # Include timestamps of log records as received by Tanzu Hub. If existing log
  • # messages are requested via the `tailLines` or `includePrevious` field, these
  • # records will have timestamps reflecting the time of the query rather than their
  • # original emission
  • includeTimestamps: Boolean
  • # Include logs that occurred since the given relative offset to the current time
  • # in seconds
  • sinceSeconds: Int
  • # Include the last number of log lines. Supply -1 to show all log lines.
  • tailLines: Int
  • }