How to create a custom time range for Last Month in kibana

Hello,
Can you try with the following one?
{

"from": "now/M-1",

"to": "now/M-1",

"display": "Last Month (Custom)",

"section": 1

}