📝 Section Review: Logging & Automation
اہم نکاتKey TakeawaysKey Takeaways
- SmartLog خام لاگز کی تحقیق کے لیے ہے؛ SmartEvent لاگز کو events، ڈیش بورڈز اور رپورٹس میں جوڑتا ہے۔SmartLog raw logs investigate karne ke liye hai; SmartEvent logs ko events, dashboards aur reports mein correlate karta hai.SmartLog is for investigating raw logs; SmartEvent correlates logs into events, dashboards, and reports.
- لاگز پہلا troubleshooting ٹول ہیں — action، blade اور rule سے فلٹر کرکے وجہ جلدی تلاش کریں۔Logs pehla troubleshooting tool hain — action, blade aur rule se filter karke wajah jaldi dhoondein.Logs are the first troubleshooting tool — filter by action, blade, and rule to find the cause fast.
- Management API (mgmt_cli/REST) SmartConsole کام کو اسکرپٹ کرتا ہے: لاگ اِن، تبدیلی، شائع، انسٹال، لاگ آؤٹ۔Management API (mgmt_cli/REST) SmartConsole kaam ko script karta hai: login, change, publish, install, logout۔Management API (mgmt_cli/REST) scripts SmartConsole work: login, change, publish, install, logout.
- API workflows میں Publish لازمی ہے — غیر شائع شدہ تبدیلیاں کبھی پالیسی تک نہیں پہنچتیں۔API workflows mein Publish lazmi hai — unpublished changes kabhi policy tak nahi pahunchte۔Publish is mandatory in API workflows — unpublished changes never reach the policy.
- API automation جائزہ شدہ، دہرائی جانے والی فائر وال تبدیلیوں اور Zero Trust orchestration کی بنیاد ہے۔API automation reviewed, repeatable firewall changes aur Zero Trust orchestration ki bunyad hai.API automation is the foundation for reviewed, repeatable firewall changes and Zero Trust orchestration.
خود جانچ (مشق)Self-Check (Practice)Self-Check (Practice)
یہ مشقی سوالات ہیں، امتحانی سوالات نہیں۔These are practice questions, not exam questions.These are practice questions, not exam questions.
❓ SmartLog بمقابلہ SmartEvent؟SmartLog vs SmartEvent?SmartLog vs SmartEvent?
SmartLog/SmartView خام لاگز دکھاتے ہیں؛ SmartEvent انہیں جوڑ کر سیکیورٹی events، timelines، ڈیش بورڈز اور رپورٹس بناتا ہے۔SmartLog/SmartView raw logs dikhate hain; SmartEvent inhein correlate karke security events, timelines, dashboards aur reports banata hai.SmartLog/SmartView show raw logs; SmartEvent correlates them into security events, timelines, dashboards, and reports.
❓ تبدیلی کے لیے Management API کے بنیادی مراحل کیا ہیں؟Change ke liye Management API ke basic steps kya hain?What are the basic Management API steps for a change?
mgmt_cli (یا REST): لاگ اِن، آبجیکٹس اور رولز بنانا/بدلنا، publish، install policy، لاگ آؤٹ۔ Publish لازمی ہے — غیر شائع شدہ تبدیلیاں کبھی اثر نہیں کرتیں۔mgmt_cli (ya REST): login, objects aur rules create/modify, publish, install policy, logout۔ Publish lazmi hai — unpublished changes kabhi asar nahi karte۔mgmt_cli (or REST): login, create/modify objects and rules, publish, install policy, logout. Publish is mandatory — unpublished changes never take effect.
❓ ٹریفک بلاک ہے اور وجہ معلوم نہیں۔ پہلا قدم؟Traffic blocked hai aur wajah maloom nahi. Pehla qadam?Traffic is blocked and you don't know why. First move?
لاگز پہلا troubleshooting ٹول ہیں: action=Drop یا blade سے فلٹر کریں، matched rule پڑھیں، اور لاگ کو بتانے دیں کہ مسئلہ پالیسی، NAT، شناخت یا VPN ہے۔Logs pehla troubleshooting tool hain: action=Drop ya blade se filter karein, matched rule parhein, aur log ko batane dein ke masla policy, NAT, identity ya VPN hai.Logs are the first troubleshooting tool: filter by action=Drop or blade, read the matched rule, and let the log tell you whether it's policy, NAT, identity, or VPN.