Note: These sizing recommendations are based on typical ColdFusion deployment patterns. Your actual requirements may vary significantly based on log verbosity, data retention needs, query complexity, and specific workload characteristics. Start with these guidelines and adjust based on observed performance and storage utilization.
Quick Navigation
Performance Monitoring Toolset (PMT)
PMT Setup and Sizing
Elastic Stack Integration
Elasticsearch Cluster Sizing
| CF Instances | Daily Logs | ES Nodes | Storage/Node | RAM/Node |
|---|---|---|---|---|
| 1-5 | < 10 GB | 1 | 100 GB | 8 GB |
| 5-20 | 10-50 GB | 3 | 500 GB | 16 GB |
| 20-50 | 50-200 GB | 5 | 1 TB | 32 GB |
| 50+ | > 200 GB | 7+ | 2 TB+ | 64 GB |
Logstash Configuration
Logstash Pipeline for ColdFusion Logs
# /etc/logstash/conf.d/coldfusion.conf
input {
file {
path => "/opt/coldfusion/cfusion/logs/*.log"
type => "coldfusion"
start_position => "beginning"
}
}
filter {
if [type] == "coldfusion" {
# cflog entries are comma-delimited: type, thread ID,
# date (MM/dd/yy), time, application name, message
csv {
columns => ["severity", "thread", "log_date", "log_time", "application", "log_message"]
}
# Skip a header row if the file has one
if [severity] == "Severity" {
drop { }
}
mutate {
add_field => { "log_timestamp" => "%{log_date} %{log_time}" }
}
date {
match => [ "log_timestamp", "MM/dd/yy HH:mm:ss" ]
target => "@timestamp"
}
}
}
output {
elasticsearch {
hosts => ["http://elasticsearch:9200"]
index => "coldfusion-%{+YYYY.MM.dd}"
}
}Monitoring Best Practices
Retention Policy
Keep 30 days of detailed logs, 90 days of aggregated metrics to balance storage costs with debugging needs
Sampling Strategy
For high-traffic sites (>10K req/min), sample 10-20% of requests instead of 100% to reduce overhead
Alerting Thresholds
Set up alerts for slow requests (>5s), high memory (>80%), error rate spikes (>1%)
Kibana Dashboards
Create dashboards for request rates, P95/P99 response times, error rates, JVM metrics
Index Lifecycle
Use ILM to automatically archive old indices to warm storage and delete after retention period
Backup Strategy
Snapshot Elasticsearch indices daily to S3/Azure Blob for disaster recovery
Need Help Sizing Your Infrastructure?
Convective can assess your ColdFusion deployment and design an optimal monitoring solution for your specific needs.
Contact Convective