Use Logpush with IDS
You can use Logpush with Magic Firewall IDS to log detected risks:
- 
Consult the Logpush Destination docs to learn about what destinations Logpush supports. The documentation will also instruct you on how to correctly format the destination URL for Logpush. 
- 
Follow the Manage Lopush with cURL tutorial to validate your Logpush destination and define a Logpush job. 
- 
Magic IDS is an account-scoped dataset. This means the string /zone/<ZONE_ID>in the Cloudflare API URLs in the tutorial should be replaced with/account/<ACCOUNT_ID>.
- 
Consult the Magic IDS Detection fields doc to know what fields you want configured for the job. 
- 
When creating the Logpush job, the dataset field should equal magic_ids_detections.
- 
Timestamps by default are unixnano. Consult the Logpush Options docs to learn what format you can choose that will be compatible with your destination and/or expectations. Note that all options must be added after all fields you want from the Logpush job, akin to URL parameters. 
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Directory
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- © 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark