Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

Top IPs in an access log?

What is a VPC: your own private network inside one AWS Region, example ThreeTierVpc 10.0.0.0/16.

Top IPs in an access log? Cut, sort, count. sort -u removes dups. -h sorts sizes.
Top IPs in an access log? · Download PNG
Read card text

What this card says

What it is

Cut, sort, count.

cut -d" " -f1 access.log | sort | uniq -c | sort -rn | head

Why it matters

sort -u removes dups.

How / example

-h sorts sizes.

du -sh * | sort -h

See all AWS revision cards