Overview
IAM
- Account
- Users
- API Tokens
CDN
- IP addresses list
- CDN service
- Origins
- CDN resources
- CDN activity logs
- Log forwarding
- Log viewer
- Logs uploader
- Tools
- Rules
- Rule templates
- Purge history
- SSL certificates
- CA certificates
- CDN Statistics
- Advanced analytics
- Origin shielding
- Let's Encrypt certificates
Managed DNS
- Analyze
- Locations
- Lookup
- Metrics
- Pickers
- DNS Clients
- Zones
- DNSSEC
- RRsets
Cloud
- Bare Metal
- Container as a Service
- Cost Reports
- DDOS Protection
- File Shares
- Firewalls
- Floating IPs
- Function as a Service
- GPU Cloud
- IP Ranges
- Images
- Inference Instances
- Instances
- Load Balancers
- Logging
- Managed Kubernetes
- Managed PostgreSQL
- Networks
- Placement Groups
- Projects
- Quotas
- Regions
- Registry
- Reservations
- Reserved IPs
- Routers
- SSH Keys
- Secrets
- Service Endpoints
- Snapshot Schedules
- Snapshots
- Tasks
- User Actions
- User Role Assignments
- Volumes
Security
- Event Logs
- BGP announces
- Security Templates
- Profiles
FastEdge
- Apps
- Binaries
- FastEdge Clients
- FastEdge Secrets
- Stats
- FastEdge Templates
WAAP
- WAAP Service
- Domains
- Policies
- Analytics
- Custom Page Sets
- Custom Rules
- Firewall Rules
- Advanced Rules
- Tags
- Network Organizations
- API Discovery
- IP Spotlight
- Security Insights
Web Security
- Billing Statistics
- Resources
Video Streaming
- Streams
- Overlays
- Broadcasts
- Restreams
- Videos
- Subtitles
- Directories
- Playlists
- QualitySets
- Players
- AI
- Streaming Statistics
Object Storage
- Notifications
- Key
- Location
- Storage
- Storage Statistics
Log forwarding
Change raw logs settings
PATCH method is not allowed.
PUT
/
cdn
/
raw_log_settings
Copy
Ask AI
curl --request PUT \
--url https://api.gcore.com/cdn/raw_log_settings \
--header 'APIKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"storage_type": "s3",
"enabled": true,
"ignore_empty_logs": true,
"for_all_resources": false,
"all_resources_bucket": null,
"all_resources_folder": null,
"s3_type": "amazon",
"s3_aws_region": 1,
"s3_hostname": null,
"s3_access_key_id": "AJKHGJDKHFG",
"s3_host_bucket": null,
"s3_bucket_location": null,
"folders": [
{
"folder": "bucket-subfolder",
"bucket": "first",
"cdn_resource": 111
},
{
"bucket": "second",
"cdn_resource": 222
}
],
"archive_size_mb": 1000
}'
Authorizations
API key for authentication.
Body
application/json
Response
200
Successful.
Was this page helpful?
Copy
Ask AI
curl --request PUT \
--url https://api.gcore.com/cdn/raw_log_settings \
--header 'APIKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"storage_type": "s3",
"enabled": true,
"ignore_empty_logs": true,
"for_all_resources": false,
"all_resources_bucket": null,
"all_resources_folder": null,
"s3_type": "amazon",
"s3_aws_region": 1,
"s3_hostname": null,
"s3_access_key_id": "AJKHGJDKHFG",
"s3_host_bucket": null,
"s3_bucket_location": null,
"folders": [
{
"folder": "bucket-subfolder",
"bucket": "first",
"cdn_resource": 111
},
{
"bucket": "second",
"cdn_resource": 222
}
],
"archive_size_mb": 1000
}'
Assistant
Responses are generated using AI and may contain mistakes.