Advertisement
Guest User

Untitled

a guest
May 27th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.59 KB | None | 0 0
  1. {
  2. "type": "container",
  3. "subtype": "Grid",
  4. "datasource": null,
  5. "definitions": null,
  6. "date": {
  7. "realTime": false,
  8. "from": "now-3h",
  9. "to": "now"
  10. },
  11. "settings": {
  12. "layout": {
  13. "Table1": {
  14. "w": 6,
  15. "h": 16,
  16. "x": 0,
  17. "y": 0,
  18. "i": "Table1",
  19. "moved": false,
  20. "static": false
  21. },
  22. "Select0": {
  23. "i": "Select0",
  24. "w": 3,
  25. "h": 3.5,
  26. "x": 6,
  27. "y": 0
  28. }
  29. },
  30. "header": false
  31. },
  32. "extra": {
  33. "favourites": {
  34. "widgets": "Table",
  35. "inputs": "Input",
  36. "containers": "Grid"
  37. },
  38. "config": {
  39. "theme": {}
  40. }
  41. },
  42. "children": {
  43. "Select0": {
  44. "name": "Select0",
  45. "description": "This is my Select: Select0",
  46. "type": "input",
  47. "subtype": "Select",
  48. "datasource": "[\"GET\", \"POST\"]",
  49. "definitions": null,
  50. "date": {},
  51. "settings": {},
  52. "extra": null,
  53. "children": null,
  54. "version": 0
  55. },
  56. "Table1": {
  57. "name": "Table1",
  58. "description": "This is my Table: Table1",
  59. "type": "widget",
  60. "subtype": "Table",
  61. "datasource": "query(from siem.logtrust.web.activity group every 0 by method where method=$(Select0.value|\"GET\") select count())",
  62. "definitions": null,
  63. "date": {},
  64. "settings": {
  65. "enableFilter": true,
  66. "enableColResize": true,
  67. "enableSorting": true,
  68. "columnDefs": [
  69. {
  70. "headerName": "domain",
  71. "field": "domain",
  72. "width": null,
  73. "cellRenderer": null,
  74. "cellRendererParams": {},
  75. "formatValues": []
  76. },
  77. {
  78. "headerName": "count",
  79. "field": "count",
  80. "width": null,
  81. "cellRenderer": "conditionalRenderer",
  82. "cellRendererParams": {
  83. "formatValues": [
  84. {
  85. "operator": "greater",
  86. "value": "20",
  87. "color": "#000",
  88. "backgroundColor": "#fc0909",
  89. "iconUrl": ""
  90. }
  91. ]
  92. },
  93. "formatValue": "conditional",
  94. "formatValues": {
  95. "conditional": [
  96. {
  97. "operator": "greater",
  98. "value": "20",
  99. "color": "#000",
  100. "backgroundColor": "#fc0909",
  101. "iconUrl": ""
  102. }
  103. ]
  104. }
  105. }
  106. ]
  107. },
  108. "extra": null,
  109. "children": null,
  110. "version": 0
  111. }
  112. },
  113. "version": 1
  114. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement