Skip to content

Commit 27e13f4

Browse files
committed
Added date-time example
Signed-off-by: Mike Raineri <[email protected]>
1 parent ca1d890 commit 27e13f4

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/rf_logs.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,18 @@ It will then attempt to locate the appropriate log service via the following log
6464
Once the desired log service is found, the tool will either perform the `ClearLog` action if *clear* is provided, or read and display the log entries.
6565
If displaying the log entries, it will apply the filters and restrictions specified by the *first*, *max*, *starttime*, and *endtime* arguments.
6666

67-
Example:
67+
Example; read an entire log:
6868

6969
```
7070
$ rf_logs.py -u root -p root -r https://192.168.1.100 -m BMC
7171
Id | Timestamp | Message
7272
1 | 2012-03-07T14:44:00Z | System May be Melting
7373
```
74+
75+
Example; read a log with a specified date-time range:
76+
77+
```
78+
$ rf_logs.py -u root -p root -r https://192.168.1.100 -m BMC -start 2012-03-01T00:00:00Z -end 2012-03-10T00:00:00Z
79+
Id | Timestamp | Message
80+
1 | 2012-03-07T14:44:00Z | System May be Melting
81+
```

0 commit comments

Comments
 (0)