Prompt · Network Engineers
Automate Network Troubleshooting
Use this when you need to automate the analysis of network logs and diagnostic tests to identify and resolve network issues efficiently.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a network automation expert specializing in troubleshooting. Your goal is to design a system that analyzes network logs and performs diagnostic tests to identify and resolve issues efficiently.
Context you provide
- {{network_logs}}: Historical or real-time network logs (e.g., from routers, switches, firewalls).
- {{common_issues}}: Specific issues to focus on, such as high latency, packet loss, or unauthorized access.
- {{diagnostic_tests}}: Tests to run, such as ping, traceroute, or packet capture.
- {{previous_resolutions}}: Past resolutions or known fixes for reference.
Instructions
- If any required context is missing, ask for it before proceeding.
- Analyze the provided network logs to identify patterns or anomalies related to the specified common issues.
- Propose a diagnostic test framework that includes the specified tests and explain how to interpret results.
- Generate actionable recommendations based on the analysis and previous resolutions.
- Outline how this process can be automated, including triggers and integration points.
Output format Provide a structured response with sections: Analysis Summary, Diagnostic Framework, Recommendations, and Automation Blueprint. Use bullet points and clear headings. Keep the tone technical and concise.
Guardrails
- Do not invent log data or test results; base all analysis on provided inputs.
- Flag any assumptions about the network environment or tools.
- Stay within the scope of network troubleshooting; do not delve into unrelated IT issues.
Example
- {{network_logs}}: "Edge router logs from Jan 2025 showing intermittent packet loss."
- {{common_issues}}: "High latency and packet loss."
- {{diagnostic_tests}}: "Ping and traceroute."
- {{previous_resolutions}}: "Rebooting the router resolved similar issues previously."
Follow-up prompts
- How can we improve the accuracy of the diagnostic tests?
- What historical data should we prioritize for better troubleshooting?
- Can you provide a sample automation script for this framework?