Rename source_filename_format in the example doc

This commit is contained in:
Jay Payne
2011年05月03日 16:32:37 +00:00
parent 4ef67abecd
commit 40c8d4cc82

View File

@@ -134,13 +134,13 @@ Running the stats system on SAIO
account_server_conf = /etc/swift/account-server/1.conf
user = <your-user-name>
[log-processor-container-stats]
[log-container-processor-stats]
swift_account = <your-stats-account-hash>
container_name = container_stats
log_dir = /var/log/swift/stats/
source_filename_format = %Y%m%d%H_*
source_filename_format = container-stats-%Y%m%d%H_*
class_path = swift.stats.stats_processor.StatsLogProcessor
container_server_conf = /etc/swift/container-server/1.conf
account_server_conf = /etc/swift/container-server/1.conf
user = <your-user-name>
#. Add the following under [app:proxy-server] in `/etc/swift/proxy-server.conf`::
@@ -160,22 +160,22 @@ Running the stats system on SAIO
#. Create a `cron` job to run once per hour to upload the stats logs. In
`/etc/cron.d/swift-stats-log-uploader`::
10 * * * * <your-user-name> swift-log-uploader /etc/swift/log-processor.conf stats
10 * * * * <your-user-name> swift-log-uploader /etc/swift/log-processor.conf stats
#. Create a `cron` job to run once per hour to upload the container stats logs. In
`/etc/cron.d/swift-container-stats-log-uploader`::
#. Create a `cron` job to run once per hour to upload the stats logs. In
`/etc/cron.d/swift-stats-log-uploader`::
15 * * * * <your-user-name> swift-log-uploader /etc/swift/log-processor.conf container-stats
15 * * * * <your-user-name> swift-log-uploader /etc/swift/log-processor.conf container-stats
#. Create a `cron` job to run once per hour to upload the access logs. In
`/etc/cron.d/swift-access-log-uploader`::
5 * * * * <your-user-name> swift-log-uploader /etc/swift/log-processor.conf access
5 * * * * <your-user-name> swift-log-uploader /etc/swift/log-processor.conf access
#. Create a `cron` job to run once per hour to process the logs. In
`/etc/cron.d/swift-stats-processor`::
30 * * * * <your-user-name> swift-log-stats-collector /etc/swift/log-processor.conf
30 * * * * <your-user-name> swift-log-stats-collector /etc/swift/log-processor.conf
After running for a few hours, you should start to see .csv files in the
log_processing_data container in the swift stats account that was created
Reference in New Issue
openstack/swift
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.