Skip to content

Commit

Permalink
Rename things; add expirations
Browse files Browse the repository at this point in the history
  • Loading branch information
cavis committed Aug 26, 2024
1 parent 588e74c commit 0779ec9
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions spire/templates/shared-clickhouse/instance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,14 +183,18 @@ Resources:
"files": {
"collect_list": [
{
"auto_removal": true,
"file_path": "/var/log/clickhouse-server/clickhouse-server.log",
"log_group_name": "${EnvironmentTypeAbbreviation}-clickhouse-server.log",
"log_stream_name": "{instance_id}"
"log_group_name": "/prx/clickhouse/${EnvironmentTypeAbbreviation}/server.log",
"log_stream_name": "{instance_id}",
"retention_in_days": 30
},
{
"auto_removal": true,
"file_path": "/var/log/clickhouse-server/clickhouse-server.err.log",
"log_group_name": "${EnvironmentTypeAbbreviation}-clickhouse-server.err.log",
"log_stream_name": "{instance_id}"
"log_group_name": "/prx/clickhouse/${EnvironmentTypeAbbreviation}/server.err.log",
"log_stream_name": "{instance_id}",
"retention_in_days": 30
}
]
}
Expand Down Expand Up @@ -221,7 +225,8 @@ Resources:
"metrics_collection_interval": 60
}
}
}
},
"namespace": "PRX/Clickhouse"
}
owner: root
group: root
Expand Down

0 comments on commit 0779ec9

Please sign in to comment.