Historically, I used the WordPress plugin entitled " Visitor Traffic Real-Time Statistics Pro" for this purpose, but it uses the database constantly to store data for visitors, so it slows the website down appreciably. The data collected is available in the WordPress Dashboard in real-time, so you can always see who is visiting your website, and this is important when clusters of visitors originate from a single country over a period of time. The last attack was in 72-hour intervals spread over 3-weeks by trying to access files that are not available to visitors. This concerted effort resulted in the IP address being blocked, and finally, the country was blocked in Cloudflare since I have never done business in that country.
Regardless, the data displayed by " Visitor Traffic Real-Time Statistics Pro" was seen in the following format:
||United States, Salt Lake City, Utah
||09 Jul 2020 @ 09:12 am
||Canada, Vancouver, British Columbia
||09 Jul 2020 @ 08:46 am
As you can see, the data can be sorted by IP Address, Country, City, State, and Date, and " Visitor Traffic Real-Time Statistics Pro" always provided a continuous count of the daily visitors from any country to permit hacking attacks to be identified.
This data is available in Cloudflare on the Analytics -> Web Traffic -> Unique Visitors, but Cloudflare only provides an abbreviated list of Countries for Unique Visitors that does not provide data for identifying the country of every visitor, nor the IP address of Unique Visitors. I was told that the Logflare App in Cloudflare could be used to log this data the same as was done in " Visitor Traffic Real-Time Statistics Pro", but I have not yet figured out how to do this type of log.
Therefore, is it possible to only log this data in Logflare? If not, then how can this log be created in Cloudflare?
Thanks in advance,