I have the SQL Extension running on my environment, adding logs automatically. I would like to extract a value from the logs using log metrics, but it is not working.
where I used <<content=“\\MSSQL\\DATA\\”>> as filter for the log entries. I’m using the attributes included in each log entry, but metric extraction rule is not working:
I’ve created the processing rule using log viewer as you said. In addition, I’ve created a processor definition, based in the automatic log content in rule for testing:
Attribute “file_name”, “database”, “file_size” and “server” are already visible automatically in the Log Viewer, as mentioned before, and also included in the log processing rule. But the metric is not available yet.