Need a python code to pull IP addresses from log file for given user
Budget: $30 – $250 USD
So i have an audit log that outputs "[23/Apr/2022 16:48:29] HTTP/CalDav: User shared@redacted.c authenticated from IP address 104.4.213.129; macOS/11.3.1 (20E241) CalendarAgent/954"
I would like a python code that asks for the first section of the user in this case "shared" then spits out the full user, the IP address, and this section "macOS/11.3.1 (20E241) CalendarAgent/954" without repeating any of the same info. Ideally it would create a CSV file and prompt for a name with each run..
I would like a python code that asks for the first section of the user in this case "shared" then spits out the full user, the IP address, and this section "macOS/11.3.1 (20E241) CalendarAgent/954" without repeating any of the same info. Ideally it would create a CSV file and prompt for a name with each run..