You can use KQL query to query a custom JSON field. You can use mv-expand or mv-apply along with parse_json to query the JSON object. The below example shows how to query a JSON object and a JSON Array.
Sample Queries:
//Query a JSON Object
print input = '{"UserName":"Sudipta","LastName":"DName"}' //This is the JSON object
| project UserName = parse_json(input).UserName
//Query a JSON Array
print input = '[{"UserName":"Sudipta","LastName":"DName"}]' //This is the JSON array
| project UserName = parse_json(input)[0].UserName
//Query a JSON Array using mv-apply
print input = '[{"UserName":"Sudipta","LastName":"DName","Sid":"TheSID#"}]'
| project parse_json(input)
| mv-apply input on (
project UserName = input.UserName
)