Time range drop down with onchange method

Hi, i want to create a drop down list of time frames:

  1. last 5 minutes
  2. last 15 minutes

from this time from after one is chosen, make http call, and parse the response json into a table
is there a friendly way of doing this?

If I understand your question correctly, this has nothing to do with Hugo. You would need to accomplish this with JavaScript, outside the scope of this forum.