prd-a
. This focuses your stream to return all logs, regardless of context.
Type | Field | Value |
---|---|---|
Label | namespace | prd-a |
Type | Field | Value |
---|---|---|
Label | namespace | prd-a |
Label | component | query-pipeline |
fusion-indexing
, connector-plugin
, and connectors
components provide logs related to the indexing service.
component
label instead of container
?The values available for the component
label are also found for container
, and the logs are identical. However, component
values can be used for examining logs and metrics.In general, prefer using the component
label, so you can reuse the query for viewing metrics. Use the container
label when you need logs for a value not associated with the component
label.Type | Field | Value |
---|---|---|
Label | namespace | prd-a |
Label | component | query-pipeline |
Label | pod | prd-a-query-pipeline-f9b9494c4-ws6nm |
Type | Field | Value |
---|---|---|
Label | namespace | prd-a |
Label | component | query-pipeline |
Label | pod | prd-a-query-pipeline-f9b9494c4-ws6nm |
Operations | Line contains | ERROR |
ERROR
to match the term “error” as well, use the Line contains regex match operation, and prefix the query term with (?i)
, which ignores the case. For example, (?i)ERROR
will match “ERROR”, “error”, “Error”, and other variants..query_rewrite.sidecar
. Remove those errors from the log stream by adding a Line does not contain operation.
Type | Field | Value |
---|---|---|
Label | namespace | prd-a |
Label | component | query-pipeline |
Label | pod | prd-a-query-pipeline-f9b9494c4-ws6nm |
Operations | Line contains | ERROR |
Operations | Line does not contain | .query_rewrite.sidecar |