-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
176 lines (171 loc) · 6.04 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# Configuration parameters for the log generator
CONFIG:
duration_normal: 10 # Duration of normal log generation periods in seconds
duration_peak: 2 # Duration of peak log generation periods in seconds
rate_normal_min: 0.0001 # Minimum log generation rate during normal periods (MB/s)
rate_normal_max: 0.1 # Maximum log generation rate during normal periods (MB/s)
rate_peak: 0.500 # Log generation rate during peak periods (MB/s)
log_line_size: 100 # Approximate size of each log line in bytes
base_exit_probability: 0.05 # Base probability to exit early from a log generation segment
rate_change_probability: 0.1 # Probability to change the rate_max during random rate generation
rate_change_max_percentage: 0.1 # Max percentage change when rate_max is altered
write_to_file: true # If true, logs will be written to a file; if false, logs will be printed to stdout
log_file_path: 'logs.txt' # Path to the log file
log_rotation_enabled: true # If true, log rotation is enabled
log_rotation_size: 50 # Size threshold for log rotation in MB
http_format_logs: true # If true, logs will be in HTTP log format
stop_after_seconds: 20 # If -1, the script runs indefinitely; else, stops after specified seconds
custom_app_names: [] # List of custom application names to include in logs
custom_log_format: "${timestamp}, ${log_level}, ${message}" # Custom format string for logs
logging_level: 'INFO' # Logging level for the script ('DEBUG', 'INFO', 'WARNING', 'ERROR')
# Log levels to use in the logs
log_levels:
- DEBUG
- INFO
- WARNING
- ERROR
# HTTP status codes and corresponding messages
http_status_codes:
'200 OK':
- 'API request received'
- 'API response sent'
- 'Application deployment completed'
- 'Application deployment started'
- 'Application rollback completed'
- 'Application rollback initiated'
- 'Backup completed successfully'
- 'Cache cleared'
- 'Configuration updated'
- 'Database connection established'
- 'Data fetched successfully'
- 'Data processed successfully'
- 'Email sent successfully'
- 'File uploaded successfully'
- 'New user registered'
- 'Password change requested'
- 'Password change successful'
- 'Payment transaction completed'
- 'Scheduled task completed'
- 'Scheduled task started'
- 'Service health check passed'
- 'Service started'
- 'Service stopped'
- 'Session token refreshed'
- 'SMS sent successfully'
- 'User account unlocked'
- 'User login successful'
- 'User logged out'
- 'User profile updated'
- 'System reboot initiated'
- 'System reboot completed'
- 'Malware removal successful'
- 'Service restored'
- 'Application error report generated'
- 'Bug report submitted'
- 'Feature request submitted'
- 'Feature request approved'
- 'System update available'
- 'System update completed'
- 'Firmware upgrade initiated'
- 'Firmware upgrade completed'
- 'User subscription created'
- 'Trial period started'
- 'Database migration started'
- 'Database migration completed'
- 'System performance optimized'
- 'Debugging session started'
- 'Debugging session ended'
- 'File download started'
- 'File download completed'
- 'Cloud resource provisioned'
- 'API key generated'
- 'System backup scheduled'
- 'Encryption key rotation started'
- 'Encryption key rotation completed'
- 'Security audit started'
- 'Security audit completed'
- 'User role updated'
- 'Load balancer updated'
- 'DNS record updated'
- 'SSL certificate renewed'
'400 Bad Request':
- 'Invalid user input detected'
- 'Configuration validation error'
- 'Credit card validation error'
- 'License key expired'
- 'Service rate limit exceeded'
- 'Service quota exceeded'
- 'Request body too large'
- 'Invalid request header'
- 'Missing required parameter'
'401 Unauthorized':
- 'User login failed'
- 'Permission denied'
- 'Unauthorized access attempt detected'
- 'Invalid authentication token'
- 'Authentication token expired'
'403 Forbidden':
- 'Permission denied'
- 'Access to resource forbidden'
- 'Account suspended'
'404 Not Found':
- 'File not found'
- 'Service endpoint deprecated'
- 'Service endpoint removed'
- 'Resource not found'
- 'User not found'
'500 Internal Server Error':
- 'Error fetching data from database'
- 'Unexpected error occurred'
- 'Resource allocation failure'
- 'Database connection lost'
- 'Cache update failed'
- 'Backup failed'
- 'Password change failed'
- 'Service health check failed'
- 'File upload failed'
- 'User profile update failed'
- 'Email delivery failed'
- 'SMS delivery failed'
- 'Payment transaction failed'
- 'User account locked'
- 'Service degraded'
- 'High memory usage detected'
- 'Memory leak detected'
- 'System backup cancelled'
- 'User subscription cancelled'
- 'Trial period ended'
- 'Database migration started'
- 'Database migration completed'
- 'Cloud resource deprovisioned'
- 'API key revoked'
- 'User role update failed'
- 'Service unavailable'
- 'Timeout error'
'503 Service Unavailable':
- 'Service temporarily unavailable'
- 'Maintenance in progress'
- 'Server overloaded'
# User agent browsers for generating user agents
user_agent_browsers:
- 'Chrome'
- 'Firefox'
- 'Safari'
- 'Edge'
- 'Opera'
- 'Brave'
# User agent systems for generating user agents
user_agent_systems:
- 'Windows NT 10.0; Win64; x64'
- 'Macintosh; Intel Mac OS X 13_4'
- 'iPhone; CPU iPhone OS 16_5 like Mac OS X'
- 'X11; Linux x86_64'
- 'Linux; Android 13; K'
- 'iPad; CPU OS 16_5 like Mac OS X'
- 'Macintosh; Intel Mac OS X 13_4_1'
- 'Windows NT 10.0; WOW64'
- 'X11; Ubuntu; Linux i686'
- 'Macintosh; Intel Mac OS X 10_15_7'
- 'Linux; Android 13; SM-S918B'
- 'Linux; Android 14; Pixel 7'
- 'ChromeOS; x86_64 15183.78.0'