Tirthesh Bohra
11/12/2024, 6:07 AMTirthesh Bohra
11/12/2024, 6:12 AMotelCollectorEndpoint: "url"
Tirthesh Bohra
11/12/2024, 6:52 AMnitya-signoz
11/14/2024, 5:11 AMTirthesh Bohra
11/14/2024, 8:32 AMTirthesh Bohra
11/14/2024, 8:46 AMPlease use pipelines to parse severity_text https://signoz.io/docs/logs-pipelines/introduction/ .
https://signoz.io/docs/logs-pipelines/processors/#severity-parserI did add the parser but I don't see anything changing for severity text. Not sure what it's updating..
nitya-signoz
11/14/2024, 9:02 AMnitya-signoz
11/14/2024, 9:02 AMTirthesh Bohra
11/14/2024, 9:07 AM{
"start": 1731553526000,
"end": 1731575126000,
"step": 60,
"variables": {},
"compositeQuery": {
"queryType": "builder",
"panelType": "graph",
"fillGaps": false,
"builderQueries": {
"A": {
"dataSource": "logs",
"queryName": "A",
"aggregateOperator": "count",
"aggregateAttribute": {
"id": "------false",
"dataType": "",
"key": "",
"isColumn": false,
"type": "",
"isJSON": false
},
"timeAggregation": "rate",
"spaceAggregation": "sum",
"functions": [],
"filters": {
"op": "AND",
"items": [
{
"id": "8c230243",
"key": {
"key": "body.level",
"dataType": "",
"type": "",
"isColumn": false,
"isJSON": false
},
"op": "in",
"value": [
"error",
"info"
]
}
]
},
"expression": "A",
"disabled": false,
"stepInterval": 60,
"having": [],
"limit": null,
"orderBy": [
{
"columnName": "timestamp",
"order": "desc"
}
],
"groupBy": [
{
"key": "severity_text",
"dataType": "string",
"type": "",
"isColumn": true,
"isJSON": false,
"id": "severity_text--string----true"
}
],
"legend": "",
"reduceTo": "avg"
}
}
}
}
Response :
{
"status": "error",
"data": {},
"errorType": "internal",
"error": "error in builder queries"
}
https://signoz-community.slack.com/archives/C01HWQ1R0BC/p1731574955860999?thread_ts=1731391679.001799&cid=C01HWQ1R0BCTirthesh Bohra
11/14/2024, 9:10 AMnitya-signoz
11/14/2024, 9:11 AMTirthesh Bohra
11/14/2024, 9:12 AMnitya-signoz
11/14/2024, 9:12 AMTirthesh Bohra
11/14/2024, 9:13 AMnitya-signoz
11/14/2024, 9:14 AMTirthesh Bohra
11/14/2024, 11:28 AMTirthesh Bohra
11/14/2024, 11:30 AMnitya-signoz
11/14/2024, 12:25 PMTirthesh Bohra
11/21/2024, 4:58 AM{
"status": "error",
"errorType": "bad_data",
"error": "could not simulate log pipelines processing.\nCollector errors: could not create logs processing simulator: failed to parse collector config: cannot unmarshal the configuration: decoding failed due to the following error(s):\n\nerror decoding 'processors': error reading configuration for \"signozlogspipeline/pipeline_EmptySeverityFix\": decoding failed due to the following error(s):\n\nerror decoding 'operators[1]': unmarshal to severity_parser: decoding failed due to the following error(s):\n\nerror decoding 'parse_from': unrecognized prefix"
}
Pipeline :nitya-signoz
11/21/2024, 5:03 AMlog.iostream
is something inside json body ? if yes you will need to have a json parser before it. You can specify the field inside a body directly . Please check this doc on how to parse json to a temp attribute and then use it https://signoz.io/docs/logs-pipelines/guides/json/Tirthesh Bohra
11/21/2024, 5:04 AMnitya-signoz
11/21/2024, 5:04 AMattributes["log.iostream"]
Tirthesh Bohra
11/21/2024, 5:05 AMnitya-signoz
11/21/2024, 5:05 AMTirthesh Bohra
11/21/2024, 5:07 AMTirthesh Bohra
11/21/2024, 5:07 AM