Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

Average and maximum time between events by location

$
0
0
Given public transit log data of the form: 2016-08-01 13:34:03 GMT vehicle_id="1234" stop_id="5678" I would like to calculate (and plot) the following: * The average and maximum times between any vehicles stopping for each stop (i.e., the average and maximum times someone waits for a vehicle to arrive for each stop). The average time is also know as the "headway." * It would also be nice to calculate and plot this over time, e.g., between 10am-7pm, show how the average and maximum times change per stop. FYI: I also have a `transforms.conf` and a `props.conf` that, based on the `stop_id`, looks up the stop's `stop_name`, `stop_lat` (latitude), and `stop_lon` (longitude).

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>