Using Python to extract information from any log file
parse_log_ip.py will extract the ip address from a file and return or print it as a dictionary data structure with the line number as the key and the value as a nested dictionary with 'ip' as the key and the extracted ip address as the value.