| Server IP : 54.233.248.239 / Your IP : 172.28.20.13 Web Server : Apache System : Linux ip-172-28-29-189 6.5.0-1014-aws #14~22.04.1-Ubuntu SMP Thu Feb 15 15:27:06 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.2.34-43+ubuntu22.04.1+deb.sury.org+1 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /opt/aws/amazon-cloudwatch-agent/logs/ |
Upload File : |
2025/11/18 18:55:30 I! Config has been translated into TOML /opt/aws/amazon-cloudwatch-agent/etc/amazon-cloudwatch-agent.toml
2025/11/18 18:55:30 D! config [agent]
collection_jitter = "0s"
debug = false
flush_interval = "1s"
flush_jitter = "0s"
hostname = ""
interval = "60s"
logfile = "/opt/aws/amazon-cloudwatch-agent/logs/amazon-cloudwatch-agent.log"
logtarget = "lumberjack"
metric_batch_size = 1000
metric_buffer_limit = 10000
omit_hostname = false
precision = ""
quiet = false
round_interval = false
run_as_user = "root"
[inputs]
[[inputs.logfile]]
destination = "cloudwatchlogs"
file_state_folder = "/opt/aws/amazon-cloudwatch-agent/logs/state"
[[inputs.logfile.file_config]]
deployment_environment = ""
file_path = "/var/log/apache2/error.log"
from_beginning = true
log_group_class = ""
log_group_name = "PRD-VINUMDAY-ErrorLog"
log_stream_name = "i-0126cfe44dee3c01d"
pipe = false
retention_in_days = -1
service_name = ""
timestamp_layout = ["2006-01-_2 15:04:05", "2006-1-_2 15:04:05"]
timestamp_regex = "(\\d{4}-\\s{0,1}\\d{1,2}-\\s{0,1}\\d{1,2} \\d{2}:\\d{2}:\\d{2})"
[[inputs.logfile.file_config]]
deployment_environment = ""
file_path = "/var/www/html/vinumday2_0/storage/logs/laravel.log"
from_beginning = true
log_group_class = ""
log_group_name = "PRD-VINUMDAY-Laravel"
log_stream_name = "i-0126cfe44dee3c01d"
pipe = false
retention_in_days = -1
service_name = ""
timestamp_layout = ["2006-01-_2 15:04:05", "2006-1-_2 15:04:05"]
timestamp_regex = "(\\d{4}-\\s{0,1}\\d{1,2}-\\s{0,1}\\d{1,2} \\d{2}:\\d{2}:\\d{2})"
[[inputs.mem]]
fieldpass = ["used_percent"]
interval = "60s"
[outputs]
[[outputs.cloudwatch]]
[[outputs.cloudwatchlogs]]
force_flush_interval = "5s"
log_stream_name = "my_log_stream_name"
mode = "EC2"
region = "sa-east-1"
region_type = "EC2M"
2025/11/18 18:55:30 I! Config has been translated into YAML /opt/aws/amazon-cloudwatch-agent/etc/amazon-cloudwatch-agent.yaml
2025/11/18 18:55:30 D! config exporters:
awscloudwatch:
force_flush_interval: 1m0s
max_datums_per_call: 1000
max_values_per_datum: 150
middleware: agenthealth/metrics
namespace: CWAgent
region: sa-east-1
resource_to_telemetry_conversion:
enabled: true
rollup_dimensions:
- - AutoScalingGroupName
- - InstanceId
- InstanceType
- []
extensions:
agenthealth/metrics:
is_usage_data_enabled: true
stats:
operations:
- PutMetricData
usage_flags:
mode: EC2
region_type: EC2M
agenthealth/statuscode:
is_status_code_enabled: true
is_usage_data_enabled: true
stats:
usage_flags:
mode: EC2
region_type: EC2M
entitystore:
mode: ec2
region: sa-east-1
processors:
awsentity/resource:
entity_type: Resource
platform: ec2
scrape_datapoint_attribute: true
ec2tagger:
ec2_instance_tag_keys:
- AutoScalingGroupName
ec2_metadata_tags:
- InstanceType
- ImageId
- InstanceId
imds_retries: 1
middleware: agenthealth/statuscode
refresh_tags_interval: 0s
refresh_volumes_interval: 0s
receivers:
telegraf_mem:
collection_interval: 1m0s
initial_delay: 1s
timeout: 0s
service:
extensions:
- agenthealth/metrics
- agenthealth/statuscode
- entitystore
pipelines:
metrics/host:
exporters:
- awscloudwatch
processors:
- ec2tagger
- awsentity/resource
receivers:
- telegraf_mem
telemetry:
logs:
encoding: console
level: info
output_paths:
- /opt/aws/amazon-cloudwatch-agent/logs/amazon-cloudwatch-agent.log
sampling:
enabled: true
initial: 2
thereafter: 500
tick: 10s
metrics:
level: None
traces:
level: None
2025/11/18 18:55:30 I! Detected runAsUser: root
2025/11/18 18:55:30 I! Changing ownership of [/opt/aws/amazon-cloudwatch-agent/logs /opt/aws/amazon-cloudwatch-agent/etc /opt/aws/amazon-cloudwatch-agent/var] to 0:0
2025-11-18T21:55:30Z I! Starting AmazonCloudWatchAgent CWAgent/1.300061.0b1289 (go1.25.3; linux; amd64) with log file /opt/aws/amazon-cloudwatch-agent/logs/amazon-cloudwatch-agent.log with log target lumberjack
2025-11-18T21:55:30Z I! AWS SDK log level not set
2025-11-18T21:55:30Z I! creating new logs agent
2025-11-18T21:55:30Z I! [logagent] starting
2025-11-18T21:55:30Z I! [logagent] found plugin cloudwatchlogs is a log backend
2025-11-18T21:55:30Z I! [logagent] found plugin logfile is a log collection
2025-11-18T21:55:30Z I! [logagent] start logs plugin file paths [/var/log/apache2/error.log /var/www/html/vinumday2_0/storage/logs/laravel.log]
2025-11-18T21:55:30Z I! [inputs.logfile] turned on logs plugin
2025-11-18T21:55:30Z I! {"caller":"service@v0.124.0/service.go:199","msg":"Setting up own telemetry..."}
2025-11-18T21:55:30Z I! {"caller":"service@v0.124.0/service.go:244","msg":"Skipped telemetry setup."}
2025-11-18T21:55:30Z I! {"caller":"service@v0.124.0/service.go:266","msg":"Starting CWAgent...","Version":"1.300061.0b1289","NumCPU":2}
2025-11-18T21:55:30Z I! {"caller":"extensions/extensions.go:41","msg":"Starting extensions..."}
2025-11-18T21:55:30Z I! {"caller":"extensions/extensions.go:45","msg":"Extension is starting..."}
2025-11-18T21:55:30Z I! {"caller":"extensions/extensions.go:62","msg":"Extension started."}
2025-11-18T21:55:30Z I! {"caller":"extensions/extensions.go:45","msg":"Extension is starting..."}
2025-11-18T21:55:30Z I! {"caller":"extensions/extensions.go:62","msg":"Extension started."}
2025-11-18T21:55:30Z I! cloudwatch: get unique roll up list [[AutoScalingGroupName] [InstanceId InstanceType] []]
2025-11-18T21:55:30Z I! {"caller":"ec2tagger/ec2tagger.go:482","msg":"ec2tagger: Check EC2 Metadata."}
2025-11-18T21:55:30Z I! cloudwatch: publish with ForceFlushInterval: 1m0s, Publish Jitter: 382.639646ms
2025-11-18T21:55:30Z I! {"caller":"ec2tagger/ec2tagger.go:376","msg":"ec2tagger: EC2 tagger has started initialization."}
2025-11-18T21:55:30Z I! {"caller":"service@v0.124.0/service.go:289","msg":"Everything is ready. Begin running and processing data."}
2025-11-18T21:55:30Z I! {"caller":"ec2tagger/ec2tagger.go:547","msg":"ec2tagger: Initial retrieval of tags succeeded"}
2025-11-18T21:55:30Z I! {"caller":"ec2tagger/ec2tagger.go:458","msg":"ec2tagger: EC2 tagger has started, finished initial retrieval of tags and Volumes"}
2025-11-18T21:55:31Z I! [logagent] piping log from PRD-VINUMDAY-ErrorLog/i-0126cfe44dee3c01d(/var/log/apache2/error.log) to cloudwatchlogs with retention -1
2025-11-18T21:55:31Z I! [logagent] piping log from PRD-VINUMDAY-Laravel/i-0126cfe44dee3c01d(/var/www/html/vinumday2_0/storage/logs/laravel.log) to cloudwatchlogs with retention -1
2025-11-18T21:55:36Z W! [outputs.cloudwatchlogs] Retried 0 time, going to sleep 120.80415ms before retrying.
2025-11-18T21:58:44Z I! {"caller":"ec2tagger/ec2tagger.go:265","msg":"ec2tagger: Refresh for volumes is no longer needed, stop refreshTicker."}
2025-11-18T21:58:44Z I! {"caller":"ec2tagger/ec2tagger.go:231","msg":"ec2tagger: Refresh for tags is no longer needed, stop refreshTicker."}
2025-11-18T22:08:42Z W! [outputs.cloudwatchlogs] Retried 0 time, going to sleep 172.340009ms before retrying.
2025-11-19T03:00:03Z W! [inputs.tail] Stopping tail as file no longer exists: /var/log/apache2/error.log
2025-11-19T03:00:03Z W! Deleting state file (/opt/aws/amazon-cloudwatch-agent/logs/state/_var_log_apache2_error.log)
2025-11-19T03:00:03Z I! [logagent] Log src has stopped for PRD-VINUMDAY-ErrorLog/i-0126cfe44dee3c01d(/var/log/apache2/error.log)
2025-11-19T03:00:04Z W! [inputs.tail] Stopping tail as file no longer exists: /var/www/html/vinumday2_0/storage/logs/laravel.log
2025-11-19T03:00:04Z W! Deleting state file (/opt/aws/amazon-cloudwatch-agent/logs/state/_var_www_html_vinumday2_0_storage_logs_laravel.log)
2025-11-19T03:00:04Z I! [logagent] Log src has stopped for PRD-VINUMDAY-Laravel/i-0126cfe44dee3c01d(/var/www/html/vinumday2_0/storage/logs/laravel.log)
2025-11-19T03:00:04Z I! [logagent] piping log from PRD-VINUMDAY-ErrorLog/i-0126cfe44dee3c01d(/var/log/apache2/error.log) to cloudwatchlogs with retention -1
2025-11-19T03:00:04Z I! [logagent] piping log from PRD-VINUMDAY-Laravel/i-0126cfe44dee3c01d(/var/www/html/vinumday2_0/storage/logs/laravel.log) to cloudwatchlogs with retention -1
2025-11-20T03:00:01Z W! [inputs.tail] Stopping tail as file no longer exists: /var/log/apache2/error.log
2025-11-20T03:00:01Z W! Deleting state file (/opt/aws/amazon-cloudwatch-agent/logs/state/_var_log_apache2_error.log)
2025-11-20T03:00:01Z I! [logagent] Log src has stopped for PRD-VINUMDAY-ErrorLog/i-0126cfe44dee3c01d(/var/log/apache2/error.log)
2025-11-20T03:00:02Z W! [inputs.tail] Stopping tail as file no longer exists: /var/www/html/vinumday2_0/storage/logs/laravel.log
2025-11-20T03:00:02Z W! Deleting state file (/opt/aws/amazon-cloudwatch-agent/logs/state/_var_www_html_vinumday2_0_storage_logs_laravel.log)
2025-11-20T03:00:02Z I! [logagent] Log src has stopped for PRD-VINUMDAY-Laravel/i-0126cfe44dee3c01d(/var/www/html/vinumday2_0/storage/logs/laravel.log)
2025-11-20T03:00:02Z I! [logagent] piping log from PRD-VINUMDAY-ErrorLog/i-0126cfe44dee3c01d(/var/log/apache2/error.log) to cloudwatchlogs with retention -1
2025-11-20T03:00:02Z I! [logagent] piping log from PRD-VINUMDAY-Laravel/i-0126cfe44dee3c01d(/var/www/html/vinumday2_0/storage/logs/laravel.log) to cloudwatchlogs with retention -1
2025-11-21T03:00:02Z W! [inputs.tail] Stopping tail as file no longer exists: /var/log/apache2/error.log
2025-11-21T03:00:02Z W! Deleting state file (/opt/aws/amazon-cloudwatch-agent/logs/state/_var_log_apache2_error.log)
2025-11-21T03:00:02Z I! [logagent] Log src has stopped for PRD-VINUMDAY-ErrorLog/i-0126cfe44dee3c01d(/var/log/apache2/error.log)
2025-11-21T03:00:02Z I! [logagent] piping log from PRD-VINUMDAY-ErrorLog/i-0126cfe44dee3c01d(/var/log/apache2/error.log) to cloudwatchlogs with retention -1
2025-11-21T03:00:02Z W! [inputs.tail] Stopping tail as file no longer exists: /var/www/html/vinumday2_0/storage/logs/laravel.log
2025-11-21T03:00:02Z I! [logagent] Log src has stopped for PRD-VINUMDAY-Laravel/i-0126cfe44dee3c01d(/var/www/html/vinumday2_0/storage/logs/laravel.log)
2025-11-21T03:00:02Z W! Deleting state file (/opt/aws/amazon-cloudwatch-agent/logs/state/_var_www_html_vinumday2_0_storage_logs_laravel.log)
2025-11-21T03:00:03Z I! [logagent] piping log from PRD-VINUMDAY-Laravel/i-0126cfe44dee3c01d(/var/www/html/vinumday2_0/storage/logs/laravel.log) to cloudwatchlogs with retention -1