For more information, including FAQs and resources, please visit the link below:
RDKM-SSO
On this Page :
A grep parameter defines report data that comes from searching a log file for a particular string.
{ "type": "grep", "marker": "T2_btime_dsLock_split", "search": "Downstream Lock Success=", "logFile": "BootTime.log", "use": "absolute" }
Defines a grep parameter
type
string
constant: the value of this property must be equal to:
"grep"
The key name to be used for this data in the generated report.
marker
string
The string for which to search within the log file.
search
string
The name of the log file to be searched.
logFile
string
This property indicates how the data for this parameter should be gathered and reported.
use
string
"use":"count"
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"count" | Indicates that the value to report for this parameter is the number of times it has occurred during the reporting interval. |
"absolute" | Indicates that the value to report for this parameter is the last actual value received, in the case of events, or found in the log file, in the case of greps. |
"csv" | Indicates that the value to report for this parameter is a comma separated list of all the actual values received, in the case of events, or found in the log file, in the case of greps. NOTE: "csv" is not currently supported in Telemetry 2.0. |
The default value is:
"absolute"
Should this marker name be included in the generated report even if the search string was not found in the log file?
reportEmpty
boolean
The default value is:
"false"