Search code examples
google-cloud-platformgoogle-cloud-logging

Google Cloud Console Logs Explorer. How to find top ip address that requested my website?


In Google Cloud, how can I know the IP addresses that requested my website the most? I mean list like this

12.12.12.12 - 2189 requests
13.14.15.12 - 1987 requests
...

Solution

  • In Google Cloud, how can I know the IP addresses that requested my website the most?

    Google Cloud Logging does not calculate that information for you. Cloud Logging provides storage for raw log data. Use a third-party product that takes raw log files and display data in your designed format.

    Otherwise, review the format of the data stored in Cloud Logging. Then write a program that reads that data and tabulates your desired information.