Hey guys, We are going to use SigNoz to collect some client logs and generate a line chart based on the properties of the logs. How do we write rules in the Query Builder?
For example, my log is first picture，How should I write a rule that can generate values where x is time and y is data.fcp?
11/02/2023, 5:07 PM
@Zhichao Gao I think extracting this data from log and plot may be costly. Is it possible you can generate custom metrics from this data and plot the metrics directly?
11/03/2023, 4:29 AM
@Zhichao Gao you can parse the field from the logs and use that field in the aggregation input box.
@Raj Kamal can help to parse the
field from the logs
11/03/2023, 5:38 AM
Because in addition to these indicators, there may be some customized indicators in the business. It is hoped that in addition to the aggregated charts, these reported indicators can be found, and the original reported information can be found. There will be log records in the Log. The scenario may be more Suitable for some. @Pranay
@Ankit Nayan I tried putting the data on the same layer to handle this and it seems to be ok.
11/06/2023, 4:44 AM
Nice, so are you able to plot these graphs now in SigNoz?
11/07/2023, 3:03 AM
Yes，It can be done
11/07/2023, 5:48 PM
Might be interesting if you can write a tutorial in our docs on how you did this - would be useful for other users who may want to try something similar 🙂
Here's our docs repo if you want to raise a PR - https://github.com/signoz/signoz.io
cc @Ashu@Nočnica Mellifera if you need any help on how to raise the PR etc