duration_filter.json 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. [
  2. {
  3. "query": "transaction.duration:>500s",
  4. "result": [
  5. {"type": "spaces", "value": ""},
  6. {
  7. "type": "filter",
  8. "filter": "duration",
  9. "negated": false,
  10. "key": {"type": "keySimple", "value": "transaction.duration", "quoted": false},
  11. "operator": ">",
  12. "value": {
  13. "type": "valueDuration",
  14. "value": "500",
  15. "unit": "s",
  16. "parsed": {"value": 500000}
  17. }
  18. },
  19. {"type": "spaces", "value": ""}
  20. ]
  21. },
  22. {
  23. "query": "!transaction.duration:500s",
  24. "result": [
  25. {"type": "spaces", "value": ""},
  26. {
  27. "type": "filter",
  28. "filter": "duration",
  29. "negated": true,
  30. "key": {"type": "keySimple", "value": "transaction.duration", "quoted": false},
  31. "operator": "",
  32. "value": {
  33. "type": "valueDuration",
  34. "value": "500",
  35. "unit": "s",
  36. "parsed": {"value": 500000}
  37. }
  38. },
  39. {"type": "spaces", "value": ""}
  40. ]
  41. }
  42. ]