Hi,
This might be a super basic question but I have a log and I need to create a dashboard that represents a value found in each log for that day of a file uploaded and the count of the records
EXAMPLE
: 153 cases created out of 411 import case records for file: clientfile_20201023160218.cdreq.pgp
I need a graph that will pull the "153" out of this raw log each day.
Hi @roderickjones, can you share an event sample?
Something like this perhaps?
your_base_search
| rex "\]: (?<caseCount>\d+)[\w\s]+(?<importCount>\d+)[^\:]+:\s(?<fileName>[^\s]+)"
| timechart sum(caseCount) as totalCases, sum(importCount) as totalImports span=1d
Sidenote, replace the `sum` function for `values` if you only have 1 file per day.