none
application insight rest api- filter on custom dimension item RRS feed

  • Question

  • Hi 

    using the rest api how can I add filter to custom events for the customDimensions item.

    for example i have a  "IngressTimestamp" in "customDimensions". 

    I would like to apply filter to fetch all data with IngressTimestamp > <certain date value> 

    I tried to put this in $filter 

    customDimensions/any (d: d/IngressTimestamp le 2019-04-12T04:05:39.000)

    this is giving me error as shown below 

    HTTP/1.1 400
    content-type: application/json; charset=utf-8
    
    {
      "error": {
        "message": "The request had some invalid properties",
        "code": "BadArgumentError",
        "innererror": {
          "code": "QueryValidationError",
          "message": "Invalid value in $filter parameter"
        }
      }
    }

    Thank you 

    Naresh 


    • Edited by Naresh Pan Friday, April 12, 2019 3:50 PM
    Friday, April 12, 2019 11:33 AM

All replies