Fix log source issue of Public and Service category
Change-Id: I54282df97942c30c413dcdd9a8cd00c22cdd6bc0 Implements: blueprint update-access-processor-log-source
This commit is contained in:
parent
4daebba9fa
commit
64e8478b18
@ -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