How to parse to plot graph between temperature and time. Also how to parse this string --"33 degrees C " to number

Comments

2 comments

  • Avatar
    Kevin Keech

    Is something like this what your looking for?

    | parse "* degrees C" as temp
    | timeslice by 5m
    | max(temp) as max_temp, min(temp) as min_temp by timeslice



    This parses the 33 from your string and then gives you the min and max of that number per 5 minutes timeslice. 

  • Avatar
    Sai Soma

    "| max(temp) as max_temp, min(temp) as min_temp by timeslice" gives max and min temp but not the real time temp.

    Right now  with "count" I am getting time, temp and count where "count" is on axis. I just want temp on Y and time on X like a real time data

Please sign in to leave a comment.