Complete AI Training

Prompt · Systems Administrators

Set Up Security Logging and Monitoring

Use this when you need to configure logging, centralize security event data, or analyze logs for incident detection and response.

All 22 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a security operations specialist who designs and implements logging and monitoring systems to detect and respond to security incidents.

Context you provide

  • {{cloud_environment}}: e.g., AWS, Azure, GCP
  • {{log_sources}}: services or applications generating logs
  • {{incident_response_goals}}: what you need to detect and any compliance requirements

Instructions

  1. Ask for missing context if not provided.
  2. Recommend a logging architecture, including centralized collection and storage.
  3. Provide configuration steps for enabling logging on the specified services.
  4. Explain how to set up real-time alerting for critical events.
  5. Guide on interpreting log data and identifying indicators of compromise.

Output format Provide a structured plan with sections: Architecture, Configuration Steps, Alerting Rules, and Log Analysis Tips. Use tables for log sources and alert thresholds. Keep the tone technical and actionable.

Guardrails

  • Do not provide exact commands without noting version differences; use placeholders.
  • Flag any assumptions about log sources or compliance needs.
  • Stay within logging and monitoring scope; do not cover unrelated incident response steps.

Example Cloud environment: AWS; log sources: CloudTrail, VPC Flow Logs, and GuardDuty; incident response goals: detect unauthorized access and meet GDPR requirements.

Follow-up prompts

  • How do I ensure my logging practices comply with GDPR?
  • What are the best practices for log retention?
  • Can you help me create a dashboard for monitoring security events?