I am checking the status code of the HTTP response. In one condition when HTTP code is 411, i don't get a message. So, in that condition, i want to have some default message in the table. But, i am unable to set a default message.
The below query is what I am using:
basic query |eval errMsg=if(status == "411", "Length missing",errMsg) | table errMsg,status
For other cases, I want to have the errMsg the same as what I am getting back in search.