I want to know where exactly the orderby clause orders the query in ascending or descending direction in ceilometer

asked 2016-05-19 03:39:39 -0500

sanjana gravatar image

ceilometer query-alarms --orderby '[{"severity":"desc"}]' Here the output is ordered based on the severity clause but alphabetically( i.e moderate, low, critical). How can i sort the output based on the context of severity.(critical, moderate, low)?

edit retag flag offensive close merge delete