Analytics of Single Stream

If I understand right, I’d have to treat the already finished streams as if they are happening live and query for appropriate data second by second, store it and analyse as I please.