- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
07-22-2024 11:56 PM - edited 07-23-2024 10:46 PM
08-18-2024 03:25 AM
Same here. By default, the 'bar chart' is sorted by count. There is no option to sort by date.
08-27-2024 02:32 AM
Again, same issue. That is rather annoying that it is not possible to sort by day, week or month.
10-03-2024 12:33 PM
I found a solution to this at JSON File Widget Example • Cortex XSOAR Administrator Guide • Reader • Palo Alto Networks documentat.... Tested under 6.13.
"sort": [{ "field": "occurred", "asc": true }]
Once this is done, you can add multiple copies of the sorted widget and modify them as needed.
Here's the sample file:
{
"dataType": "incidents",
"widgetType": "column",
"params": {
"groupBy": [
"occurred(d)",
"type"
],
"valuesFormat": "abbreviated",
"timeFrame": "days"
},
"dateRange": {
"period": {
"byFrom": "days",
"fromValue": 7
}
},
"propagationLabels": [
"all"
],
"customCalculation": {
"operation": "count",
"fieldName": "",
"expression": ""
},
"name": "Change Sort Order In Column Chart - Sort by Date",
"sort": [{ "field": "occurred", "asc": true }]
}
11-17-2024 04:48 AM
The issue seems to be resolved in XSOAR Cloud.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!