Merge "Fix log source issue of Public and Service category"
This commit is contained in:
commit
88c6342784
@ -31,7 +31,7 @@ try:
|
|||||||
if x.strip()])
|
if x.strip()])
|
||||||
|
|
||||||
def sanitize_ips(line_data):
|
def sanitize_ips(line_data):
|
||||||
for x in ['lb_ip', 'client_ip', 'log_source']:
|
for x in ['lb_ip', 'client_ip']:
|
||||||
if line_data[x] == '-':
|
if line_data[x] == '-':
|
||||||
line_data[x] = '0.0.0.0'
|
line_data[x] = '0.0.0.0'
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
Loading…
Reference in New Issue
Block a user