Commit d3b29af4 authored by Ad Schellevis's avatar Ad Schellevis

(netflow, flowd agg) choose different field seperator for sample (test) data

parent 7c80504e
...@@ -97,7 +97,7 @@ if valid_params: ...@@ -97,7 +97,7 @@ if valid_params:
timeseries=dict() timeseries=dict()
while start_time < time.time(): while start_time < time.time():
timeseries[start_time] = dict() timeseries[start_time] = dict()
for key in app_params['sample'].split(','): for key in app_params['sample'].split('~'):
timeseries[start_time][key] = {'octets': (random.random() * 10000000), timeseries[start_time][key] = {'octets': (random.random() * 10000000),
'packets': (random.random() * 10000000), 'packets': (random.random() * 10000000),
'resolution': resolution} 'resolution': resolution}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment