Advertisement
Guest User

Untitled

a guest
Sep 20th, 2019
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.84 KB | None | 0 0
  1. {
  2. "version": true,
  3. "query": {
  4. "bool": {
  5. "must": [
  6. {
  7. "query_string": {
  8. "analyze_wildcard": true,
  9. "query": "*"
  10. }
  11. },
  12. {
  13. "match_phrase": {
  14. "kubernetes.namespace": {
  15. "query": "psd2-skb"
  16. }
  17. }
  18. },
  19. {
  20. "match_phrase": {
  21. "log": {
  22. "query": "Payload:"
  23. }
  24. }
  25. },
  26. {
  27. "range": {
  28. "@timestamp": {
  29. "gte": 1568844000000,
  30. "lte": 1568930399999,
  31. "format": "epoch_millis"
  32. }
  33. }
  34. }
  35. ],
  36. "must_not": [
  37. {
  38. "match_phrase": {
  39. "log": {
  40. "query": "<Echo>AgentPSD2 health-check.</Echo>"
  41. }
  42. }
  43. }
  44. ]
  45. }
  46. },
  47. "size": 500,
  48. "sort": [
  49. {
  50. "@timestamp": {
  51. "order": "asc",
  52. "unmapped_type": "boolean"
  53. }
  54. }
  55. ],
  56. "_source": {
  57. "excludes": []
  58. },
  59. "aggs": {
  60. "2": {
  61. "date_histogram": {
  62. "field": "@timestamp",
  63. "interval": "30m",
  64. "time_zone": "Europe/Berlin",
  65. "min_doc_count": 1
  66. }
  67. }
  68. },
  69. "stored_fields": [
  70. "*"
  71. ],
  72. "script_fields": {},
  73. "docvalue_fields": [
  74. "@timestamp",
  75. "Last GC",
  76. "crawler_start",
  77. "time"
  78. ],
  79. "highlight": {
  80. "pre_tags": [
  81. "@kibana-highlighted-field@"
  82. ],
  83. "post_tags": [
  84. "@/kibana-highlighted-field@"
  85. ],
  86. "fields": {
  87. "*": {
  88. "highlight_query": {
  89. "bool": {
  90. "must": [
  91. {
  92. "query_string": {
  93. "analyze_wildcard": true,
  94. "query": "*",
  95. "all_fields": true
  96. }
  97. },
  98. {
  99. "match_phrase": {
  100. "kubernetes.namespace": {
  101. "query": "psd2-skb"
  102. }
  103. }
  104. },
  105. {
  106. "match_phrase": {
  107. "log": {
  108. "query": "Payload:"
  109. }
  110. }
  111. },
  112. {
  113. "range": {
  114. "@timestamp": {
  115. "gte": 1568844000000,
  116. "lte": 1568930399999,
  117. "format": "epoch_millis"
  118. }
  119. }
  120. }
  121. ],
  122. "must_not": [
  123. {
  124. "match_phrase": {
  125. "log": {
  126. "query": "<Echo>AgentPSD2 health-check.</Echo>"
  127. }
  128. }
  129. }
  130. ]
  131. }
  132. }
  133. }
  134. },
  135. "fragment_size": 2147483647
  136. }
  137. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement