Learn how to view the list of files synchronized for a file gateway through reverse synchronization or express synchronization on the Simple Log Service console.
Prerequisites
Log monitoring must be enabled for the file gateway. For more information, see Enable log monitoring.
Procedure
-
Log on to the Simple Log Service console.
-
In the Projects section, click the project configured for log monitoring.
-
In the left-side navigation pane, click Logstores. Find the Logstore configured for log monitoring, and then click to view the logs.
Note-
If the
IndexConfigNotExisterror appears, indexing is not enabled for the Logstore. To fix this, click Enable Index on the right side of the page and use the default settings. -
If an index is not configured, click Index Attributes and select .
-
-
Enter a query in the format
<Gateway ID> and <OSS bucket name> and rsync, and then click Search & Analysis. The list of synchronized files appears on the Raw Logs tab.Note-
The default query time range in Simple Log Service is 15 seconds. You can adjust the time range.
-
You can customize query statements. For more information, see Search syntax and functions.
-
> Search & Analysis