├── img
└── architecure.jpg
├── screenshots
├── es-cluster-dashboard.jpg
├── es-node-stats-dashboard.jpg
├── es-history-stats-dashboard.jpg
└── es-index-stats-dashboard.jpg
├── README.md
├── LICENSE
└── dashboards
├── es-history-stats-dashboard.json
└── es-index-stats-dashboard.json
/img/architecure.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huynhsamha/grafana-dashboards-elasticsearch/HEAD/img/architecure.jpg
--------------------------------------------------------------------------------
/screenshots/es-cluster-dashboard.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huynhsamha/grafana-dashboards-elasticsearch/HEAD/screenshots/es-cluster-dashboard.jpg
--------------------------------------------------------------------------------
/screenshots/es-node-stats-dashboard.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huynhsamha/grafana-dashboards-elasticsearch/HEAD/screenshots/es-node-stats-dashboard.jpg
--------------------------------------------------------------------------------
/screenshots/es-history-stats-dashboard.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huynhsamha/grafana-dashboards-elasticsearch/HEAD/screenshots/es-history-stats-dashboard.jpg
--------------------------------------------------------------------------------
/screenshots/es-index-stats-dashboard.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huynhsamha/grafana-dashboards-elasticsearch/HEAD/screenshots/es-index-stats-dashboard.jpg
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # grafana-dashboards-elasticsearch
2 |
3 | Grafana Dashboards for Elasticsearch using Prometheus Datasource.
4 |
5 | ## Requirements
6 |
7 | - **Datasource**: [Prometheus](https://prometheus.io/)
8 | - **Exporter**: [Elasticsearch Exporter](https://github.com/justwatchcom/elasticsearch_exporter)
9 |
10 | ## Quickstart
11 |
12 | My dashboards require **Prometheus** datasource for _mananging metrics_, and **Elasticsearch Exporter** for _crawling metrics_ from Elasticsearch Cluster and _exposing_ these metrics. Prometheus is scheduled for _pulling metrics_ from Elasticsearch Exporter.
13 |
14 |
15 |
16 |
17 |
18 | I published my dashboards to [Grafana Dashboards](https://grafana.com/grafana/dashboards) so you can easily import these dashboards to your Grafana.
19 |
20 | - `13071`: [Dashboard for Elasticsearch Cluster Stats](https://grafana.com/grafana/dashboards/13071)
21 | - `13073`: [Dashboard for Elasticsearch Node Stats](https://grafana.com/grafana/dashboards/13073)
22 | - `13072`: [Dashboard for Elasticsearch Index Stats](https://grafana.com/grafana/dashboards/13072)
23 | - `13074`: [Dashboard for Elasticsearch History Stats](https://grafana.com/grafana/dashboards/13074)
24 |
25 | Many thanks to https://grafana.com/grafana/dashboards/6483 and https://grafana.com/grafana/dashboards/2322
26 |
27 | ## Screenshots
28 |
29 | | Dashboard | Screenshot |
30 | | ----------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
31 | | **Cluster Stats** |
|
32 | | **Node Stats** |
|
33 | | **Index Stats** |
|
34 | | **History Stats** |
|
35 |
36 | ## Changelogs
37 |
38 | - **30/09/2020**: first release with 4 dashboards, including [Cluster Level Stats](https://grafana.com/grafana/dashboards/13071), [Node Stats](https://grafana.com/grafana/dashboards/13073), [Index Stats](https://grafana.com/grafana/dashboards/13072) and [History Stats](https://grafana.com/grafana/dashboards/13074)
39 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | GNU GENERAL PUBLIC LICENSE
2 | Version 3, 29 June 2007
3 |
4 | Copyright (C) 2007 Free Software Foundation, Inc.
5 | Everyone is permitted to copy and distribute verbatim copies
6 | of this license document, but changing it is not allowed.
7 |
8 | Preamble
9 |
10 | The GNU General Public License is a free, copyleft license for
11 | software and other kinds of works.
12 |
13 | The licenses for most software and other practical works are designed
14 | to take away your freedom to share and change the works. By contrast,
15 | the GNU General Public License is intended to guarantee your freedom to
16 | share and change all versions of a program--to make sure it remains free
17 | software for all its users. We, the Free Software Foundation, use the
18 | GNU General Public License for most of our software; it applies also to
19 | any other work released this way by its authors. You can apply it to
20 | your programs, too.
21 |
22 | When we speak of free software, we are referring to freedom, not
23 | price. Our General Public Licenses are designed to make sure that you
24 | have the freedom to distribute copies of free software (and charge for
25 | them if you wish), that you receive source code or can get it if you
26 | want it, that you can change the software or use pieces of it in new
27 | free programs, and that you know you can do these things.
28 |
29 | To protect your rights, we need to prevent others from denying you
30 | these rights or asking you to surrender the rights. Therefore, you have
31 | certain responsibilities if you distribute copies of the software, or if
32 | you modify it: responsibilities to respect the freedom of others.
33 |
34 | For example, if you distribute copies of such a program, whether
35 | gratis or for a fee, you must pass on to the recipients the same
36 | freedoms that you received. You must make sure that they, too, receive
37 | or can get the source code. And you must show them these terms so they
38 | know their rights.
39 |
40 | Developers that use the GNU GPL protect your rights with two steps:
41 | (1) assert copyright on the software, and (2) offer you this License
42 | giving you legal permission to copy, distribute and/or modify it.
43 |
44 | For the developers' and authors' protection, the GPL clearly explains
45 | that there is no warranty for this free software. For both users' and
46 | authors' sake, the GPL requires that modified versions be marked as
47 | changed, so that their problems will not be attributed erroneously to
48 | authors of previous versions.
49 |
50 | Some devices are designed to deny users access to install or run
51 | modified versions of the software inside them, although the manufacturer
52 | can do so. This is fundamentally incompatible with the aim of
53 | protecting users' freedom to change the software. The systematic
54 | pattern of such abuse occurs in the area of products for individuals to
55 | use, which is precisely where it is most unacceptable. Therefore, we
56 | have designed this version of the GPL to prohibit the practice for those
57 | products. If such problems arise substantially in other domains, we
58 | stand ready to extend this provision to those domains in future versions
59 | of the GPL, as needed to protect the freedom of users.
60 |
61 | Finally, every program is threatened constantly by software patents.
62 | States should not allow patents to restrict development and use of
63 | software on general-purpose computers, but in those that do, we wish to
64 | avoid the special danger that patents applied to a free program could
65 | make it effectively proprietary. To prevent this, the GPL assures that
66 | patents cannot be used to render the program non-free.
67 |
68 | The precise terms and conditions for copying, distribution and
69 | modification follow.
70 |
71 | TERMS AND CONDITIONS
72 |
73 | 0. Definitions.
74 |
75 | "This License" refers to version 3 of the GNU General Public License.
76 |
77 | "Copyright" also means copyright-like laws that apply to other kinds of
78 | works, such as semiconductor masks.
79 |
80 | "The Program" refers to any copyrightable work licensed under this
81 | License. Each licensee is addressed as "you". "Licensees" and
82 | "recipients" may be individuals or organizations.
83 |
84 | To "modify" a work means to copy from or adapt all or part of the work
85 | in a fashion requiring copyright permission, other than the making of an
86 | exact copy. The resulting work is called a "modified version" of the
87 | earlier work or a work "based on" the earlier work.
88 |
89 | A "covered work" means either the unmodified Program or a work based
90 | on the Program.
91 |
92 | To "propagate" a work means to do anything with it that, without
93 | permission, would make you directly or secondarily liable for
94 | infringement under applicable copyright law, except executing it on a
95 | computer or modifying a private copy. Propagation includes copying,
96 | distribution (with or without modification), making available to the
97 | public, and in some countries other activities as well.
98 |
99 | To "convey" a work means any kind of propagation that enables other
100 | parties to make or receive copies. Mere interaction with a user through
101 | a computer network, with no transfer of a copy, is not conveying.
102 |
103 | An interactive user interface displays "Appropriate Legal Notices"
104 | to the extent that it includes a convenient and prominently visible
105 | feature that (1) displays an appropriate copyright notice, and (2)
106 | tells the user that there is no warranty for the work (except to the
107 | extent that warranties are provided), that licensees may convey the
108 | work under this License, and how to view a copy of this License. If
109 | the interface presents a list of user commands or options, such as a
110 | menu, a prominent item in the list meets this criterion.
111 |
112 | 1. Source Code.
113 |
114 | The "source code" for a work means the preferred form of the work
115 | for making modifications to it. "Object code" means any non-source
116 | form of a work.
117 |
118 | A "Standard Interface" means an interface that either is an official
119 | standard defined by a recognized standards body, or, in the case of
120 | interfaces specified for a particular programming language, one that
121 | is widely used among developers working in that language.
122 |
123 | The "System Libraries" of an executable work include anything, other
124 | than the work as a whole, that (a) is included in the normal form of
125 | packaging a Major Component, but which is not part of that Major
126 | Component, and (b) serves only to enable use of the work with that
127 | Major Component, or to implement a Standard Interface for which an
128 | implementation is available to the public in source code form. A
129 | "Major Component", in this context, means a major essential component
130 | (kernel, window system, and so on) of the specific operating system
131 | (if any) on which the executable work runs, or a compiler used to
132 | produce the work, or an object code interpreter used to run it.
133 |
134 | The "Corresponding Source" for a work in object code form means all
135 | the source code needed to generate, install, and (for an executable
136 | work) run the object code and to modify the work, including scripts to
137 | control those activities. However, it does not include the work's
138 | System Libraries, or general-purpose tools or generally available free
139 | programs which are used unmodified in performing those activities but
140 | which are not part of the work. For example, Corresponding Source
141 | includes interface definition files associated with source files for
142 | the work, and the source code for shared libraries and dynamically
143 | linked subprograms that the work is specifically designed to require,
144 | such as by intimate data communication or control flow between those
145 | subprograms and other parts of the work.
146 |
147 | The Corresponding Source need not include anything that users
148 | can regenerate automatically from other parts of the Corresponding
149 | Source.
150 |
151 | The Corresponding Source for a work in source code form is that
152 | same work.
153 |
154 | 2. Basic Permissions.
155 |
156 | All rights granted under this License are granted for the term of
157 | copyright on the Program, and are irrevocable provided the stated
158 | conditions are met. This License explicitly affirms your unlimited
159 | permission to run the unmodified Program. The output from running a
160 | covered work is covered by this License only if the output, given its
161 | content, constitutes a covered work. This License acknowledges your
162 | rights of fair use or other equivalent, as provided by copyright law.
163 |
164 | You may make, run and propagate covered works that you do not
165 | convey, without conditions so long as your license otherwise remains
166 | in force. You may convey covered works to others for the sole purpose
167 | of having them make modifications exclusively for you, or provide you
168 | with facilities for running those works, provided that you comply with
169 | the terms of this License in conveying all material for which you do
170 | not control copyright. Those thus making or running the covered works
171 | for you must do so exclusively on your behalf, under your direction
172 | and control, on terms that prohibit them from making any copies of
173 | your copyrighted material outside their relationship with you.
174 |
175 | Conveying under any other circumstances is permitted solely under
176 | the conditions stated below. Sublicensing is not allowed; section 10
177 | makes it unnecessary.
178 |
179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180 |
181 | No covered work shall be deemed part of an effective technological
182 | measure under any applicable law fulfilling obligations under article
183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184 | similar laws prohibiting or restricting circumvention of such
185 | measures.
186 |
187 | When you convey a covered work, you waive any legal power to forbid
188 | circumvention of technological measures to the extent such circumvention
189 | is effected by exercising rights under this License with respect to
190 | the covered work, and you disclaim any intention to limit operation or
191 | modification of the work as a means of enforcing, against the work's
192 | users, your or third parties' legal rights to forbid circumvention of
193 | technological measures.
194 |
195 | 4. Conveying Verbatim Copies.
196 |
197 | You may convey verbatim copies of the Program's source code as you
198 | receive it, in any medium, provided that you conspicuously and
199 | appropriately publish on each copy an appropriate copyright notice;
200 | keep intact all notices stating that this License and any
201 | non-permissive terms added in accord with section 7 apply to the code;
202 | keep intact all notices of the absence of any warranty; and give all
203 | recipients a copy of this License along with the Program.
204 |
205 | You may charge any price or no price for each copy that you convey,
206 | and you may offer support or warranty protection for a fee.
207 |
208 | 5. Conveying Modified Source Versions.
209 |
210 | You may convey a work based on the Program, or the modifications to
211 | produce it from the Program, in the form of source code under the
212 | terms of section 4, provided that you also meet all of these conditions:
213 |
214 | a) The work must carry prominent notices stating that you modified
215 | it, and giving a relevant date.
216 |
217 | b) The work must carry prominent notices stating that it is
218 | released under this License and any conditions added under section
219 | 7. This requirement modifies the requirement in section 4 to
220 | "keep intact all notices".
221 |
222 | c) You must license the entire work, as a whole, under this
223 | License to anyone who comes into possession of a copy. This
224 | License will therefore apply, along with any applicable section 7
225 | additional terms, to the whole of the work, and all its parts,
226 | regardless of how they are packaged. This License gives no
227 | permission to license the work in any other way, but it does not
228 | invalidate such permission if you have separately received it.
229 |
230 | d) If the work has interactive user interfaces, each must display
231 | Appropriate Legal Notices; however, if the Program has interactive
232 | interfaces that do not display Appropriate Legal Notices, your
233 | work need not make them do so.
234 |
235 | A compilation of a covered work with other separate and independent
236 | works, which are not by their nature extensions of the covered work,
237 | and which are not combined with it such as to form a larger program,
238 | in or on a volume of a storage or distribution medium, is called an
239 | "aggregate" if the compilation and its resulting copyright are not
240 | used to limit the access or legal rights of the compilation's users
241 | beyond what the individual works permit. Inclusion of a covered work
242 | in an aggregate does not cause this License to apply to the other
243 | parts of the aggregate.
244 |
245 | 6. Conveying Non-Source Forms.
246 |
247 | You may convey a covered work in object code form under the terms
248 | of sections 4 and 5, provided that you also convey the
249 | machine-readable Corresponding Source under the terms of this License,
250 | in one of these ways:
251 |
252 | a) Convey the object code in, or embodied in, a physical product
253 | (including a physical distribution medium), accompanied by the
254 | Corresponding Source fixed on a durable physical medium
255 | customarily used for software interchange.
256 |
257 | b) Convey the object code in, or embodied in, a physical product
258 | (including a physical distribution medium), accompanied by a
259 | written offer, valid for at least three years and valid for as
260 | long as you offer spare parts or customer support for that product
261 | model, to give anyone who possesses the object code either (1) a
262 | copy of the Corresponding Source for all the software in the
263 | product that is covered by this License, on a durable physical
264 | medium customarily used for software interchange, for a price no
265 | more than your reasonable cost of physically performing this
266 | conveying of source, or (2) access to copy the
267 | Corresponding Source from a network server at no charge.
268 |
269 | c) Convey individual copies of the object code with a copy of the
270 | written offer to provide the Corresponding Source. This
271 | alternative is allowed only occasionally and noncommercially, and
272 | only if you received the object code with such an offer, in accord
273 | with subsection 6b.
274 |
275 | d) Convey the object code by offering access from a designated
276 | place (gratis or for a charge), and offer equivalent access to the
277 | Corresponding Source in the same way through the same place at no
278 | further charge. You need not require recipients to copy the
279 | Corresponding Source along with the object code. If the place to
280 | copy the object code is a network server, the Corresponding Source
281 | may be on a different server (operated by you or a third party)
282 | that supports equivalent copying facilities, provided you maintain
283 | clear directions next to the object code saying where to find the
284 | Corresponding Source. Regardless of what server hosts the
285 | Corresponding Source, you remain obligated to ensure that it is
286 | available for as long as needed to satisfy these requirements.
287 |
288 | e) Convey the object code using peer-to-peer transmission, provided
289 | you inform other peers where the object code and Corresponding
290 | Source of the work are being offered to the general public at no
291 | charge under subsection 6d.
292 |
293 | A separable portion of the object code, whose source code is excluded
294 | from the Corresponding Source as a System Library, need not be
295 | included in conveying the object code work.
296 |
297 | A "User Product" is either (1) a "consumer product", which means any
298 | tangible personal property which is normally used for personal, family,
299 | or household purposes, or (2) anything designed or sold for incorporation
300 | into a dwelling. In determining whether a product is a consumer product,
301 | doubtful cases shall be resolved in favor of coverage. For a particular
302 | product received by a particular user, "normally used" refers to a
303 | typical or common use of that class of product, regardless of the status
304 | of the particular user or of the way in which the particular user
305 | actually uses, or expects or is expected to use, the product. A product
306 | is a consumer product regardless of whether the product has substantial
307 | commercial, industrial or non-consumer uses, unless such uses represent
308 | the only significant mode of use of the product.
309 |
310 | "Installation Information" for a User Product means any methods,
311 | procedures, authorization keys, or other information required to install
312 | and execute modified versions of a covered work in that User Product from
313 | a modified version of its Corresponding Source. The information must
314 | suffice to ensure that the continued functioning of the modified object
315 | code is in no case prevented or interfered with solely because
316 | modification has been made.
317 |
318 | If you convey an object code work under this section in, or with, or
319 | specifically for use in, a User Product, and the conveying occurs as
320 | part of a transaction in which the right of possession and use of the
321 | User Product is transferred to the recipient in perpetuity or for a
322 | fixed term (regardless of how the transaction is characterized), the
323 | Corresponding Source conveyed under this section must be accompanied
324 | by the Installation Information. But this requirement does not apply
325 | if neither you nor any third party retains the ability to install
326 | modified object code on the User Product (for example, the work has
327 | been installed in ROM).
328 |
329 | The requirement to provide Installation Information does not include a
330 | requirement to continue to provide support service, warranty, or updates
331 | for a work that has been modified or installed by the recipient, or for
332 | the User Product in which it has been modified or installed. Access to a
333 | network may be denied when the modification itself materially and
334 | adversely affects the operation of the network or violates the rules and
335 | protocols for communication across the network.
336 |
337 | Corresponding Source conveyed, and Installation Information provided,
338 | in accord with this section must be in a format that is publicly
339 | documented (and with an implementation available to the public in
340 | source code form), and must require no special password or key for
341 | unpacking, reading or copying.
342 |
343 | 7. Additional Terms.
344 |
345 | "Additional permissions" are terms that supplement the terms of this
346 | License by making exceptions from one or more of its conditions.
347 | Additional permissions that are applicable to the entire Program shall
348 | be treated as though they were included in this License, to the extent
349 | that they are valid under applicable law. If additional permissions
350 | apply only to part of the Program, that part may be used separately
351 | under those permissions, but the entire Program remains governed by
352 | this License without regard to the additional permissions.
353 |
354 | When you convey a copy of a covered work, you may at your option
355 | remove any additional permissions from that copy, or from any part of
356 | it. (Additional permissions may be written to require their own
357 | removal in certain cases when you modify the work.) You may place
358 | additional permissions on material, added by you to a covered work,
359 | for which you have or can give appropriate copyright permission.
360 |
361 | Notwithstanding any other provision of this License, for material you
362 | add to a covered work, you may (if authorized by the copyright holders of
363 | that material) supplement the terms of this License with terms:
364 |
365 | a) Disclaiming warranty or limiting liability differently from the
366 | terms of sections 15 and 16 of this License; or
367 |
368 | b) Requiring preservation of specified reasonable legal notices or
369 | author attributions in that material or in the Appropriate Legal
370 | Notices displayed by works containing it; or
371 |
372 | c) Prohibiting misrepresentation of the origin of that material, or
373 | requiring that modified versions of such material be marked in
374 | reasonable ways as different from the original version; or
375 |
376 | d) Limiting the use for publicity purposes of names of licensors or
377 | authors of the material; or
378 |
379 | e) Declining to grant rights under trademark law for use of some
380 | trade names, trademarks, or service marks; or
381 |
382 | f) Requiring indemnification of licensors and authors of that
383 | material by anyone who conveys the material (or modified versions of
384 | it) with contractual assumptions of liability to the recipient, for
385 | any liability that these contractual assumptions directly impose on
386 | those licensors and authors.
387 |
388 | All other non-permissive additional terms are considered "further
389 | restrictions" within the meaning of section 10. If the Program as you
390 | received it, or any part of it, contains a notice stating that it is
391 | governed by this License along with a term that is a further
392 | restriction, you may remove that term. If a license document contains
393 | a further restriction but permits relicensing or conveying under this
394 | License, you may add to a covered work material governed by the terms
395 | of that license document, provided that the further restriction does
396 | not survive such relicensing or conveying.
397 |
398 | If you add terms to a covered work in accord with this section, you
399 | must place, in the relevant source files, a statement of the
400 | additional terms that apply to those files, or a notice indicating
401 | where to find the applicable terms.
402 |
403 | Additional terms, permissive or non-permissive, may be stated in the
404 | form of a separately written license, or stated as exceptions;
405 | the above requirements apply either way.
406 |
407 | 8. Termination.
408 |
409 | You may not propagate or modify a covered work except as expressly
410 | provided under this License. Any attempt otherwise to propagate or
411 | modify it is void, and will automatically terminate your rights under
412 | this License (including any patent licenses granted under the third
413 | paragraph of section 11).
414 |
415 | However, if you cease all violation of this License, then your
416 | license from a particular copyright holder is reinstated (a)
417 | provisionally, unless and until the copyright holder explicitly and
418 | finally terminates your license, and (b) permanently, if the copyright
419 | holder fails to notify you of the violation by some reasonable means
420 | prior to 60 days after the cessation.
421 |
422 | Moreover, your license from a particular copyright holder is
423 | reinstated permanently if the copyright holder notifies you of the
424 | violation by some reasonable means, this is the first time you have
425 | received notice of violation of this License (for any work) from that
426 | copyright holder, and you cure the violation prior to 30 days after
427 | your receipt of the notice.
428 |
429 | Termination of your rights under this section does not terminate the
430 | licenses of parties who have received copies or rights from you under
431 | this License. If your rights have been terminated and not permanently
432 | reinstated, you do not qualify to receive new licenses for the same
433 | material under section 10.
434 |
435 | 9. Acceptance Not Required for Having Copies.
436 |
437 | You are not required to accept this License in order to receive or
438 | run a copy of the Program. Ancillary propagation of a covered work
439 | occurring solely as a consequence of using peer-to-peer transmission
440 | to receive a copy likewise does not require acceptance. However,
441 | nothing other than this License grants you permission to propagate or
442 | modify any covered work. These actions infringe copyright if you do
443 | not accept this License. Therefore, by modifying or propagating a
444 | covered work, you indicate your acceptance of this License to do so.
445 |
446 | 10. Automatic Licensing of Downstream Recipients.
447 |
448 | Each time you convey a covered work, the recipient automatically
449 | receives a license from the original licensors, to run, modify and
450 | propagate that work, subject to this License. You are not responsible
451 | for enforcing compliance by third parties with this License.
452 |
453 | An "entity transaction" is a transaction transferring control of an
454 | organization, or substantially all assets of one, or subdividing an
455 | organization, or merging organizations. If propagation of a covered
456 | work results from an entity transaction, each party to that
457 | transaction who receives a copy of the work also receives whatever
458 | licenses to the work the party's predecessor in interest had or could
459 | give under the previous paragraph, plus a right to possession of the
460 | Corresponding Source of the work from the predecessor in interest, if
461 | the predecessor has it or can get it with reasonable efforts.
462 |
463 | You may not impose any further restrictions on the exercise of the
464 | rights granted or affirmed under this License. For example, you may
465 | not impose a license fee, royalty, or other charge for exercise of
466 | rights granted under this License, and you may not initiate litigation
467 | (including a cross-claim or counterclaim in a lawsuit) alleging that
468 | any patent claim is infringed by making, using, selling, offering for
469 | sale, or importing the Program or any portion of it.
470 |
471 | 11. Patents.
472 |
473 | A "contributor" is a copyright holder who authorizes use under this
474 | License of the Program or a work on which the Program is based. The
475 | work thus licensed is called the contributor's "contributor version".
476 |
477 | A contributor's "essential patent claims" are all patent claims
478 | owned or controlled by the contributor, whether already acquired or
479 | hereafter acquired, that would be infringed by some manner, permitted
480 | by this License, of making, using, or selling its contributor version,
481 | but do not include claims that would be infringed only as a
482 | consequence of further modification of the contributor version. For
483 | purposes of this definition, "control" includes the right to grant
484 | patent sublicenses in a manner consistent with the requirements of
485 | this License.
486 |
487 | Each contributor grants you a non-exclusive, worldwide, royalty-free
488 | patent license under the contributor's essential patent claims, to
489 | make, use, sell, offer for sale, import and otherwise run, modify and
490 | propagate the contents of its contributor version.
491 |
492 | In the following three paragraphs, a "patent license" is any express
493 | agreement or commitment, however denominated, not to enforce a patent
494 | (such as an express permission to practice a patent or covenant not to
495 | sue for patent infringement). To "grant" such a patent license to a
496 | party means to make such an agreement or commitment not to enforce a
497 | patent against the party.
498 |
499 | If you convey a covered work, knowingly relying on a patent license,
500 | and the Corresponding Source of the work is not available for anyone
501 | to copy, free of charge and under the terms of this License, through a
502 | publicly available network server or other readily accessible means,
503 | then you must either (1) cause the Corresponding Source to be so
504 | available, or (2) arrange to deprive yourself of the benefit of the
505 | patent license for this particular work, or (3) arrange, in a manner
506 | consistent with the requirements of this License, to extend the patent
507 | license to downstream recipients. "Knowingly relying" means you have
508 | actual knowledge that, but for the patent license, your conveying the
509 | covered work in a country, or your recipient's use of the covered work
510 | in a country, would infringe one or more identifiable patents in that
511 | country that you have reason to believe are valid.
512 |
513 | If, pursuant to or in connection with a single transaction or
514 | arrangement, you convey, or propagate by procuring conveyance of, a
515 | covered work, and grant a patent license to some of the parties
516 | receiving the covered work authorizing them to use, propagate, modify
517 | or convey a specific copy of the covered work, then the patent license
518 | you grant is automatically extended to all recipients of the covered
519 | work and works based on it.
520 |
521 | A patent license is "discriminatory" if it does not include within
522 | the scope of its coverage, prohibits the exercise of, or is
523 | conditioned on the non-exercise of one or more of the rights that are
524 | specifically granted under this License. You may not convey a covered
525 | work if you are a party to an arrangement with a third party that is
526 | in the business of distributing software, under which you make payment
527 | to the third party based on the extent of your activity of conveying
528 | the work, and under which the third party grants, to any of the
529 | parties who would receive the covered work from you, a discriminatory
530 | patent license (a) in connection with copies of the covered work
531 | conveyed by you (or copies made from those copies), or (b) primarily
532 | for and in connection with specific products or compilations that
533 | contain the covered work, unless you entered into that arrangement,
534 | or that patent license was granted, prior to 28 March 2007.
535 |
536 | Nothing in this License shall be construed as excluding or limiting
537 | any implied license or other defenses to infringement that may
538 | otherwise be available to you under applicable patent law.
539 |
540 | 12. No Surrender of Others' Freedom.
541 |
542 | If conditions are imposed on you (whether by court order, agreement or
543 | otherwise) that contradict the conditions of this License, they do not
544 | excuse you from the conditions of this License. If you cannot convey a
545 | covered work so as to satisfy simultaneously your obligations under this
546 | License and any other pertinent obligations, then as a consequence you may
547 | not convey it at all. For example, if you agree to terms that obligate you
548 | to collect a royalty for further conveying from those to whom you convey
549 | the Program, the only way you could satisfy both those terms and this
550 | License would be to refrain entirely from conveying the Program.
551 |
552 | 13. Use with the GNU Affero General Public License.
553 |
554 | Notwithstanding any other provision of this License, you have
555 | permission to link or combine any covered work with a work licensed
556 | under version 3 of the GNU Affero General Public License into a single
557 | combined work, and to convey the resulting work. The terms of this
558 | License will continue to apply to the part which is the covered work,
559 | but the special requirements of the GNU Affero General Public License,
560 | section 13, concerning interaction through a network will apply to the
561 | combination as such.
562 |
563 | 14. Revised Versions of this License.
564 |
565 | The Free Software Foundation may publish revised and/or new versions of
566 | the GNU General Public License from time to time. Such new versions will
567 | be similar in spirit to the present version, but may differ in detail to
568 | address new problems or concerns.
569 |
570 | Each version is given a distinguishing version number. If the
571 | Program specifies that a certain numbered version of the GNU General
572 | Public License "or any later version" applies to it, you have the
573 | option of following the terms and conditions either of that numbered
574 | version or of any later version published by the Free Software
575 | Foundation. If the Program does not specify a version number of the
576 | GNU General Public License, you may choose any version ever published
577 | by the Free Software Foundation.
578 |
579 | If the Program specifies that a proxy can decide which future
580 | versions of the GNU General Public License can be used, that proxy's
581 | public statement of acceptance of a version permanently authorizes you
582 | to choose that version for the Program.
583 |
584 | Later license versions may give you additional or different
585 | permissions. However, no additional obligations are imposed on any
586 | author or copyright holder as a result of your choosing to follow a
587 | later version.
588 |
589 | 15. Disclaimer of Warranty.
590 |
591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599 |
600 | 16. Limitation of Liability.
601 |
602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610 | SUCH DAMAGES.
611 |
612 | 17. Interpretation of Sections 15 and 16.
613 |
614 | If the disclaimer of warranty and limitation of liability provided
615 | above cannot be given local legal effect according to their terms,
616 | reviewing courts shall apply local law that most closely approximates
617 | an absolute waiver of all civil liability in connection with the
618 | Program, unless a warranty or assumption of liability accompanies a
619 | copy of the Program in return for a fee.
620 |
621 | END OF TERMS AND CONDITIONS
622 |
623 | How to Apply These Terms to Your New Programs
624 |
625 | If you develop a new program, and you want it to be of the greatest
626 | possible use to the public, the best way to achieve this is to make it
627 | free software which everyone can redistribute and change under these terms.
628 |
629 | To do so, attach the following notices to the program. It is safest
630 | to attach them to the start of each source file to most effectively
631 | state the exclusion of warranty; and each file should have at least
632 | the "copyright" line and a pointer to where the full notice is found.
633 |
634 |
635 | Copyright (C)
636 |
637 | This program is free software: you can redistribute it and/or modify
638 | it under the terms of the GNU General Public License as published by
639 | the Free Software Foundation, either version 3 of the License, or
640 | (at your option) any later version.
641 |
642 | This program is distributed in the hope that it will be useful,
643 | but WITHOUT ANY WARRANTY; without even the implied warranty of
644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645 | GNU General Public License for more details.
646 |
647 | You should have received a copy of the GNU General Public License
648 | along with this program. If not, see .
649 |
650 | Also add information on how to contact you by electronic and paper mail.
651 |
652 | If the program does terminal interaction, make it output a short
653 | notice like this when it starts in an interactive mode:
654 |
655 | Copyright (C)
656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657 | This is free software, and you are welcome to redistribute it
658 | under certain conditions; type `show c' for details.
659 |
660 | The hypothetical commands `show w' and `show c' should show the appropriate
661 | parts of the General Public License. Of course, your program's commands
662 | might be different; for a GUI interface, you would use an "about box".
663 |
664 | You should also get your employer (if you work as a programmer) or school,
665 | if any, to sign a "copyright disclaimer" for the program, if necessary.
666 | For more information on this, and how to apply and follow the GNU GPL, see
667 | .
668 |
669 | The GNU General Public License does not permit incorporating your program
670 | into proprietary programs. If your program is a subroutine library, you
671 | may consider it more useful to permit linking proprietary applications with
672 | the library. If this is what you want to do, use the GNU Lesser General
673 | Public License instead of this License. But first, please read
674 | .
675 |
--------------------------------------------------------------------------------
/dashboards/es-history-stats-dashboard.json:
--------------------------------------------------------------------------------
1 | {
2 | "__inputs": [
3 | {
4 | "name": "DS_PROMETHEUS",
5 | "label": "Prometheus",
6 | "description": "",
7 | "type": "datasource",
8 | "pluginId": "prometheus",
9 | "pluginName": "Prometheus"
10 | }
11 | ],
12 | "__requires": [
13 | {
14 | "type": "grafana",
15 | "id": "grafana",
16 | "name": "Grafana",
17 | "version": "3.1"
18 | },
19 | {
20 | "type": "panel",
21 | "id": "graph",
22 | "name": "Graph",
23 | "version": ""
24 | },
25 | {
26 | "type": "datasource",
27 | "id": "prometheus",
28 | "name": "Prometheus",
29 | "version": "1.0.0"
30 | },
31 | {
32 | "type": "panel",
33 | "id": "singlestat",
34 | "name": "Singlestat",
35 | "version": ""
36 | },
37 | {
38 | "type": "panel",
39 | "id": "table",
40 | "name": "Table",
41 | "version": ""
42 | }
43 | ],
44 | "annotations": {
45 | "list": [
46 | {
47 | "builtIn": 1,
48 | "datasource": "-- Grafana --",
49 | "enable": true,
50 | "hide": true,
51 | "iconColor": "rgba(0, 211, 255, 1)",
52 | "name": "Annotations & Alerts",
53 | "type": "dashboard"
54 | }
55 | ]
56 | },
57 | "description": "",
58 | "editable": true,
59 | "gnetId": 6483,
60 | "graphTooltip": 1,
61 | "id": 79,
62 | "iteration": 1601026115630,
63 | "links": [
64 | {
65 | "asDropdown": true,
66 | "icon": "external link",
67 | "tags": [
68 | "elasticsearch"
69 | ],
70 | "title": "ES Dashboards",
71 | "type": "dashboards"
72 | }
73 | ],
74 | "panels": [
75 | {
76 | "collapsed": false,
77 | "gridPos": {
78 | "h": 1,
79 | "w": 24,
80 | "x": 0,
81 | "y": 0
82 | },
83 | "id": 231,
84 | "panels": [],
85 | "title": "Cluster Level - $cluster",
86 | "type": "row"
87 | },
88 | {
89 | "aliasColors": {},
90 | "bars": false,
91 | "dashLength": 10,
92 | "dashes": false,
93 | "datasource": "${DS_PROMETHEUS}",
94 | "description": "",
95 | "fill": 0,
96 | "fillGradient": 0,
97 | "gridPos": {
98 | "h": 7,
99 | "w": 24,
100 | "x": 0,
101 | "y": 1
102 | },
103 | "id": 213,
104 | "legend": {
105 | "alignAsTable": true,
106 | "avg": true,
107 | "current": false,
108 | "max": true,
109 | "min": true,
110 | "rightSide": true,
111 | "show": true,
112 | "sort": "avg",
113 | "sortDesc": true,
114 | "total": false,
115 | "values": true
116 | },
117 | "lines": true,
118 | "linewidth": 1,
119 | "links": [],
120 | "nullPointMode": "null",
121 | "options": {
122 | "dataLinks": []
123 | },
124 | "percentage": false,
125 | "pointradius": 5,
126 | "points": false,
127 | "renderer": "flot",
128 | "seriesOverrides": [
129 | {
130 | "alias": "ProcRate - Today",
131 | "bars": true,
132 | "color": "rgb(19, 81, 164)",
133 | "legend": false,
134 | "lines": false,
135 | "yaxis": 2,
136 | "zindex": -3
137 | },
138 | {
139 | "alias": "Today",
140 | "color": "#FFEE52"
141 | }
142 | ],
143 | "spaceLength": 10,
144 | "stack": false,
145 | "steppedLine": false,
146 | "targets": [
147 | {
148 | "expr": "sum (rate(elasticsearch_indices_indexing_index_total{instance=~\"$instance\",cluster=\"$cluster\"}[$interval]))",
149 | "format": "time_series",
150 | "intervalFactor": 1,
151 | "legendFormat": "Today",
152 | "refId": "A"
153 | },
154 | {
155 | "expr": "1 / (\nsum (rate(elasticsearch_indices_indexing_index_time_seconds_total{instance=~\"$instance\",cluster=\"$cluster\"}[$interval])) / \nsum (rate(elasticsearch_indices_indexing_index_total{instance=~\"$instance\",cluster=\"$cluster\"}[$interval]))\n)",
156 | "hide": false,
157 | "legendFormat": "ProcRate - Today",
158 | "refId": "B"
159 | },
160 | {
161 | "expr": "label_replace(sum (rate(elasticsearch_indices_indexing_index_total{instance=~\"$instance\",cluster=\"$cluster\"}[$interval] offset $day)), \"time\", \"$day\", \"\", \".*\") or\nlabel_replace(sum (rate(elasticsearch_indices_indexing_index_total{instance=~\"$instance\",cluster=\"$cluster\"}[$interval] offset $day1)), \"time\", \"$day1\", \"\", \".*\") or\nlabel_replace(sum (rate(elasticsearch_indices_indexing_index_total{instance=~\"$instance\",cluster=\"$cluster\"}[$interval] offset $day2)), \"time\", \"$day2\", \"\", \".*\")",
162 | "legendFormat": "Last {{ time }}",
163 | "refId": "C"
164 | }
165 | ],
166 | "thresholds": [],
167 | "timeFrom": null,
168 | "timeRegions": [],
169 | "timeShift": null,
170 | "title": "Cluster Indexing - $cluster",
171 | "tooltip": {
172 | "shared": true,
173 | "sort": 2,
174 | "value_type": "individual"
175 | },
176 | "type": "graph",
177 | "xaxis": {
178 | "buckets": null,
179 | "mode": "time",
180 | "name": null,
181 | "show": true,
182 | "values": []
183 | },
184 | "yaxes": [
185 | {
186 | "decimals": null,
187 | "format": "reqps",
188 | "label": "ReqRate",
189 | "logBase": 1,
190 | "max": null,
191 | "min": "0",
192 | "show": true
193 | },
194 | {
195 | "format": "reqps",
196 | "label": "ProcRate",
197 | "logBase": 1,
198 | "max": null,
199 | "min": "0",
200 | "show": true
201 | }
202 | ],
203 | "yaxis": {
204 | "align": false,
205 | "alignLevel": null
206 | }
207 | },
208 | {
209 | "aliasColors": {},
210 | "bars": false,
211 | "dashLength": 10,
212 | "dashes": false,
213 | "datasource": "${DS_PROMETHEUS}",
214 | "description": "",
215 | "fill": 0,
216 | "fillGradient": 0,
217 | "gridPos": {
218 | "h": 7,
219 | "w": 24,
220 | "x": 0,
221 | "y": 8
222 | },
223 | "id": 234,
224 | "legend": {
225 | "alignAsTable": true,
226 | "avg": true,
227 | "current": false,
228 | "max": true,
229 | "min": true,
230 | "rightSide": true,
231 | "show": true,
232 | "sort": "avg",
233 | "sortDesc": true,
234 | "total": false,
235 | "values": true
236 | },
237 | "lines": true,
238 | "linewidth": 1,
239 | "links": [],
240 | "maxPerRow": 3,
241 | "nullPointMode": "null",
242 | "options": {
243 | "dataLinks": []
244 | },
245 | "percentage": false,
246 | "pointradius": 5,
247 | "points": false,
248 | "renderer": "flot",
249 | "repeatDirection": "h",
250 | "seriesOverrides": [
251 | {
252 | "alias": "ProcRate - Today",
253 | "bars": true,
254 | "color": "rgb(17, 79, 185)",
255 | "legend": false,
256 | "lines": false,
257 | "yaxis": 2,
258 | "zindex": -3
259 | },
260 | {
261 | "alias": "Today",
262 | "color": "#FFEE52"
263 | }
264 | ],
265 | "spaceLength": 10,
266 | "stack": false,
267 | "steppedLine": false,
268 | "targets": [
269 | {
270 | "expr": "sum (rate(elasticsearch_indices_search_query_total{instance=~\"$instance\",cluster=\"$cluster\"}[$interval]))",
271 | "format": "time_series",
272 | "intervalFactor": 1,
273 | "legendFormat": "Today",
274 | "refId": "B"
275 | },
276 | {
277 | "expr": "1 / (\n(sum(rate(elasticsearch_indices_search_query_time_seconds{instance=~\"$instance\",cluster=\"$cluster\"}[$interval]))\n+ sum(rate(elasticsearch_indices_search_fetch_time_seconds{instance=~\"$instance\",cluster=\"$cluster\"}[$interval]))\n+ sum(rate(elasticsearch_indices_search_scroll_time_seconds{instance=~\"$instance\",cluster=\"$cluster\"}[$interval]))\n+ sum(rate(elasticsearch_indices_search_suggest_time_seconds{instance=~\"$instance\",cluster=\"$cluster\"}[$interval]))\n) /\nsum(rate(elasticsearch_indices_search_query_total{instance=~\"$instance\",cluster=\"$cluster\"}[$interval]))\n)",
278 | "legendFormat": "ProcRate - Today",
279 | "refId": "A"
280 | },
281 | {
282 | "expr": "label_replace(sum (rate(elasticsearch_indices_search_query_total{instance=~\"$instance\",cluster=\"$cluster\"}[$interval] offset $day)), \"time\", \"$day\", \"\", \".*\") or\nlabel_replace(sum (rate(elasticsearch_indices_search_query_total{instance=~\"$instance\",cluster=\"$cluster\"}[$interval] offset $day1)), \"time\", \"$day1\", \"\", \".*\") or\nlabel_replace(sum (rate(elasticsearch_indices_search_query_total{instance=~\"$instance\",cluster=\"$cluster\"}[$interval] offset $day2)), \"time\", \"$day2\", \"\", \".*\")",
283 | "legendFormat": "Last {{ time }}",
284 | "refId": "C"
285 | }
286 | ],
287 | "thresholds": [],
288 | "timeFrom": null,
289 | "timeRegions": [],
290 | "timeShift": null,
291 | "title": "Cluster Search Query - $cluster",
292 | "tooltip": {
293 | "shared": true,
294 | "sort": 2,
295 | "value_type": "individual"
296 | },
297 | "type": "graph",
298 | "xaxis": {
299 | "buckets": null,
300 | "mode": "time",
301 | "name": null,
302 | "show": true,
303 | "values": []
304 | },
305 | "yaxes": [
306 | {
307 | "decimals": null,
308 | "format": "reqps",
309 | "label": "ReqRate",
310 | "logBase": 1,
311 | "max": null,
312 | "min": "0",
313 | "show": true
314 | },
315 | {
316 | "format": "reqps",
317 | "label": "ProcRate",
318 | "logBase": 1,
319 | "max": null,
320 | "min": "0",
321 | "show": true
322 | }
323 | ],
324 | "yaxis": {
325 | "align": false,
326 | "alignLevel": null
327 | }
328 | },
329 | {
330 | "collapsed": false,
331 | "gridPos": {
332 | "h": 1,
333 | "w": 24,
334 | "x": 0,
335 | "y": 15
336 | },
337 | "id": 236,
338 | "panels": [],
339 | "repeat": null,
340 | "title": "Node Level - $name",
341 | "type": "row"
342 | },
343 | {
344 | "aliasColors": {},
345 | "bars": false,
346 | "dashLength": 10,
347 | "dashes": false,
348 | "datasource": "${DS_PROMETHEUS}",
349 | "description": "",
350 | "fill": 0,
351 | "fillGradient": 0,
352 | "gridPos": {
353 | "h": 7,
354 | "w": 24,
355 | "x": 0,
356 | "y": 16
357 | },
358 | "id": 242,
359 | "legend": {
360 | "alignAsTable": true,
361 | "avg": true,
362 | "current": false,
363 | "max": true,
364 | "min": true,
365 | "rightSide": true,
366 | "show": true,
367 | "sort": "avg",
368 | "sortDesc": true,
369 | "total": false,
370 | "values": true
371 | },
372 | "lines": true,
373 | "linewidth": 1,
374 | "links": [],
375 | "nullPointMode": "null",
376 | "options": {
377 | "dataLinks": []
378 | },
379 | "percentage": false,
380 | "pointradius": 5,
381 | "points": false,
382 | "renderer": "flot",
383 | "seriesOverrides": [
384 | {
385 | "alias": "ProcRate - Today",
386 | "bars": true,
387 | "color": "rgb(19, 81, 164)",
388 | "legend": false,
389 | "lines": false,
390 | "yaxis": 2,
391 | "zindex": -3
392 | },
393 | {
394 | "alias": "Today",
395 | "color": "#FFEE52"
396 | }
397 | ],
398 | "spaceLength": 10,
399 | "stack": false,
400 | "steppedLine": false,
401 | "targets": [
402 | {
403 | "expr": "rate(elasticsearch_indices_indexing_index_total{instance=~\"$instance\",cluster=\"$cluster\",name=~\"$name\"}[$interval])",
404 | "format": "time_series",
405 | "intervalFactor": 1,
406 | "legendFormat": "Today",
407 | "refId": "A"
408 | },
409 | {
410 | "expr": "1 / (\nrate(elasticsearch_indices_indexing_index_time_seconds_total{instance=~\"$instance\",cluster=\"$cluster\",name=~\"$name\"}[$interval]) / rate(elasticsearch_indices_indexing_index_total{instance=~\"$instance\",cluster=\"$cluster\",name=~\"$name\"}[$interval])\n)",
411 | "legendFormat": "ProcRate - Today",
412 | "refId": "B"
413 | },
414 | {
415 | "expr": "label_replace(rate(elasticsearch_indices_indexing_index_total{instance=~\"$instance\",cluster=\"$cluster\",name=~\"$name\"}[$interval] offset $day), \"time\", \"$day\", \"\", \".*\") or\nlabel_replace(rate(elasticsearch_indices_indexing_index_total{instance=~\"$instance\",cluster=\"$cluster\",name=~\"$name\"}[$interval] offset $day1), \"time\", \"$day1\", \"\", \".*\") or\nlabel_replace(rate(elasticsearch_indices_indexing_index_total{instance=~\"$instance\",cluster=\"$cluster\",name=~\"$name\"}[$interval] offset $day2), \"time\", \"$day2\", \"\", \".*\")",
416 | "legendFormat": "Last {{ time }}",
417 | "refId": "C"
418 | }
419 | ],
420 | "thresholds": [],
421 | "timeFrom": null,
422 | "timeRegions": [],
423 | "timeShift": null,
424 | "title": "Node Indexing - $name",
425 | "tooltip": {
426 | "shared": true,
427 | "sort": 2,
428 | "value_type": "individual"
429 | },
430 | "type": "graph",
431 | "xaxis": {
432 | "buckets": null,
433 | "mode": "time",
434 | "name": null,
435 | "show": true,
436 | "values": []
437 | },
438 | "yaxes": [
439 | {
440 | "decimals": null,
441 | "format": "reqps",
442 | "label": "ReqRate",
443 | "logBase": 1,
444 | "max": null,
445 | "min": "0",
446 | "show": true
447 | },
448 | {
449 | "format": "reqps",
450 | "label": "ProcRate",
451 | "logBase": 1,
452 | "max": null,
453 | "min": "0",
454 | "show": true
455 | }
456 | ],
457 | "yaxis": {
458 | "align": false,
459 | "alignLevel": null
460 | }
461 | },
462 | {
463 | "aliasColors": {},
464 | "bars": false,
465 | "dashLength": 10,
466 | "dashes": false,
467 | "datasource": "${DS_PROMETHEUS}",
468 | "description": "",
469 | "fill": 0,
470 | "fillGradient": 0,
471 | "gridPos": {
472 | "h": 7,
473 | "w": 24,
474 | "x": 0,
475 | "y": 23
476 | },
477 | "id": 244,
478 | "legend": {
479 | "alignAsTable": true,
480 | "avg": true,
481 | "current": false,
482 | "max": true,
483 | "min": true,
484 | "rightSide": true,
485 | "show": true,
486 | "sort": "avg",
487 | "sortDesc": true,
488 | "total": false,
489 | "values": true
490 | },
491 | "lines": true,
492 | "linewidth": 1,
493 | "links": [],
494 | "maxPerRow": 3,
495 | "nullPointMode": "null",
496 | "options": {
497 | "dataLinks": []
498 | },
499 | "percentage": false,
500 | "pointradius": 5,
501 | "points": false,
502 | "renderer": "flot",
503 | "repeatDirection": "h",
504 | "seriesOverrides": [
505 | {
506 | "alias": "ProcRate - Today",
507 | "bars": true,
508 | "color": "rgb(17, 79, 185)",
509 | "legend": false,
510 | "lines": false,
511 | "yaxis": 2,
512 | "zindex": -3
513 | },
514 | {
515 | "alias": "Today",
516 | "color": "#FFEE52"
517 | }
518 | ],
519 | "spaceLength": 10,
520 | "stack": false,
521 | "steppedLine": false,
522 | "targets": [
523 | {
524 | "expr": "rate(elasticsearch_indices_search_query_total{instance=~\"$instance\",cluster=\"$cluster\",name=~\"$name\"}[$interval])",
525 | "format": "time_series",
526 | "intervalFactor": 1,
527 | "legendFormat": "Today",
528 | "refId": "B"
529 | },
530 | {
531 | "expr": "1 / (\n(rate(elasticsearch_indices_search_query_time_seconds{instance=~\"$instance\",cluster=\"$cluster\",name=~\"$name\"}[$interval])\n+ rate(elasticsearch_indices_search_fetch_time_seconds{instance=~\"$instance\",cluster=\"$cluster\",name=~\"$name\"}[$interval])\n+ rate(elasticsearch_indices_search_scroll_time_seconds{instance=~\"$instance\",cluster=\"$cluster\",name=~\"$name\"}[$interval])\n+ rate(elasticsearch_indices_search_suggest_time_seconds{instance=~\"$instance\",cluster=\"$cluster\",name=~\"$name\"}[$interval])\n) /\nrate(elasticsearch_indices_search_query_total{instance=~\"$instance\",cluster=\"$cluster\",name=~\"$name\"}[$interval])\n)",
532 | "legendFormat": "ProcRate - Today",
533 | "refId": "A"
534 | },
535 | {
536 | "expr": "label_replace(rate(elasticsearch_indices_search_query_total{instance=~\"$instance\",cluster=\"$cluster\",name=~\"$name\"}[$interval] offset $day), \"time\", \"$day\", \"\", \".*\") or\nlabel_replace(rate(elasticsearch_indices_search_query_total{instance=~\"$instance\",cluster=\"$cluster\",name=~\"$name\"}[$interval] offset $day1), \"time\", \"$day1\", \"\", \".*\") or\nlabel_replace(rate(elasticsearch_indices_indexing_index_total{instance=~\"$instance\",cluster=\"$cluster\",name=~\"$name\"}[$interval] offset $day2), \"time\", \"$day2\", \"\", \".*\")",
537 | "legendFormat": "Last {{ time }}",
538 | "refId": "C"
539 | }
540 | ],
541 | "thresholds": [],
542 | "timeFrom": null,
543 | "timeRegions": [],
544 | "timeShift": null,
545 | "title": "Node Search Query - $name",
546 | "tooltip": {
547 | "shared": true,
548 | "sort": 2,
549 | "value_type": "individual"
550 | },
551 | "type": "graph",
552 | "xaxis": {
553 | "buckets": null,
554 | "mode": "time",
555 | "name": null,
556 | "show": true,
557 | "values": []
558 | },
559 | "yaxes": [
560 | {
561 | "decimals": null,
562 | "format": "reqps",
563 | "label": "ReqRate",
564 | "logBase": 1,
565 | "max": null,
566 | "min": "0",
567 | "show": true
568 | },
569 | {
570 | "format": "reqps",
571 | "label": "ProcRate",
572 | "logBase": 1,
573 | "max": null,
574 | "min": "0",
575 | "show": true
576 | }
577 | ],
578 | "yaxis": {
579 | "align": false,
580 | "alignLevel": null
581 | }
582 | },
583 | {
584 | "collapsed": false,
585 | "gridPos": {
586 | "h": 1,
587 | "w": 24,
588 | "x": 0,
589 | "y": 30
590 | },
591 | "id": 241,
592 | "panels": [],
593 | "title": "Index Level - $index",
594 | "type": "row"
595 | },
596 | {
597 | "aliasColors": {},
598 | "bars": false,
599 | "dashLength": 10,
600 | "dashes": false,
601 | "datasource": "${DS_PROMETHEUS}",
602 | "description": "",
603 | "fill": 0,
604 | "fillGradient": 0,
605 | "gridPos": {
606 | "h": 7,
607 | "w": 24,
608 | "x": 0,
609 | "y": 31
610 | },
611 | "id": 243,
612 | "legend": {
613 | "alignAsTable": true,
614 | "avg": true,
615 | "current": false,
616 | "max": true,
617 | "min": true,
618 | "rightSide": true,
619 | "show": true,
620 | "sort": "avg",
621 | "sortDesc": true,
622 | "total": false,
623 | "values": true
624 | },
625 | "lines": true,
626 | "linewidth": 1,
627 | "links": [],
628 | "nullPointMode": "null",
629 | "options": {
630 | "dataLinks": []
631 | },
632 | "percentage": false,
633 | "pointradius": 5,
634 | "points": false,
635 | "renderer": "flot",
636 | "seriesOverrides": [
637 | {
638 | "alias": "ProcRate - Today",
639 | "bars": true,
640 | "color": "rgb(19, 81, 164)",
641 | "legend": false,
642 | "lines": false,
643 | "yaxis": 2,
644 | "zindex": -3
645 | },
646 | {
647 | "alias": "Today",
648 | "color": "#FFEE52"
649 | }
650 | ],
651 | "spaceLength": 10,
652 | "stack": false,
653 | "steppedLine": false,
654 | "targets": [
655 | {
656 | "expr": "rate(elasticsearch_index_stats_indexing_index_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
657 | "format": "time_series",
658 | "intervalFactor": 1,
659 | "legendFormat": "Today",
660 | "refId": "A"
661 | },
662 | {
663 | "expr": "1 / (\nrate(elasticsearch_index_stats_indexing_index_time_seconds_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval]) / rate(elasticsearch_index_stats_indexing_index_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])\n)",
664 | "legendFormat": "ProcRate - Today",
665 | "refId": "B"
666 | },
667 | {
668 | "expr": "label_replace(rate(elasticsearch_index_stats_indexing_index_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval] offset $day), \"time\", \"$day\", \"\", \".*\") or\nlabel_replace(rate(elasticsearch_index_stats_indexing_index_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval] offset $day1), \"time\", \"$day1\", \"\", \".*\") or\nlabel_replace(rate(elasticsearch_index_stats_indexing_index_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval] offset $day2), \"time\", \"$day2\", \"\", \".*\")",
669 | "legendFormat": "Last {{ time }}",
670 | "refId": "C"
671 | }
672 | ],
673 | "thresholds": [],
674 | "timeFrom": null,
675 | "timeRegions": [],
676 | "timeShift": null,
677 | "title": "Indexing - $index",
678 | "tooltip": {
679 | "shared": true,
680 | "sort": 2,
681 | "value_type": "individual"
682 | },
683 | "type": "graph",
684 | "xaxis": {
685 | "buckets": null,
686 | "mode": "time",
687 | "name": null,
688 | "show": true,
689 | "values": []
690 | },
691 | "yaxes": [
692 | {
693 | "decimals": null,
694 | "format": "reqps",
695 | "label": "ReqRate",
696 | "logBase": 1,
697 | "max": null,
698 | "min": "0",
699 | "show": true
700 | },
701 | {
702 | "format": "reqps",
703 | "label": "ProcRate",
704 | "logBase": 1,
705 | "max": null,
706 | "min": "0",
707 | "show": true
708 | }
709 | ],
710 | "yaxis": {
711 | "align": false,
712 | "alignLevel": null
713 | }
714 | },
715 | {
716 | "aliasColors": {},
717 | "bars": false,
718 | "dashLength": 10,
719 | "dashes": false,
720 | "datasource": "${DS_PROMETHEUS}",
721 | "description": "",
722 | "fill": 0,
723 | "fillGradient": 0,
724 | "gridPos": {
725 | "h": 7,
726 | "w": 24,
727 | "x": 0,
728 | "y": 38
729 | },
730 | "id": 245,
731 | "legend": {
732 | "alignAsTable": true,
733 | "avg": true,
734 | "current": false,
735 | "max": true,
736 | "min": true,
737 | "rightSide": true,
738 | "show": true,
739 | "sort": "avg",
740 | "sortDesc": true,
741 | "total": false,
742 | "values": true
743 | },
744 | "lines": true,
745 | "linewidth": 1,
746 | "links": [],
747 | "maxPerRow": 3,
748 | "nullPointMode": "null",
749 | "options": {
750 | "dataLinks": []
751 | },
752 | "percentage": false,
753 | "pointradius": 5,
754 | "points": false,
755 | "renderer": "flot",
756 | "repeatDirection": "h",
757 | "seriesOverrides": [
758 | {
759 | "alias": "ProcRate - Today",
760 | "bars": true,
761 | "color": "rgb(17, 79, 185)",
762 | "legend": false,
763 | "lines": false,
764 | "yaxis": 2,
765 | "zindex": -3
766 | },
767 | {
768 | "alias": "Today",
769 | "color": "#FFEE52"
770 | }
771 | ],
772 | "spaceLength": 10,
773 | "stack": false,
774 | "steppedLine": false,
775 | "targets": [
776 | {
777 | "expr": "rate(elasticsearch_index_stats_search_query_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
778 | "format": "time_series",
779 | "intervalFactor": 1,
780 | "legendFormat": "Today",
781 | "refId": "B"
782 | },
783 | {
784 | "expr": "1 / (\n(rate(elasticsearch_index_stats_search_query_time_seconds_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])\n+ rate(elasticsearch_index_stats_search_fetch_time_seconds_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])\n+ rate(elasticsearch_index_stats_search_scroll_time_seconds_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])\n+ rate(elasticsearch_index_stats_search_suggest_time_seconds_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])\n) / rate(elasticsearch_index_stats_search_query_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])\n)",
785 | "legendFormat": "ProcRate - Today",
786 | "refId": "A"
787 | },
788 | {
789 | "expr": "label_replace(rate(elasticsearch_index_stats_search_query_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval] offset $day), \"time\", \"$day\", \"\", \".*\") or\nlabel_replace(rate(elasticsearch_index_stats_search_query_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval] offset $day1), \"time\", \"$day1\", \"\", \".*\") or\nlabel_replace(rate(elasticsearch_index_stats_indexing_index_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval] offset $day2), \"time\", \"$day2\", \"\", \".*\")",
790 | "legendFormat": "Last {{ time }}",
791 | "refId": "C"
792 | }
793 | ],
794 | "thresholds": [],
795 | "timeFrom": null,
796 | "timeRegions": [],
797 | "timeShift": null,
798 | "title": "Search Query - $index",
799 | "tooltip": {
800 | "shared": true,
801 | "sort": 2,
802 | "value_type": "individual"
803 | },
804 | "type": "graph",
805 | "xaxis": {
806 | "buckets": null,
807 | "mode": "time",
808 | "name": null,
809 | "show": true,
810 | "values": []
811 | },
812 | "yaxes": [
813 | {
814 | "decimals": null,
815 | "format": "reqps",
816 | "label": "ReqRate",
817 | "logBase": 1,
818 | "max": null,
819 | "min": "0",
820 | "show": true
821 | },
822 | {
823 | "format": "reqps",
824 | "label": "ProcRate",
825 | "logBase": 1,
826 | "max": null,
827 | "min": "0",
828 | "show": true
829 | }
830 | ],
831 | "yaxis": {
832 | "align": false,
833 | "alignLevel": null
834 | }
835 | }
836 | ],
837 | "refresh": "5m",
838 | "schemaVersion": 20,
839 | "style": "dark",
840 | "tags": [
841 | "elasticsearch",
842 | "es-cluster-hist"
843 | ],
844 | "templating": {
845 | "list": [
846 | {
847 | "allValue": null,
848 | "current": {
849 | "text": "",
850 | "value": ""
851 | },
852 | "datasource": "${DS_PROMETHEUS}",
853 | "definition": "",
854 | "hide": 0,
855 | "includeAll": false,
856 | "label": "Cluster",
857 | "multi": false,
858 | "name": "cluster",
859 | "options": [],
860 | "query": "label_values(elasticsearch_indices_docs,cluster)",
861 | "refresh": 1,
862 | "regex": "",
863 | "skipUrlSync": false,
864 | "sort": 1,
865 | "tagValuesQuery": null,
866 | "tags": [],
867 | "tagsQuery": null,
868 | "type": "query",
869 | "useTags": false
870 | },
871 | {
872 | "allValue": null,
873 | "current": {
874 | "text": "localhost:9115",
875 | "value": "localhost:9115"
876 | },
877 | "datasource": "${DS_PROMETHEUS}",
878 | "definition": "",
879 | "hide": 2,
880 | "includeAll": false,
881 | "label": "Source of metrics",
882 | "multi": false,
883 | "name": "instance",
884 | "options": [],
885 | "query": "label_values(elasticsearch_indices_docs{cluster=\"$cluster\", name!=\"\"},instance)",
886 | "refresh": 1,
887 | "regex": "",
888 | "skipUrlSync": false,
889 | "sort": 1,
890 | "tagValuesQuery": null,
891 | "tags": [],
892 | "tagsQuery": null,
893 | "type": "query",
894 | "useTags": false
895 | },
896 | {
897 | "allValue": null,
898 | "current": {
899 | "text": "",
900 | "value": ""
901 | },
902 | "datasource": "${DS_PROMETHEUS}",
903 | "definition": "label_values(elasticsearch_indices_docs{instance=\"$instance\",cluster=\"$cluster\", name!=\"\"},name)",
904 | "hide": 0,
905 | "includeAll": false,
906 | "label": "Node name",
907 | "multi": false,
908 | "name": "name",
909 | "options": [],
910 | "query": "label_values(elasticsearch_indices_docs{instance=\"$instance\",cluster=\"$cluster\", name!=\"\"},name)",
911 | "refresh": 1,
912 | "regex": "",
913 | "skipUrlSync": false,
914 | "sort": 2,
915 | "tagValuesQuery": null,
916 | "tags": [],
917 | "tagsQuery": null,
918 | "type": "query",
919 | "useTags": false
920 | },
921 | {
922 | "allValue": null,
923 | "current": {
924 | "text": "",
925 | "value": ""
926 | },
927 | "datasource": "${DS_PROMETHEUS}",
928 | "definition": "label_values(elasticsearch_index_stats_get_total{instance=\"$instance\",cluster=\"$cluster\"},index)",
929 | "hide": 0,
930 | "includeAll": false,
931 | "label": "Index",
932 | "multi": false,
933 | "name": "index",
934 | "options": [],
935 | "query": "label_values(elasticsearch_index_stats_get_total{instance=\"$instance\",cluster=\"$cluster\"},index)",
936 | "refresh": 1,
937 | "regex": "",
938 | "skipUrlSync": false,
939 | "sort": 2,
940 | "tagValuesQuery": "",
941 | "tags": [],
942 | "tagsQuery": "",
943 | "type": "query",
944 | "useTags": false
945 | },
946 | {
947 | "auto": true,
948 | "auto_count": 30,
949 | "auto_min": "10s",
950 | "current": {
951 | "text": "5m",
952 | "value": "5m"
953 | },
954 | "hide": 2,
955 | "label": "Rate Interval",
956 | "name": "interval",
957 | "options": [
958 | {
959 | "selected": false,
960 | "text": "auto",
961 | "value": "$__auto_interval_interval"
962 | },
963 | {
964 | "selected": true,
965 | "text": "5m",
966 | "value": "5m"
967 | },
968 | {
969 | "selected": false,
970 | "text": "10m",
971 | "value": "10m"
972 | },
973 | {
974 | "selected": false,
975 | "text": "30m",
976 | "value": "30m"
977 | },
978 | {
979 | "selected": false,
980 | "text": "1h",
981 | "value": "1h"
982 | },
983 | {
984 | "selected": false,
985 | "text": "6h",
986 | "value": "6h"
987 | },
988 | {
989 | "selected": false,
990 | "text": "12h",
991 | "value": "12h"
992 | },
993 | {
994 | "selected": false,
995 | "text": "1d",
996 | "value": "1d"
997 | },
998 | {
999 | "selected": false,
1000 | "text": "7d",
1001 | "value": "7d"
1002 | },
1003 | {
1004 | "selected": false,
1005 | "text": "14d",
1006 | "value": "14d"
1007 | },
1008 | {
1009 | "selected": false,
1010 | "text": "30d",
1011 | "value": "30d"
1012 | }
1013 | ],
1014 | "query": "5m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
1015 | "refresh": 2,
1016 | "skipUrlSync": false,
1017 | "type": "interval"
1018 | },
1019 | {
1020 | "allValue": null,
1021 | "current": {
1022 | "tags": [],
1023 | "text": "7d",
1024 | "value": "7d"
1025 | },
1026 | "hide": 0,
1027 | "includeAll": false,
1028 | "label": "Day",
1029 | "multi": false,
1030 | "name": "day",
1031 | "options": [
1032 | {
1033 | "selected": false,
1034 | "text": "1d",
1035 | "value": "1d"
1036 | },
1037 | {
1038 | "selected": false,
1039 | "text": "2d",
1040 | "value": "2d"
1041 | },
1042 | {
1043 | "selected": false,
1044 | "text": "3d",
1045 | "value": "3d"
1046 | },
1047 | {
1048 | "selected": false,
1049 | "text": "4d",
1050 | "value": "4d"
1051 | },
1052 | {
1053 | "selected": false,
1054 | "text": "5d",
1055 | "value": "5d"
1056 | },
1057 | {
1058 | "selected": false,
1059 | "text": "6d",
1060 | "value": "6d"
1061 | },
1062 | {
1063 | "selected": true,
1064 | "text": "7d",
1065 | "value": "7d"
1066 | },
1067 | {
1068 | "selected": false,
1069 | "text": "8d",
1070 | "value": "8d"
1071 | },
1072 | {
1073 | "selected": false,
1074 | "text": "9d",
1075 | "value": "9d"
1076 | },
1077 | {
1078 | "selected": false,
1079 | "text": "10d",
1080 | "value": "10d"
1081 | },
1082 | {
1083 | "selected": false,
1084 | "text": "11d",
1085 | "value": "11d"
1086 | },
1087 | {
1088 | "selected": false,
1089 | "text": "12d",
1090 | "value": "12d"
1091 | },
1092 | {
1093 | "selected": false,
1094 | "text": "13d",
1095 | "value": "13d"
1096 | },
1097 | {
1098 | "selected": false,
1099 | "text": "14d",
1100 | "value": "14d"
1101 | },
1102 | {
1103 | "selected": false,
1104 | "text": "15d",
1105 | "value": "15d"
1106 | },
1107 | {
1108 | "selected": false,
1109 | "text": "16d",
1110 | "value": "16d"
1111 | },
1112 | {
1113 | "selected": false,
1114 | "text": "17d",
1115 | "value": "17d"
1116 | },
1117 | {
1118 | "selected": false,
1119 | "text": "18d",
1120 | "value": "18d"
1121 | },
1122 | {
1123 | "selected": false,
1124 | "text": "19d",
1125 | "value": "19d"
1126 | },
1127 | {
1128 | "selected": false,
1129 | "text": "20d",
1130 | "value": "20d"
1131 | },
1132 | {
1133 | "selected": false,
1134 | "text": "21d",
1135 | "value": "21d"
1136 | },
1137 | {
1138 | "selected": false,
1139 | "text": "22d",
1140 | "value": "22d"
1141 | },
1142 | {
1143 | "selected": false,
1144 | "text": "23d",
1145 | "value": "23d"
1146 | },
1147 | {
1148 | "selected": false,
1149 | "text": "24d",
1150 | "value": "24d"
1151 | },
1152 | {
1153 | "selected": false,
1154 | "text": "25d",
1155 | "value": "25d"
1156 | },
1157 | {
1158 | "selected": false,
1159 | "text": "26d",
1160 | "value": "26d"
1161 | },
1162 | {
1163 | "selected": false,
1164 | "text": "27d",
1165 | "value": "27d"
1166 | },
1167 | {
1168 | "selected": false,
1169 | "text": "28d",
1170 | "value": "28d"
1171 | },
1172 | {
1173 | "selected": false,
1174 | "text": "29d",
1175 | "value": "29d"
1176 | },
1177 | {
1178 | "selected": false,
1179 | "text": "30d",
1180 | "value": "30d"
1181 | }
1182 | ],
1183 | "query": "1d,2d,3d,4d,5d,6d,7d,8d,9d,10d,11d,12d,13d,14d,15d,16d,17d,18d,19d,20d,21d,22d,23d,24d,25d,26d,27d,28d,29d,30d",
1184 | "skipUrlSync": false,
1185 | "type": "custom"
1186 | },
1187 | {
1188 | "allValue": null,
1189 | "current": {
1190 | "tags": [],
1191 | "text": "7d",
1192 | "value": "7d"
1193 | },
1194 | "hide": 0,
1195 | "includeAll": false,
1196 | "label": "Day",
1197 | "multi": false,
1198 | "name": "day1",
1199 | "options": [
1200 | {
1201 | "selected": false,
1202 | "text": "1d",
1203 | "value": "1d"
1204 | },
1205 | {
1206 | "selected": false,
1207 | "text": "2d",
1208 | "value": "2d"
1209 | },
1210 | {
1211 | "selected": false,
1212 | "text": "3d",
1213 | "value": "3d"
1214 | },
1215 | {
1216 | "selected": false,
1217 | "text": "4d",
1218 | "value": "4d"
1219 | },
1220 | {
1221 | "selected": false,
1222 | "text": "5d",
1223 | "value": "5d"
1224 | },
1225 | {
1226 | "selected": false,
1227 | "text": "6d",
1228 | "value": "6d"
1229 | },
1230 | {
1231 | "selected": true,
1232 | "text": "7d",
1233 | "value": "7d"
1234 | },
1235 | {
1236 | "selected": false,
1237 | "text": "8d",
1238 | "value": "8d"
1239 | },
1240 | {
1241 | "selected": false,
1242 | "text": "9d",
1243 | "value": "9d"
1244 | },
1245 | {
1246 | "selected": false,
1247 | "text": "10d",
1248 | "value": "10d"
1249 | },
1250 | {
1251 | "selected": false,
1252 | "text": "11d",
1253 | "value": "11d"
1254 | },
1255 | {
1256 | "selected": false,
1257 | "text": "12d",
1258 | "value": "12d"
1259 | },
1260 | {
1261 | "selected": false,
1262 | "text": "13d",
1263 | "value": "13d"
1264 | },
1265 | {
1266 | "selected": false,
1267 | "text": "14d",
1268 | "value": "14d"
1269 | },
1270 | {
1271 | "selected": false,
1272 | "text": "15d",
1273 | "value": "15d"
1274 | },
1275 | {
1276 | "selected": false,
1277 | "text": "16d",
1278 | "value": "16d"
1279 | },
1280 | {
1281 | "selected": false,
1282 | "text": "17d",
1283 | "value": "17d"
1284 | },
1285 | {
1286 | "selected": false,
1287 | "text": "18d",
1288 | "value": "18d"
1289 | },
1290 | {
1291 | "selected": false,
1292 | "text": "19d",
1293 | "value": "19d"
1294 | },
1295 | {
1296 | "selected": false,
1297 | "text": "20d",
1298 | "value": "20d"
1299 | },
1300 | {
1301 | "selected": false,
1302 | "text": "21d",
1303 | "value": "21d"
1304 | },
1305 | {
1306 | "selected": false,
1307 | "text": "22d",
1308 | "value": "22d"
1309 | },
1310 | {
1311 | "selected": false,
1312 | "text": "23d",
1313 | "value": "23d"
1314 | },
1315 | {
1316 | "selected": false,
1317 | "text": "24d",
1318 | "value": "24d"
1319 | },
1320 | {
1321 | "selected": false,
1322 | "text": "25d",
1323 | "value": "25d"
1324 | },
1325 | {
1326 | "selected": false,
1327 | "text": "26d",
1328 | "value": "26d"
1329 | },
1330 | {
1331 | "selected": false,
1332 | "text": "27d",
1333 | "value": "27d"
1334 | },
1335 | {
1336 | "selected": false,
1337 | "text": "28d",
1338 | "value": "28d"
1339 | },
1340 | {
1341 | "selected": false,
1342 | "text": "29d",
1343 | "value": "29d"
1344 | },
1345 | {
1346 | "selected": false,
1347 | "text": "30d",
1348 | "value": "30d"
1349 | }
1350 | ],
1351 | "query": "1d,2d,3d,4d,5d,6d,7d,8d,9d,10d,11d,12d,13d,14d,15d,16d,17d,18d,19d,20d,21d,22d,23d,24d,25d,26d,27d,28d,29d,30d",
1352 | "skipUrlSync": false,
1353 | "type": "custom"
1354 | },
1355 | {
1356 | "allValue": null,
1357 | "current": {
1358 | "tags": [],
1359 | "text": "7d",
1360 | "value": "7d"
1361 | },
1362 | "hide": 0,
1363 | "includeAll": false,
1364 | "label": "Day",
1365 | "multi": false,
1366 | "name": "day2",
1367 | "options": [
1368 | {
1369 | "selected": false,
1370 | "text": "1d",
1371 | "value": "1d"
1372 | },
1373 | {
1374 | "selected": false,
1375 | "text": "2d",
1376 | "value": "2d"
1377 | },
1378 | {
1379 | "selected": false,
1380 | "text": "3d",
1381 | "value": "3d"
1382 | },
1383 | {
1384 | "selected": false,
1385 | "text": "4d",
1386 | "value": "4d"
1387 | },
1388 | {
1389 | "selected": false,
1390 | "text": "5d",
1391 | "value": "5d"
1392 | },
1393 | {
1394 | "selected": false,
1395 | "text": "6d",
1396 | "value": "6d"
1397 | },
1398 | {
1399 | "selected": true,
1400 | "text": "7d",
1401 | "value": "7d"
1402 | },
1403 | {
1404 | "selected": false,
1405 | "text": "8d",
1406 | "value": "8d"
1407 | },
1408 | {
1409 | "selected": false,
1410 | "text": "9d",
1411 | "value": "9d"
1412 | },
1413 | {
1414 | "selected": false,
1415 | "text": "10d",
1416 | "value": "10d"
1417 | },
1418 | {
1419 | "selected": false,
1420 | "text": "11d",
1421 | "value": "11d"
1422 | },
1423 | {
1424 | "selected": false,
1425 | "text": "12d",
1426 | "value": "12d"
1427 | },
1428 | {
1429 | "selected": false,
1430 | "text": "13d",
1431 | "value": "13d"
1432 | },
1433 | {
1434 | "selected": false,
1435 | "text": "14d",
1436 | "value": "14d"
1437 | },
1438 | {
1439 | "selected": false,
1440 | "text": "15d",
1441 | "value": "15d"
1442 | },
1443 | {
1444 | "selected": false,
1445 | "text": "16d",
1446 | "value": "16d"
1447 | },
1448 | {
1449 | "selected": false,
1450 | "text": "17d",
1451 | "value": "17d"
1452 | },
1453 | {
1454 | "selected": false,
1455 | "text": "18d",
1456 | "value": "18d"
1457 | },
1458 | {
1459 | "selected": false,
1460 | "text": "19d",
1461 | "value": "19d"
1462 | },
1463 | {
1464 | "selected": false,
1465 | "text": "20d",
1466 | "value": "20d"
1467 | },
1468 | {
1469 | "selected": false,
1470 | "text": "21d",
1471 | "value": "21d"
1472 | },
1473 | {
1474 | "selected": false,
1475 | "text": "22d",
1476 | "value": "22d"
1477 | },
1478 | {
1479 | "selected": false,
1480 | "text": "23d",
1481 | "value": "23d"
1482 | },
1483 | {
1484 | "selected": false,
1485 | "text": "24d",
1486 | "value": "24d"
1487 | },
1488 | {
1489 | "selected": false,
1490 | "text": "25d",
1491 | "value": "25d"
1492 | },
1493 | {
1494 | "selected": false,
1495 | "text": "26d",
1496 | "value": "26d"
1497 | },
1498 | {
1499 | "selected": false,
1500 | "text": "27d",
1501 | "value": "27d"
1502 | },
1503 | {
1504 | "selected": false,
1505 | "text": "28d",
1506 | "value": "28d"
1507 | },
1508 | {
1509 | "selected": false,
1510 | "text": "29d",
1511 | "value": "29d"
1512 | },
1513 | {
1514 | "selected": false,
1515 | "text": "30d",
1516 | "value": "30d"
1517 | }
1518 | ],
1519 | "query": "1d,2d,3d,4d,5d,6d,7d,8d,9d,10d,11d,12d,13d,14d,15d,16d,17d,18d,19d,20d,21d,22d,23d,24d,25d,26d,27d,28d,29d,30d",
1520 | "skipUrlSync": false,
1521 | "type": "custom"
1522 | }
1523 | ]
1524 | },
1525 | "time": {
1526 | "from": "now/d",
1527 | "to": "now/d"
1528 | },
1529 | "timepicker": {
1530 | "refresh_intervals": [
1531 | "1s",
1532 | "5s",
1533 | "10s",
1534 | "30s",
1535 | "1m",
1536 | "5m",
1537 | "15m",
1538 | "30m",
1539 | "1h",
1540 | "2h",
1541 | "1d"
1542 | ],
1543 | "time_options": [
1544 | "5m",
1545 | "15m",
1546 | "1h",
1547 | "6h",
1548 | "12h",
1549 | "24h",
1550 | "2d",
1551 | "7d",
1552 | "30d"
1553 | ]
1554 | },
1555 | "timezone": "",
1556 | "title": "Elasticsearch - History Stats",
1557 | "uid": "7820e5c4d6ae456aa21390618b6515dd",
1558 | "version": 1
1559 | }
--------------------------------------------------------------------------------
/dashboards/es-index-stats-dashboard.json:
--------------------------------------------------------------------------------
1 | {
2 | "__inputs": [
3 | {
4 | "name": "DS_PROMETHEUS",
5 | "label": "Prometheus",
6 | "description": "",
7 | "type": "datasource",
8 | "pluginId": "prometheus",
9 | "pluginName": "Prometheus"
10 | }
11 | ],
12 | "__requires": [
13 | {
14 | "type": "grafana",
15 | "id": "grafana",
16 | "name": "Grafana",
17 | "version": "3.1"
18 | },
19 | {
20 | "type": "panel",
21 | "id": "graph",
22 | "name": "Graph",
23 | "version": ""
24 | },
25 | {
26 | "type": "datasource",
27 | "id": "prometheus",
28 | "name": "Prometheus",
29 | "version": "1.0.0"
30 | },
31 | {
32 | "type": "panel",
33 | "id": "singlestat",
34 | "name": "Singlestat",
35 | "version": ""
36 | },
37 | {
38 | "type": "panel",
39 | "id": "table",
40 | "name": "Table",
41 | "version": ""
42 | }
43 | ],
44 | "annotations": {
45 | "list": [
46 | {
47 | "builtIn": 1,
48 | "datasource": "-- Grafana --",
49 | "enable": true,
50 | "hide": true,
51 | "iconColor": "rgba(0, 211, 255, 1)",
52 | "name": "Annotations & Alerts",
53 | "type": "dashboard"
54 | }
55 | ]
56 | },
57 | "description": "",
58 | "editable": true,
59 | "gnetId": 6483,
60 | "graphTooltip": 1,
61 | "id": 77,
62 | "iteration": 1601026095047,
63 | "links": [
64 | {
65 | "asDropdown": true,
66 | "icon": "external link",
67 | "tags": [
68 | "elasticsearch"
69 | ],
70 | "title": "ES Dashboards",
71 | "type": "dashboards"
72 | }
73 | ],
74 | "panels": [
75 | {
76 | "collapsed": false,
77 | "gridPos": {
78 | "h": 1,
79 | "w": 24,
80 | "x": 0,
81 | "y": 0
82 | },
83 | "id": 114,
84 | "panels": [],
85 | "title": "Overview",
86 | "type": "row"
87 | },
88 | {
89 | "cacheTimeout": null,
90 | "colorBackground": false,
91 | "colorValue": false,
92 | "colors": [
93 | "rgba(50, 172, 45, 0.97)",
94 | "rgba(237, 129, 40, 0.89)",
95 | "rgba(245, 54, 54, 0.9)"
96 | ],
97 | "datasource": "${DS_PROMETHEUS}",
98 | "description": "On primary shards",
99 | "editable": true,
100 | "error": false,
101 | "format": "locale",
102 | "gauge": {
103 | "maxValue": 100,
104 | "minValue": 0,
105 | "show": false,
106 | "thresholdLabels": false,
107 | "thresholdMarkers": true
108 | },
109 | "gridPos": {
110 | "h": 3,
111 | "w": 8,
112 | "x": 0,
113 | "y": 1
114 | },
115 | "height": "50",
116 | "hideTimeOverride": true,
117 | "id": 221,
118 | "interval": null,
119 | "links": [],
120 | "mappingType": 1,
121 | "mappingTypes": [
122 | {
123 | "name": "value to text",
124 | "value": 1
125 | },
126 | {
127 | "name": "range to text",
128 | "value": 2
129 | }
130 | ],
131 | "maxDataPoints": 100,
132 | "nullPointMode": "connected",
133 | "nullText": null,
134 | "options": {},
135 | "postfix": "",
136 | "postfixFontSize": "50%",
137 | "prefix": "",
138 | "prefixFontSize": "50%",
139 | "rangeMaps": [
140 | {
141 | "from": "null",
142 | "text": "N/A",
143 | "to": "null"
144 | }
145 | ],
146 | "sparkline": {
147 | "fillColor": "rgba(31, 118, 189, 0.18)",
148 | "full": false,
149 | "lineColor": "rgb(31, 120, 193)",
150 | "show": false
151 | },
152 | "tableColumn": "",
153 | "targets": [
154 | {
155 | "expr": "sum by (index) (elasticsearch_indices_docs_primary{instance=~\"$instance\",cluster=~\"$cluster\",index=~\"$index\"})",
156 | "format": "time_series",
157 | "instant": true,
158 | "interval": "",
159 | "intervalFactor": 1,
160 | "legendFormat": "",
161 | "metric": "",
162 | "refId": "A",
163 | "step": 60
164 | }
165 | ],
166 | "thresholds": "",
167 | "title": "Documents",
168 | "type": "singlestat",
169 | "valueFontSize": "80%",
170 | "valueMaps": [
171 | {
172 | "op": "=",
173 | "text": "N/A",
174 | "value": "null"
175 | }
176 | ],
177 | "valueName": "current"
178 | },
179 | {
180 | "cacheTimeout": null,
181 | "colorBackground": false,
182 | "colorValue": false,
183 | "colors": [
184 | "rgba(50, 172, 45, 0.97)",
185 | "rgba(237, 129, 40, 0.89)",
186 | "rgba(245, 54, 54, 0.9)"
187 | ],
188 | "datasource": "${DS_PROMETHEUS}",
189 | "description": "On all shards, both primary and replica",
190 | "editable": true,
191 | "error": false,
192 | "format": "bytes",
193 | "gauge": {
194 | "maxValue": 100,
195 | "minValue": 0,
196 | "show": false,
197 | "thresholdLabels": false,
198 | "thresholdMarkers": true
199 | },
200 | "gridPos": {
201 | "h": 3,
202 | "w": 6,
203 | "x": 8,
204 | "y": 1
205 | },
206 | "height": "50",
207 | "hideTimeOverride": true,
208 | "id": 224,
209 | "interval": null,
210 | "links": [],
211 | "mappingType": 1,
212 | "mappingTypes": [
213 | {
214 | "name": "value to text",
215 | "value": 1
216 | },
217 | {
218 | "name": "range to text",
219 | "value": 2
220 | }
221 | ],
222 | "maxDataPoints": 100,
223 | "nullPointMode": "connected",
224 | "nullText": null,
225 | "options": {},
226 | "postfix": "",
227 | "postfixFontSize": "50%",
228 | "prefix": "",
229 | "prefixFontSize": "50%",
230 | "rangeMaps": [
231 | {
232 | "from": "null",
233 | "text": "N/A",
234 | "to": "null"
235 | }
236 | ],
237 | "sparkline": {
238 | "fillColor": "rgba(31, 118, 189, 0.18)",
239 | "full": false,
240 | "lineColor": "rgb(31, 120, 193)",
241 | "show": false
242 | },
243 | "tableColumn": "",
244 | "targets": [
245 | {
246 | "expr": "sum by (index) (elasticsearch_indices_store_size_bytes_total{instance=~\"$instance\",cluster=~\"$cluster\",index=~\"$index\"})",
247 | "format": "time_series",
248 | "instant": true,
249 | "interval": "",
250 | "intervalFactor": 1,
251 | "legendFormat": "",
252 | "metric": "",
253 | "refId": "A",
254 | "step": 60
255 | }
256 | ],
257 | "thresholds": "",
258 | "title": "Data",
259 | "type": "singlestat",
260 | "valueFontSize": "80%",
261 | "valueMaps": [
262 | {
263 | "op": "=",
264 | "text": "N/A",
265 | "value": "null"
266 | }
267 | ],
268 | "valueName": "current"
269 | },
270 | {
271 | "cacheTimeout": null,
272 | "colorBackground": false,
273 | "colorValue": false,
274 | "colors": [
275 | "rgba(50, 172, 45, 0.97)",
276 | "rgba(237, 129, 40, 0.89)",
277 | "rgba(245, 54, 54, 0.9)"
278 | ],
279 | "datasource": "${DS_PROMETHEUS}",
280 | "description": "Total segments of index on all shards\n\n*A segment is a file, aka a lucene index*",
281 | "editable": true,
282 | "error": false,
283 | "format": "locale",
284 | "gauge": {
285 | "maxValue": 100,
286 | "minValue": 0,
287 | "show": false,
288 | "thresholdLabels": false,
289 | "thresholdMarkers": true
290 | },
291 | "gridPos": {
292 | "h": 3,
293 | "w": 4,
294 | "x": 14,
295 | "y": 1
296 | },
297 | "height": "50",
298 | "hideTimeOverride": true,
299 | "id": 225,
300 | "interval": null,
301 | "links": [],
302 | "mappingType": 1,
303 | "mappingTypes": [
304 | {
305 | "name": "value to text",
306 | "value": 1
307 | },
308 | {
309 | "name": "range to text",
310 | "value": 2
311 | }
312 | ],
313 | "maxDataPoints": 100,
314 | "nullPointMode": "connected",
315 | "nullText": null,
316 | "options": {},
317 | "postfix": "",
318 | "postfixFontSize": "50%",
319 | "prefix": "",
320 | "prefixFontSize": "50%",
321 | "rangeMaps": [
322 | {
323 | "from": "null",
324 | "text": "N/A",
325 | "to": "null"
326 | }
327 | ],
328 | "sparkline": {
329 | "fillColor": "rgba(31, 118, 189, 0.18)",
330 | "full": false,
331 | "lineColor": "rgb(31, 120, 193)",
332 | "show": false
333 | },
334 | "tableColumn": "",
335 | "targets": [
336 | {
337 | "expr": "sum by (index) (elasticsearch_indices_segment_count_total{instance=~\"$instance\",cluster=~\"$cluster\",index=~\"$index\"})",
338 | "format": "time_series",
339 | "instant": true,
340 | "interval": "",
341 | "intervalFactor": 1,
342 | "legendFormat": "",
343 | "metric": "",
344 | "refId": "A",
345 | "step": 60
346 | }
347 | ],
348 | "thresholds": "",
349 | "title": "Segments",
350 | "type": "singlestat",
351 | "valueFontSize": "80%",
352 | "valueMaps": [
353 | {
354 | "op": "=",
355 | "text": "N/A",
356 | "value": "null"
357 | }
358 | ],
359 | "valueName": "current"
360 | },
361 | {
362 | "cacheTimeout": null,
363 | "colorBackground": false,
364 | "colorValue": false,
365 | "colors": [
366 | "rgba(50, 172, 45, 0.97)",
367 | "rgba(237, 129, 40, 0.89)",
368 | "rgba(245, 54, 54, 0.9)"
369 | ],
370 | "datasource": "${DS_PROMETHEUS}",
371 | "decimals": 1,
372 | "description": "",
373 | "editable": true,
374 | "error": false,
375 | "format": "bytes",
376 | "gauge": {
377 | "maxValue": 100,
378 | "minValue": 0,
379 | "show": false,
380 | "thresholdLabels": false,
381 | "thresholdMarkers": true
382 | },
383 | "gridPos": {
384 | "h": 3,
385 | "w": 6,
386 | "x": 18,
387 | "y": 1
388 | },
389 | "height": "50",
390 | "hideTimeOverride": true,
391 | "id": 227,
392 | "interval": null,
393 | "links": [],
394 | "mappingType": 1,
395 | "mappingTypes": [
396 | {
397 | "name": "value to text",
398 | "value": 1
399 | },
400 | {
401 | "name": "range to text",
402 | "value": 2
403 | }
404 | ],
405 | "maxDataPoints": 100,
406 | "nullPointMode": "connected",
407 | "nullText": null,
408 | "options": {},
409 | "postfix": "",
410 | "postfixFontSize": "50%",
411 | "prefix": "",
412 | "prefixFontSize": "50%",
413 | "rangeMaps": [
414 | {
415 | "from": "null",
416 | "text": "N/A",
417 | "to": "null"
418 | }
419 | ],
420 | "sparkline": {
421 | "fillColor": "rgba(31, 118, 189, 0.18)",
422 | "full": false,
423 | "lineColor": "rgb(31, 120, 193)",
424 | "show": false
425 | },
426 | "tableColumn": "",
427 | "targets": [
428 | {
429 | "expr": "sum by (index) (elasticsearch_indices_segment_memory_bytes_total{instance=~\"$instance\",cluster=~\"$cluster\",index=~\"$index\"})",
430 | "format": "time_series",
431 | "instant": true,
432 | "interval": "",
433 | "intervalFactor": 1,
434 | "legendFormat": "",
435 | "metric": "",
436 | "refId": "A",
437 | "step": 60
438 | }
439 | ],
440 | "thresholds": "",
441 | "title": "Segment Memory",
442 | "type": "singlestat",
443 | "valueFontSize": "80%",
444 | "valueMaps": [
445 | {
446 | "op": "=",
447 | "text": "N/A",
448 | "value": "null"
449 | }
450 | ],
451 | "valueName": "current"
452 | },
453 | {
454 | "cacheTimeout": null,
455 | "colorBackground": false,
456 | "colorValue": false,
457 | "colors": [
458 | "rgba(50, 172, 45, 0.97)",
459 | "rgba(237, 129, 40, 0.89)",
460 | "rgba(245, 54, 54, 0.9)"
461 | ],
462 | "datasource": "${DS_PROMETHEUS}",
463 | "description": "",
464 | "editable": true,
465 | "error": false,
466 | "format": "locale",
467 | "gauge": {
468 | "maxValue": 100,
469 | "minValue": 0,
470 | "show": false,
471 | "thresholdLabels": false,
472 | "thresholdMarkers": true
473 | },
474 | "gridPos": {
475 | "h": 3,
476 | "w": 4,
477 | "x": 0,
478 | "y": 4
479 | },
480 | "height": "50",
481 | "hideTimeOverride": true,
482 | "id": 222,
483 | "interval": null,
484 | "links": [],
485 | "mappingType": 1,
486 | "mappingTypes": [
487 | {
488 | "name": "value to text",
489 | "value": 1
490 | },
491 | {
492 | "name": "range to text",
493 | "value": 2
494 | }
495 | ],
496 | "maxDataPoints": 100,
497 | "nullPointMode": "connected",
498 | "nullText": null,
499 | "options": {},
500 | "postfix": "",
501 | "postfixFontSize": "50%",
502 | "prefix": "",
503 | "prefixFontSize": "50%",
504 | "rangeMaps": [
505 | {
506 | "from": "null",
507 | "text": "N/A",
508 | "to": "null"
509 | }
510 | ],
511 | "sparkline": {
512 | "fillColor": "rgba(31, 118, 189, 0.18)",
513 | "full": false,
514 | "lineColor": "rgb(31, 120, 193)",
515 | "show": false
516 | },
517 | "tableColumn": "",
518 | "targets": [
519 | {
520 | "expr": "sum by (index) (elasticsearch_indices_deleted_docs_primary{instance=~\"$instance\",cluster=~\"$cluster\",index=~\"$index\"})",
521 | "format": "time_series",
522 | "instant": true,
523 | "interval": "",
524 | "intervalFactor": 1,
525 | "legendFormat": "",
526 | "metric": "",
527 | "refId": "A",
528 | "step": 60
529 | }
530 | ],
531 | "thresholds": "",
532 | "title": "Deleted Documents",
533 | "type": "singlestat",
534 | "valueFontSize": "80%",
535 | "valueMaps": [
536 | {
537 | "op": "=",
538 | "text": "N/A",
539 | "value": "null"
540 | }
541 | ],
542 | "valueName": "current"
543 | },
544 | {
545 | "cacheTimeout": null,
546 | "colorBackground": false,
547 | "colorValue": false,
548 | "colors": [
549 | "rgba(50, 172, 45, 0.97)",
550 | "rgba(237, 129, 40, 0.89)",
551 | "rgba(245, 54, 54, 0.9)"
552 | ],
553 | "datasource": "${DS_PROMETHEUS}",
554 | "decimals": 1,
555 | "description": "",
556 | "editable": true,
557 | "error": false,
558 | "format": "locale",
559 | "gauge": {
560 | "maxValue": 100,
561 | "minValue": 0,
562 | "show": false,
563 | "thresholdLabels": false,
564 | "thresholdMarkers": true
565 | },
566 | "gridPos": {
567 | "h": 3,
568 | "w": 4,
569 | "x": 4,
570 | "y": 4
571 | },
572 | "height": "50",
573 | "hideTimeOverride": true,
574 | "id": 229,
575 | "interval": null,
576 | "links": [],
577 | "mappingType": 1,
578 | "mappingTypes": [
579 | {
580 | "name": "value to text",
581 | "value": 1
582 | },
583 | {
584 | "name": "range to text",
585 | "value": 2
586 | }
587 | ],
588 | "maxDataPoints": 100,
589 | "nullPointMode": "connected",
590 | "nullText": null,
591 | "options": {},
592 | "postfix": "",
593 | "postfixFontSize": "50%",
594 | "prefix": "",
595 | "prefixFontSize": "50%",
596 | "rangeMaps": [
597 | {
598 | "from": "null",
599 | "text": "N/A",
600 | "to": "null"
601 | }
602 | ],
603 | "sparkline": {
604 | "fillColor": "rgba(31, 118, 189, 0.18)",
605 | "full": false,
606 | "lineColor": "rgb(31, 120, 193)",
607 | "show": false
608 | },
609 | "tableColumn": "",
610 | "targets": [
611 | {
612 | "expr": "count by (index) (elasticsearch_indices_shared_docs{instance=~\"$instance\",cluster=~\"$cluster\",index=~\"$index\"})",
613 | "format": "time_series",
614 | "instant": true,
615 | "interval": "",
616 | "intervalFactor": 1,
617 | "legendFormat": "",
618 | "metric": "",
619 | "refId": "A",
620 | "step": 60
621 | }
622 | ],
623 | "thresholds": "",
624 | "title": "Shards",
625 | "type": "singlestat",
626 | "valueFontSize": "80%",
627 | "valueMaps": [
628 | {
629 | "op": "=",
630 | "text": "N/A",
631 | "value": "null"
632 | }
633 | ],
634 | "valueName": "current"
635 | },
636 | {
637 | "cacheTimeout": null,
638 | "colorBackground": false,
639 | "colorValue": false,
640 | "colors": [
641 | "rgba(50, 172, 45, 0.97)",
642 | "rgba(237, 129, 40, 0.89)",
643 | "rgba(245, 54, 54, 0.9)"
644 | ],
645 | "datasource": "${DS_PROMETHEUS}",
646 | "decimals": 1,
647 | "description": "On primary shards",
648 | "editable": true,
649 | "error": false,
650 | "format": "bytes",
651 | "gauge": {
652 | "maxValue": 100,
653 | "minValue": 0,
654 | "show": false,
655 | "thresholdLabels": false,
656 | "thresholdMarkers": true
657 | },
658 | "gridPos": {
659 | "h": 3,
660 | "w": 6,
661 | "x": 8,
662 | "y": 4
663 | },
664 | "height": "50",
665 | "hideTimeOverride": true,
666 | "id": 223,
667 | "interval": null,
668 | "links": [],
669 | "mappingType": 1,
670 | "mappingTypes": [
671 | {
672 | "name": "value to text",
673 | "value": 1
674 | },
675 | {
676 | "name": "range to text",
677 | "value": 2
678 | }
679 | ],
680 | "maxDataPoints": 100,
681 | "nullPointMode": "connected",
682 | "nullText": null,
683 | "options": {},
684 | "postfix": "",
685 | "postfixFontSize": "50%",
686 | "prefix": "",
687 | "prefixFontSize": "50%",
688 | "rangeMaps": [
689 | {
690 | "from": "null",
691 | "text": "N/A",
692 | "to": "null"
693 | }
694 | ],
695 | "sparkline": {
696 | "fillColor": "rgba(31, 118, 189, 0.18)",
697 | "full": false,
698 | "lineColor": "rgb(31, 120, 193)",
699 | "show": false
700 | },
701 | "tableColumn": "",
702 | "targets": [
703 | {
704 | "expr": "sum by (index) (elasticsearch_indices_store_size_bytes_primary{instance=~\"$instance\",cluster=~\"$cluster\",index=~\"$index\"})",
705 | "format": "time_series",
706 | "instant": true,
707 | "interval": "",
708 | "intervalFactor": 1,
709 | "legendFormat": "",
710 | "metric": "",
711 | "refId": "A",
712 | "step": 60
713 | }
714 | ],
715 | "thresholds": "",
716 | "title": "Data Primary",
717 | "type": "singlestat",
718 | "valueFontSize": "80%",
719 | "valueMaps": [
720 | {
721 | "op": "=",
722 | "text": "N/A",
723 | "value": "null"
724 | }
725 | ],
726 | "valueName": "current"
727 | },
728 | {
729 | "cacheTimeout": null,
730 | "colorBackground": false,
731 | "colorValue": false,
732 | "colors": [
733 | "rgba(50, 172, 45, 0.97)",
734 | "rgba(237, 129, 40, 0.89)",
735 | "rgba(245, 54, 54, 0.9)"
736 | ],
737 | "datasource": "${DS_PROMETHEUS}",
738 | "description": "Total segments on primary shards of index\n\n*A segment is a file, aka a lucene index*",
739 | "editable": true,
740 | "error": false,
741 | "format": "locale",
742 | "gauge": {
743 | "maxValue": 100,
744 | "minValue": 0,
745 | "show": false,
746 | "thresholdLabels": false,
747 | "thresholdMarkers": true
748 | },
749 | "gridPos": {
750 | "h": 3,
751 | "w": 4,
752 | "x": 14,
753 | "y": 4
754 | },
755 | "height": "50",
756 | "hideTimeOverride": true,
757 | "id": 226,
758 | "interval": null,
759 | "links": [],
760 | "mappingType": 1,
761 | "mappingTypes": [
762 | {
763 | "name": "value to text",
764 | "value": 1
765 | },
766 | {
767 | "name": "range to text",
768 | "value": 2
769 | }
770 | ],
771 | "maxDataPoints": 100,
772 | "nullPointMode": "connected",
773 | "nullText": null,
774 | "options": {},
775 | "postfix": "",
776 | "postfixFontSize": "50%",
777 | "prefix": "",
778 | "prefixFontSize": "50%",
779 | "rangeMaps": [
780 | {
781 | "from": "null",
782 | "text": "N/A",
783 | "to": "null"
784 | }
785 | ],
786 | "sparkline": {
787 | "fillColor": "rgba(31, 118, 189, 0.18)",
788 | "full": false,
789 | "lineColor": "rgb(31, 120, 193)",
790 | "show": false
791 | },
792 | "tableColumn": "",
793 | "targets": [
794 | {
795 | "expr": "sum by (index) (elasticsearch_indices_segment_count_primary{instance=~\"$instance\",cluster=~\"$cluster\",index=~\"$index\"})",
796 | "format": "time_series",
797 | "instant": true,
798 | "interval": "",
799 | "intervalFactor": 1,
800 | "legendFormat": "",
801 | "metric": "",
802 | "refId": "A",
803 | "step": 60
804 | }
805 | ],
806 | "thresholds": "",
807 | "title": "Segments Primary",
808 | "type": "singlestat",
809 | "valueFontSize": "80%",
810 | "valueMaps": [
811 | {
812 | "op": "=",
813 | "text": "N/A",
814 | "value": "null"
815 | }
816 | ],
817 | "valueName": "current"
818 | },
819 | {
820 | "cacheTimeout": null,
821 | "colorBackground": false,
822 | "colorValue": false,
823 | "colors": [
824 | "rgba(50, 172, 45, 0.97)",
825 | "rgba(237, 129, 40, 0.89)",
826 | "rgba(245, 54, 54, 0.9)"
827 | ],
828 | "datasource": "${DS_PROMETHEUS}",
829 | "decimals": 1,
830 | "description": "",
831 | "editable": true,
832 | "error": false,
833 | "format": "bytes",
834 | "gauge": {
835 | "maxValue": 100,
836 | "minValue": 0,
837 | "show": false,
838 | "thresholdLabels": false,
839 | "thresholdMarkers": true
840 | },
841 | "gridPos": {
842 | "h": 3,
843 | "w": 6,
844 | "x": 18,
845 | "y": 4
846 | },
847 | "height": "50",
848 | "hideTimeOverride": true,
849 | "id": 228,
850 | "interval": null,
851 | "links": [],
852 | "mappingType": 1,
853 | "mappingTypes": [
854 | {
855 | "name": "value to text",
856 | "value": 1
857 | },
858 | {
859 | "name": "range to text",
860 | "value": 2
861 | }
862 | ],
863 | "maxDataPoints": 100,
864 | "nullPointMode": "connected",
865 | "nullText": null,
866 | "options": {},
867 | "postfix": "",
868 | "postfixFontSize": "50%",
869 | "prefix": "",
870 | "prefixFontSize": "50%",
871 | "rangeMaps": [
872 | {
873 | "from": "null",
874 | "text": "N/A",
875 | "to": "null"
876 | }
877 | ],
878 | "sparkline": {
879 | "fillColor": "rgba(31, 118, 189, 0.18)",
880 | "full": false,
881 | "lineColor": "rgb(31, 120, 193)",
882 | "show": false
883 | },
884 | "tableColumn": "",
885 | "targets": [
886 | {
887 | "expr": "sum by (index) (elasticsearch_indices_segment_memory_bytes_primary{instance=~\"$instance\",cluster=~\"$cluster\",index=~\"$index\"})",
888 | "format": "time_series",
889 | "instant": true,
890 | "interval": "",
891 | "intervalFactor": 1,
892 | "legendFormat": "",
893 | "metric": "",
894 | "refId": "A",
895 | "step": 60
896 | }
897 | ],
898 | "thresholds": "",
899 | "title": "Segment Memory Primary",
900 | "type": "singlestat",
901 | "valueFontSize": "80%",
902 | "valueMaps": [
903 | {
904 | "op": "=",
905 | "text": "N/A",
906 | "value": "null"
907 | }
908 | ],
909 | "valueName": "current"
910 | },
911 | {
912 | "collapsed": false,
913 | "gridPos": {
914 | "h": 1,
915 | "w": 24,
916 | "x": 0,
917 | "y": 7
918 | },
919 | "id": 231,
920 | "panels": [],
921 | "title": "Stats",
922 | "type": "row"
923 | },
924 | {
925 | "aliasColors": {},
926 | "bars": false,
927 | "dashLength": 10,
928 | "dashes": false,
929 | "datasource": "${DS_PROMETHEUS}",
930 | "description": "Indexing rate on index\n\n`ProcRate`: processing ability, which is the number of requests that Elasticsearch can handle. Estimation is based on the processed requests and processed time for these requests.\n",
931 | "fill": 0,
932 | "fillGradient": 0,
933 | "gridPos": {
934 | "h": 9,
935 | "w": 12,
936 | "x": 0,
937 | "y": 8
938 | },
939 | "id": 213,
940 | "legend": {
941 | "alignAsTable": true,
942 | "avg": true,
943 | "current": true,
944 | "max": true,
945 | "min": true,
946 | "rightSide": false,
947 | "show": true,
948 | "sort": "current",
949 | "sortDesc": true,
950 | "total": false,
951 | "values": true
952 | },
953 | "lines": true,
954 | "linewidth": 1,
955 | "links": [],
956 | "nullPointMode": "null",
957 | "options": {
958 | "dataLinks": []
959 | },
960 | "percentage": false,
961 | "pointradius": 5,
962 | "points": false,
963 | "renderer": "flot",
964 | "seriesOverrides": [
965 | {
966 | "alias": "ReqRate",
967 | "color": "#FFEE52",
968 | "zindex": 3
969 | },
970 | {
971 | "alias": "ProcRate",
972 | "bars": true,
973 | "color": "rgb(19, 81, 164)",
974 | "lines": false,
975 | "yaxis": 2
976 | }
977 | ],
978 | "spaceLength": 10,
979 | "stack": false,
980 | "steppedLine": false,
981 | "targets": [
982 | {
983 | "expr": "rate(elasticsearch_index_stats_indexing_index_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
984 | "format": "time_series",
985 | "intervalFactor": 1,
986 | "legendFormat": "ReqRate",
987 | "refId": "A"
988 | },
989 | {
990 | "expr": "1 / (\nrate(elasticsearch_index_stats_indexing_index_time_seconds_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval]) / rate(elasticsearch_index_stats_indexing_index_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])\n)",
991 | "legendFormat": "ProcRate",
992 | "refId": "B"
993 | }
994 | ],
995 | "thresholds": [],
996 | "timeFrom": null,
997 | "timeRegions": [],
998 | "timeShift": null,
999 | "title": "Indexing rate on $index",
1000 | "tooltip": {
1001 | "shared": true,
1002 | "sort": 2,
1003 | "value_type": "individual"
1004 | },
1005 | "type": "graph",
1006 | "xaxis": {
1007 | "buckets": null,
1008 | "mode": "time",
1009 | "name": null,
1010 | "show": true,
1011 | "values": []
1012 | },
1013 | "yaxes": [
1014 | {
1015 | "decimals": null,
1016 | "format": "reqps",
1017 | "label": "ReqRate",
1018 | "logBase": 1,
1019 | "max": null,
1020 | "min": "0",
1021 | "show": true
1022 | },
1023 | {
1024 | "format": "reqps",
1025 | "label": "ProcRate",
1026 | "logBase": 1,
1027 | "max": null,
1028 | "min": "0",
1029 | "show": true
1030 | }
1031 | ],
1032 | "yaxis": {
1033 | "align": false,
1034 | "alignLevel": null
1035 | }
1036 | },
1037 | {
1038 | "aliasColors": {},
1039 | "bars": false,
1040 | "dashLength": 10,
1041 | "dashes": false,
1042 | "datasource": "${DS_PROMETHEUS}",
1043 | "description": "Searching rate on index\n\n`ProcRate`: processing ability, which is the number of requests that Elasticsearch can handle. Estimation is based on the processed requests and processed time for these requests.\n",
1044 | "fill": 0,
1045 | "fillGradient": 0,
1046 | "gridPos": {
1047 | "h": 9,
1048 | "w": 12,
1049 | "x": 12,
1050 | "y": 8
1051 | },
1052 | "id": 234,
1053 | "legend": {
1054 | "alignAsTable": true,
1055 | "avg": true,
1056 | "current": true,
1057 | "max": true,
1058 | "min": true,
1059 | "rightSide": false,
1060 | "show": true,
1061 | "sort": "current",
1062 | "sortDesc": true,
1063 | "total": false,
1064 | "values": true
1065 | },
1066 | "lines": true,
1067 | "linewidth": 1,
1068 | "links": [],
1069 | "maxPerRow": 3,
1070 | "nullPointMode": "null",
1071 | "options": {
1072 | "dataLinks": []
1073 | },
1074 | "percentage": false,
1075 | "pointradius": 5,
1076 | "points": false,
1077 | "renderer": "flot",
1078 | "repeatDirection": "h",
1079 | "seriesOverrides": [
1080 | {
1081 | "alias": "ReqRate",
1082 | "color": "#FFEE52",
1083 | "zindex": 3
1084 | },
1085 | {
1086 | "alias": "ProcRate",
1087 | "bars": true,
1088 | "color": "rgb(17, 79, 185)",
1089 | "lines": false,
1090 | "yaxis": 2
1091 | }
1092 | ],
1093 | "spaceLength": 10,
1094 | "stack": false,
1095 | "steppedLine": false,
1096 | "targets": [
1097 | {
1098 | "expr": "rate(elasticsearch_index_stats_search_query_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1099 | "format": "time_series",
1100 | "intervalFactor": 1,
1101 | "legendFormat": "ReqRate",
1102 | "refId": "B"
1103 | },
1104 | {
1105 | "expr": "1 / (\n(rate(elasticsearch_index_stats_search_query_time_seconds_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])\n+ rate(elasticsearch_index_stats_search_fetch_time_seconds_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])\n+ rate(elasticsearch_index_stats_search_scroll_time_seconds_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])\n+ rate(elasticsearch_index_stats_search_suggest_time_seconds_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])\n) / rate(elasticsearch_index_stats_search_query_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])\n)",
1106 | "legendFormat": "ProcRate",
1107 | "refId": "C"
1108 | }
1109 | ],
1110 | "thresholds": [],
1111 | "timeFrom": null,
1112 | "timeRegions": [],
1113 | "timeShift": null,
1114 | "title": "Searching rate on $index",
1115 | "tooltip": {
1116 | "shared": true,
1117 | "sort": 0,
1118 | "value_type": "individual"
1119 | },
1120 | "type": "graph",
1121 | "xaxis": {
1122 | "buckets": null,
1123 | "mode": "time",
1124 | "name": null,
1125 | "show": true,
1126 | "values": []
1127 | },
1128 | "yaxes": [
1129 | {
1130 | "decimals": null,
1131 | "format": "reqps",
1132 | "label": "ReqRate",
1133 | "logBase": 1,
1134 | "max": null,
1135 | "min": "0",
1136 | "show": true
1137 | },
1138 | {
1139 | "format": "reqps",
1140 | "label": "ProcRate",
1141 | "logBase": 1,
1142 | "max": null,
1143 | "min": "0",
1144 | "show": true
1145 | }
1146 | ],
1147 | "yaxis": {
1148 | "align": false,
1149 | "alignLevel": null
1150 | }
1151 | },
1152 | {
1153 | "aliasColors": {},
1154 | "bars": false,
1155 | "dashLength": 10,
1156 | "dashes": false,
1157 | "datasource": "${DS_PROMETHEUS}",
1158 | "description": "Stacked by y-axis",
1159 | "fill": 1,
1160 | "fillGradient": 0,
1161 | "gridPos": {
1162 | "h": 9,
1163 | "w": 24,
1164 | "x": 0,
1165 | "y": 17
1166 | },
1167 | "id": 241,
1168 | "legend": {
1169 | "alignAsTable": true,
1170 | "avg": true,
1171 | "current": true,
1172 | "max": true,
1173 | "min": true,
1174 | "rightSide": true,
1175 | "show": true,
1176 | "sort": "current",
1177 | "sortDesc": true,
1178 | "total": false,
1179 | "values": true
1180 | },
1181 | "lines": true,
1182 | "linewidth": 1,
1183 | "links": [],
1184 | "nullPointMode": "connected",
1185 | "options": {
1186 | "dataLinks": []
1187 | },
1188 | "percentage": false,
1189 | "pointradius": 5,
1190 | "points": false,
1191 | "renderer": "flot",
1192 | "seriesOverrides": [],
1193 | "spaceLength": 10,
1194 | "stack": true,
1195 | "steppedLine": false,
1196 | "targets": [
1197 | {
1198 | "expr": "rate(elasticsearch_index_stats_merge_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1199 | "format": "time_series",
1200 | "intervalFactor": 1,
1201 | "legendFormat": "Merge",
1202 | "refId": "A"
1203 | },
1204 | {
1205 | "expr": "rate(elasticsearch_index_stats_flush_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1206 | "legendFormat": "Flush",
1207 | "refId": "B"
1208 | },
1209 | {
1210 | "expr": "rate(elasticsearch_index_stats_refresh_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1211 | "legendFormat": "Refresh",
1212 | "refId": "C"
1213 | },
1214 | {
1215 | "expr": "rate(elasticsearch_index_stats_warmer_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1216 | "legendFormat": "Warmer",
1217 | "refId": "D"
1218 | },
1219 | {
1220 | "expr": "rate(elasticsearch_index_stats_indexing_delete_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1221 | "legendFormat": "Indexing Delete",
1222 | "refId": "E"
1223 | },
1224 | {
1225 | "expr": "rate(elasticsearch_index_stats_search_fetch_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1226 | "legendFormat": "Search Fetch",
1227 | "refId": "F"
1228 | },
1229 | {
1230 | "expr": "rate(elasticsearch_index_stats_search_query_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1231 | "legendFormat": "Search Query",
1232 | "refId": "G"
1233 | },
1234 | {
1235 | "expr": "rate(elasticsearch_index_stats_search_scroll_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1236 | "legendFormat": "Search Scroll",
1237 | "refId": "H"
1238 | },
1239 | {
1240 | "expr": "rate(elasticsearch_index_stats_search_suggest_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1241 | "legendFormat": "Search Suggest",
1242 | "refId": "I"
1243 | },
1244 | {
1245 | "expr": "rate(elasticsearch_index_stats_indexing_index_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1246 | "legendFormat": "Indexing",
1247 | "refId": "J"
1248 | },
1249 | {
1250 | "expr": "rate(elasticsearch_index_stats_get_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1251 | "legendFormat": "Get",
1252 | "refId": "K"
1253 | }
1254 | ],
1255 | "thresholds": [],
1256 | "timeFrom": null,
1257 | "timeRegions": [],
1258 | "timeShift": null,
1259 | "title": "All Operations ReqRate on $index",
1260 | "tooltip": {
1261 | "shared": true,
1262 | "sort": 2,
1263 | "value_type": "individual"
1264 | },
1265 | "type": "graph",
1266 | "xaxis": {
1267 | "buckets": null,
1268 | "mode": "time",
1269 | "name": null,
1270 | "show": true,
1271 | "values": []
1272 | },
1273 | "yaxes": [
1274 | {
1275 | "decimals": 0,
1276 | "format": "reqps",
1277 | "label": null,
1278 | "logBase": 1,
1279 | "max": null,
1280 | "min": null,
1281 | "show": true
1282 | },
1283 | {
1284 | "format": "short",
1285 | "label": null,
1286 | "logBase": 1,
1287 | "max": null,
1288 | "min": null,
1289 | "show": false
1290 | }
1291 | ],
1292 | "yaxis": {
1293 | "align": false,
1294 | "alignLevel": null
1295 | }
1296 | },
1297 | {
1298 | "aliasColors": {},
1299 | "bars": false,
1300 | "dashLength": 10,
1301 | "dashes": false,
1302 | "datasource": "${DS_PROMETHEUS}",
1303 | "description": "Stacked by y-axis",
1304 | "fill": 1,
1305 | "fillGradient": 0,
1306 | "gridPos": {
1307 | "h": 11,
1308 | "w": 24,
1309 | "x": 0,
1310 | "y": 26
1311 | },
1312 | "id": 242,
1313 | "legend": {
1314 | "alignAsTable": true,
1315 | "avg": true,
1316 | "current": true,
1317 | "max": true,
1318 | "min": true,
1319 | "rightSide": true,
1320 | "show": true,
1321 | "sort": "current",
1322 | "sortDesc": true,
1323 | "total": false,
1324 | "values": true
1325 | },
1326 | "lines": true,
1327 | "linewidth": 1,
1328 | "links": [],
1329 | "nullPointMode": "connected",
1330 | "options": {
1331 | "dataLinks": []
1332 | },
1333 | "percentage": false,
1334 | "pointradius": 5,
1335 | "points": false,
1336 | "renderer": "flot",
1337 | "seriesOverrides": [
1338 | {
1339 | "alias": "/.*Throttle/",
1340 | "color": "rgb(255, 0, 8)"
1341 | }
1342 | ],
1343 | "spaceLength": 10,
1344 | "stack": true,
1345 | "steppedLine": false,
1346 | "targets": [
1347 | {
1348 | "expr": "rate(elasticsearch_index_stats_merge_time_seconds_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1349 | "format": "time_series",
1350 | "intervalFactor": 1,
1351 | "legendFormat": "Merge",
1352 | "refId": "A"
1353 | },
1354 | {
1355 | "expr": "rate(elasticsearch_index_stats_flush_time_seconds_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1356 | "legendFormat": "Flush",
1357 | "refId": "B"
1358 | },
1359 | {
1360 | "expr": "rate(elasticsearch_index_stats_refresh_time_seconds_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1361 | "legendFormat": "Refresh",
1362 | "refId": "C"
1363 | },
1364 | {
1365 | "expr": "rate(elasticsearch_index_stats_warmer_time_seconds_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1366 | "legendFormat": "Warmer",
1367 | "refId": "D"
1368 | },
1369 | {
1370 | "expr": "rate(elasticsearch_index_stats_indexing_delete_time_seconds_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1371 | "legendFormat": "Indexing Delete",
1372 | "refId": "E"
1373 | },
1374 | {
1375 | "expr": "rate(elasticsearch_index_stats_search_fetch_time_seconds_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1376 | "legendFormat": "Search Fetch",
1377 | "refId": "F"
1378 | },
1379 | {
1380 | "expr": "rate(elasticsearch_index_stats_search_query_time_seconds_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1381 | "legendFormat": "Search Query",
1382 | "refId": "G"
1383 | },
1384 | {
1385 | "expr": "rate(elasticsearch_index_stats_search_scroll_time_seconds_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1386 | "legendFormat": "Search Scroll",
1387 | "refId": "H"
1388 | },
1389 | {
1390 | "expr": "rate(elasticsearch_index_stats_search_suggest_time_seconds_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1391 | "legendFormat": "Search Suggest",
1392 | "refId": "I"
1393 | },
1394 | {
1395 | "expr": "rate(elasticsearch_index_stats_indexing_index_time_seconds_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1396 | "legendFormat": "Indexing",
1397 | "refId": "J"
1398 | },
1399 | {
1400 | "expr": "rate(elasticsearch_index_stats_get_time_seconds_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1401 | "legendFormat": "Get",
1402 | "refId": "K"
1403 | },
1404 | {
1405 | "expr": "rate(elasticsearch_index_stats_merge_stopped_time_seconds_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1406 | "legendFormat": "Merge Stopped",
1407 | "refId": "L"
1408 | },
1409 | {
1410 | "expr": "rate(elasticsearch_index_stats_merge_throttle_time_seconds_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1411 | "legendFormat": "Merge Throttle",
1412 | "refId": "M"
1413 | },
1414 | {
1415 | "expr": "rate(elasticsearch_index_stats_indexing_throttle_time_seconds_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1416 | "legendFormat": "Indexing Throttle",
1417 | "refId": "N"
1418 | }
1419 | ],
1420 | "thresholds": [],
1421 | "timeFrom": null,
1422 | "timeRegions": [],
1423 | "timeShift": null,
1424 | "title": "All Operations Runtime/s on $index",
1425 | "tooltip": {
1426 | "shared": true,
1427 | "sort": 2,
1428 | "value_type": "individual"
1429 | },
1430 | "type": "graph",
1431 | "xaxis": {
1432 | "buckets": null,
1433 | "mode": "time",
1434 | "name": null,
1435 | "show": true,
1436 | "values": []
1437 | },
1438 | "yaxes": [
1439 | {
1440 | "decimals": null,
1441 | "format": "s",
1442 | "label": null,
1443 | "logBase": 1,
1444 | "max": null,
1445 | "min": "0",
1446 | "show": true
1447 | },
1448 | {
1449 | "format": "short",
1450 | "label": null,
1451 | "logBase": 1,
1452 | "max": null,
1453 | "min": null,
1454 | "show": false
1455 | }
1456 | ],
1457 | "yaxis": {
1458 | "align": false,
1459 | "alignLevel": null
1460 | }
1461 | },
1462 | {
1463 | "aliasColors": {},
1464 | "bars": false,
1465 | "dashLength": 10,
1466 | "dashes": false,
1467 | "datasource": "${DS_PROMETHEUS}",
1468 | "description": "Search phases: Fetch, Query, Scroll, Suggest\n\nStacked by y-axis",
1469 | "fill": 1,
1470 | "fillGradient": 0,
1471 | "gridPos": {
1472 | "h": 7,
1473 | "w": 8,
1474 | "x": 0,
1475 | "y": 37
1476 | },
1477 | "id": 218,
1478 | "legend": {
1479 | "alignAsTable": false,
1480 | "avg": false,
1481 | "current": false,
1482 | "max": false,
1483 | "min": false,
1484 | "rightSide": false,
1485 | "show": true,
1486 | "sort": "current",
1487 | "sortDesc": true,
1488 | "total": false,
1489 | "values": false
1490 | },
1491 | "lines": true,
1492 | "linewidth": 1,
1493 | "links": [],
1494 | "maxPerRow": 3,
1495 | "nullPointMode": "null",
1496 | "options": {
1497 | "dataLinks": []
1498 | },
1499 | "percentage": false,
1500 | "pointradius": 5,
1501 | "points": false,
1502 | "renderer": "flot",
1503 | "repeat": null,
1504 | "repeatDirection": "h",
1505 | "seriesOverrides": [],
1506 | "spaceLength": 10,
1507 | "stack": true,
1508 | "steppedLine": false,
1509 | "targets": [
1510 | {
1511 | "expr": "rate(elasticsearch_index_stats_search_fetch_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1512 | "format": "time_series",
1513 | "intervalFactor": 1,
1514 | "legendFormat": "Fetch",
1515 | "refId": "A"
1516 | },
1517 | {
1518 | "expr": "rate(elasticsearch_index_stats_search_query_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1519 | "format": "time_series",
1520 | "intervalFactor": 1,
1521 | "legendFormat": "Query",
1522 | "refId": "B"
1523 | },
1524 | {
1525 | "expr": "rate(elasticsearch_index_stats_search_scroll_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1526 | "format": "time_series",
1527 | "intervalFactor": 1,
1528 | "legendFormat": "Scroll",
1529 | "refId": "C"
1530 | },
1531 | {
1532 | "expr": "rate(elasticsearch_index_stats_search_suggest_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1533 | "format": "time_series",
1534 | "intervalFactor": 1,
1535 | "legendFormat": "Suggest",
1536 | "refId": "D"
1537 | }
1538 | ],
1539 | "thresholds": [],
1540 | "timeFrom": null,
1541 | "timeRegions": [],
1542 | "timeShift": null,
1543 | "title": "Search Rate (req/s)",
1544 | "tooltip": {
1545 | "shared": true,
1546 | "sort": 2,
1547 | "value_type": "individual"
1548 | },
1549 | "type": "graph",
1550 | "xaxis": {
1551 | "buckets": null,
1552 | "mode": "time",
1553 | "name": null,
1554 | "show": true,
1555 | "values": []
1556 | },
1557 | "yaxes": [
1558 | {
1559 | "decimals": 0,
1560 | "format": "reqps",
1561 | "label": null,
1562 | "logBase": 1,
1563 | "max": null,
1564 | "min": null,
1565 | "show": true
1566 | },
1567 | {
1568 | "format": "short",
1569 | "label": null,
1570 | "logBase": 1,
1571 | "max": null,
1572 | "min": null,
1573 | "show": false
1574 | }
1575 | ],
1576 | "yaxis": {
1577 | "align": false,
1578 | "alignLevel": null
1579 | }
1580 | },
1581 | {
1582 | "aliasColors": {},
1583 | "bars": false,
1584 | "dashLength": 10,
1585 | "dashes": false,
1586 | "datasource": "${DS_PROMETHEUS}",
1587 | "description": "Stacked by y-axis",
1588 | "fill": 1,
1589 | "fillGradient": 0,
1590 | "gridPos": {
1591 | "h": 7,
1592 | "w": 16,
1593 | "x": 8,
1594 | "y": 37
1595 | },
1596 | "id": 216,
1597 | "legend": {
1598 | "alignAsTable": true,
1599 | "avg": true,
1600 | "current": true,
1601 | "max": false,
1602 | "min": false,
1603 | "rightSide": true,
1604 | "show": true,
1605 | "sort": "current",
1606 | "sortDesc": true,
1607 | "total": false,
1608 | "values": true
1609 | },
1610 | "lines": true,
1611 | "linewidth": 1,
1612 | "links": [],
1613 | "nullPointMode": "connected",
1614 | "options": {
1615 | "dataLinks": []
1616 | },
1617 | "percentage": false,
1618 | "pointradius": 5,
1619 | "points": false,
1620 | "renderer": "flot",
1621 | "seriesOverrides": [],
1622 | "spaceLength": 10,
1623 | "stack": true,
1624 | "steppedLine": false,
1625 | "targets": [
1626 | {
1627 | "expr": "rate(elasticsearch_index_stats_merge_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1628 | "format": "time_series",
1629 | "intervalFactor": 1,
1630 | "legendFormat": "Merge",
1631 | "refId": "A"
1632 | },
1633 | {
1634 | "expr": "rate(elasticsearch_index_stats_flush_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1635 | "legendFormat": "Flush",
1636 | "refId": "B"
1637 | },
1638 | {
1639 | "expr": "rate(elasticsearch_index_stats_refresh_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1640 | "legendFormat": "Refresh",
1641 | "refId": "C"
1642 | },
1643 | {
1644 | "expr": "rate(elasticsearch_index_stats_warmer_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1645 | "legendFormat": "Warmer",
1646 | "refId": "D"
1647 | },
1648 | {
1649 | "expr": "rate(elasticsearch_index_stats_indexing_delete_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1650 | "legendFormat": "Indexing Delete",
1651 | "refId": "E"
1652 | },
1653 | {
1654 | "expr": "rate(elasticsearch_index_stats_get_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1655 | "legendFormat": "Get",
1656 | "refId": "F"
1657 | }
1658 | ],
1659 | "thresholds": [],
1660 | "timeFrom": null,
1661 | "timeRegions": [],
1662 | "timeShift": null,
1663 | "title": "Operation Rate (req/s)",
1664 | "tooltip": {
1665 | "shared": true,
1666 | "sort": 2,
1667 | "value_type": "individual"
1668 | },
1669 | "type": "graph",
1670 | "xaxis": {
1671 | "buckets": null,
1672 | "mode": "time",
1673 | "name": null,
1674 | "show": true,
1675 | "values": []
1676 | },
1677 | "yaxes": [
1678 | {
1679 | "decimals": 0,
1680 | "format": "reqps",
1681 | "label": null,
1682 | "logBase": 1,
1683 | "max": null,
1684 | "min": null,
1685 | "show": true
1686 | },
1687 | {
1688 | "format": "short",
1689 | "label": null,
1690 | "logBase": 1,
1691 | "max": null,
1692 | "min": null,
1693 | "show": false
1694 | }
1695 | ],
1696 | "yaxis": {
1697 | "align": false,
1698 | "alignLevel": null
1699 | }
1700 | },
1701 | {
1702 | "aliasColors": {},
1703 | "bars": false,
1704 | "dashLength": 10,
1705 | "dashes": false,
1706 | "datasource": "${DS_PROMETHEUS}",
1707 | "description": "",
1708 | "fill": 1,
1709 | "fillGradient": 0,
1710 | "gridPos": {
1711 | "h": 7,
1712 | "w": 24,
1713 | "x": 0,
1714 | "y": 44
1715 | },
1716 | "id": 249,
1717 | "legend": {
1718 | "alignAsTable": true,
1719 | "avg": true,
1720 | "current": true,
1721 | "max": true,
1722 | "min": true,
1723 | "rightSide": true,
1724 | "show": true,
1725 | "sort": "avg",
1726 | "sortDesc": true,
1727 | "total": false,
1728 | "values": true
1729 | },
1730 | "lines": true,
1731 | "linewidth": 1,
1732 | "links": [],
1733 | "maxPerRow": 3,
1734 | "nullPointMode": "null",
1735 | "options": {
1736 | "dataLinks": []
1737 | },
1738 | "percentage": false,
1739 | "pointradius": 5,
1740 | "points": false,
1741 | "renderer": "flot",
1742 | "repeatDirection": "h",
1743 | "seriesOverrides": [],
1744 | "spaceLength": 10,
1745 | "stack": true,
1746 | "steppedLine": false,
1747 | "targets": [
1748 | {
1749 | "expr": "rate(elasticsearch_index_stats_search_fetch_time_seconds_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval]) / \nrate(elasticsearch_index_stats_search_fetch_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1750 | "format": "time_series",
1751 | "intervalFactor": 1,
1752 | "legendFormat": "Fetch",
1753 | "refId": "A"
1754 | },
1755 | {
1756 | "expr": "rate(elasticsearch_index_stats_search_query_time_seconds_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval]) / \nrate(elasticsearch_index_stats_search_query_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1757 | "format": "time_series",
1758 | "intervalFactor": 1,
1759 | "legendFormat": "Query",
1760 | "refId": "B"
1761 | },
1762 | {
1763 | "expr": "rate(elasticsearch_index_stats_search_scroll_time_seconds_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval]) /\nrate(elasticsearch_index_stats_search_scroll_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1764 | "format": "time_series",
1765 | "intervalFactor": 1,
1766 | "legendFormat": "Scroll",
1767 | "refId": "C"
1768 | },
1769 | {
1770 | "expr": "rate(elasticsearch_index_stats_search_suggest_time_seconds_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval]) /\nrate(elasticsearch_index_stats_search_suggest_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
1771 | "format": "time_series",
1772 | "intervalFactor": 1,
1773 | "legendFormat": "Suggest",
1774 | "refId": "D"
1775 | }
1776 | ],
1777 | "thresholds": [],
1778 | "timeFrom": null,
1779 | "timeRegions": [],
1780 | "timeShift": null,
1781 | "title": "Avg. Search Time Execute / Request",
1782 | "tooltip": {
1783 | "shared": true,
1784 | "sort": 2,
1785 | "value_type": "individual"
1786 | },
1787 | "type": "graph",
1788 | "xaxis": {
1789 | "buckets": null,
1790 | "mode": "time",
1791 | "name": null,
1792 | "show": true,
1793 | "values": []
1794 | },
1795 | "yaxes": [
1796 | {
1797 | "decimals": 0,
1798 | "format": "s",
1799 | "label": null,
1800 | "logBase": 1,
1801 | "max": null,
1802 | "min": null,
1803 | "show": true
1804 | },
1805 | {
1806 | "format": "short",
1807 | "label": null,
1808 | "logBase": 1,
1809 | "max": null,
1810 | "min": null,
1811 | "show": false
1812 | }
1813 | ],
1814 | "yaxis": {
1815 | "align": false,
1816 | "alignLevel": null
1817 | }
1818 | },
1819 | {
1820 | "collapsed": false,
1821 | "gridPos": {
1822 | "h": 1,
1823 | "w": 24,
1824 | "x": 0,
1825 | "y": 51
1826 | },
1827 | "id": 209,
1828 | "panels": [],
1829 | "repeat": null,
1830 | "title": "Index Memory",
1831 | "type": "row"
1832 | },
1833 | {
1834 | "aliasColors": {},
1835 | "bars": false,
1836 | "dashLength": 10,
1837 | "dashes": false,
1838 | "datasource": "${DS_PROMETHEUS}",
1839 | "description": "+ *Lucene Total*: Total heap memory used by Lucene for current index. This is the sum of other fields for primary and replica shards on this node.\n\n+ *Stored Fields*: Heap memory used by Stored Fields (e.g., _source). This is a part of Lucene Total.. \n\n+ *Doc Values*: Heap memory used by Doc Values. This is a part of Lucene Total.. \n\n+ *Norms*: Heap memory used by Norms (normalization factors for query-time, text scoring). This is a part of Lucene Total.\n\n+ *Terms*: (e.g., text). This is a part of Lucene Total.\n\n+ *Points*: Heap memory used by Points (e.g., numbers, IPs, and geo data). This is a part of Lucene Total.\n\n+ *Fixed Bitsets*: (e.g., text). This is a part of Lucene Total.\n\n+ *Term Vectors*: Heap memory used by Term Vectors. This is a part of Lucene Total.\n\n+ *Version Map*: Heap memory used by Versioning (e.g., updates and deletes). This is NOT a part of Lucene Total.",
1840 | "editable": true,
1841 | "error": false,
1842 | "fill": 0,
1843 | "fillGradient": 0,
1844 | "gridPos": {
1845 | "h": 8,
1846 | "w": 24,
1847 | "x": 0,
1848 | "y": 52
1849 | },
1850 | "id": 206,
1851 | "legend": {
1852 | "alignAsTable": true,
1853 | "avg": true,
1854 | "current": true,
1855 | "hideZero": false,
1856 | "max": true,
1857 | "min": true,
1858 | "rightSide": true,
1859 | "show": true,
1860 | "sort": "current",
1861 | "sortDesc": true,
1862 | "total": false,
1863 | "values": true
1864 | },
1865 | "lines": true,
1866 | "linewidth": 1,
1867 | "links": [],
1868 | "nullPointMode": "connected",
1869 | "options": {
1870 | "dataLinks": []
1871 | },
1872 | "percentage": false,
1873 | "pointradius": 5,
1874 | "points": false,
1875 | "renderer": "flot",
1876 | "repeat": null,
1877 | "repeatDirection": "v",
1878 | "seriesOverrides": [],
1879 | "spaceLength": 10,
1880 | "stack": false,
1881 | "steppedLine": false,
1882 | "targets": [
1883 | {
1884 | "expr": "elasticsearch_indices_segment_fields_memory_bytes_total{instance=\"$instance\",cluster=\"$cluster\",index=~\"$index\"}",
1885 | "format": "time_series",
1886 | "hide": false,
1887 | "intervalFactor": 1,
1888 | "legendFormat": "Stored Fields",
1889 | "refId": "G",
1890 | "step": 20
1891 | },
1892 | {
1893 | "expr": "elasticsearch_indices_segment_doc_values_memory_bytes_total{instance=\"$instance\",cluster=\"$cluster\",index=~\"$index\"}",
1894 | "format": "time_series",
1895 | "hide": false,
1896 | "intervalFactor": 1,
1897 | "legendFormat": "Doc Values",
1898 | "refId": "C",
1899 | "step": 20
1900 | },
1901 | {
1902 | "expr": "elasticsearch_indices_segment_norms_memory_bytes_total{instance=\"$instance\",cluster=\"$cluster\",index=~\"$index\"}",
1903 | "format": "time_series",
1904 | "hide": false,
1905 | "intervalFactor": 1,
1906 | "legendFormat": "Norms",
1907 | "refId": "A",
1908 | "step": 20
1909 | },
1910 | {
1911 | "expr": "elasticsearch_indices_segment_fixed_bit_set_memory_bytes_total{instance=\"$instance\",cluster=\"$cluster\",index=~\"$index\"}",
1912 | "format": "time_series",
1913 | "hide": false,
1914 | "intervalFactor": 1,
1915 | "legendFormat": "Fixed Bitsets",
1916 | "refId": "B",
1917 | "step": 20
1918 | },
1919 | {
1920 | "expr": "elasticsearch_indices_segment_term_vectors_memory_total_bytes{instance=\"$instance\",cluster=\"$cluster\",index=~\"$index\"}",
1921 | "format": "time_series",
1922 | "hide": false,
1923 | "intervalFactor": 1,
1924 | "legendFormat": "Term Vectors",
1925 | "refId": "H",
1926 | "step": 20
1927 | },
1928 | {
1929 | "expr": "elasticsearch_indices_segment_version_map_memory_bytes_total{instance=\"$instance\",cluster=\"$cluster\",index=~\"$index\"}",
1930 | "format": "time_series",
1931 | "hide": false,
1932 | "intervalFactor": 1,
1933 | "legendFormat": "Version Map",
1934 | "refId": "D",
1935 | "step": 20
1936 | },
1937 | {
1938 | "expr": "elasticsearch_indices_segment_terms_memory_total{instance=\"$instance\",cluster=\"$cluster\",index=~\"$index\"}",
1939 | "format": "time_series",
1940 | "hide": false,
1941 | "intervalFactor": 1,
1942 | "legendFormat": "Terms",
1943 | "refId": "F",
1944 | "step": 20
1945 | },
1946 | {
1947 | "expr": "elasticsearch_indices_segment_points_memory_bytes_total{instance=\"$instance\",cluster=\"$cluster\",index=~\"$index\"}",
1948 | "format": "time_series",
1949 | "hide": false,
1950 | "intervalFactor": 1,
1951 | "legendFormat": "Points",
1952 | "refId": "E",
1953 | "step": 20
1954 | },
1955 | {
1956 | "expr": "elasticsearch_indices_segment_fields_memory_bytes_total{instance=\"$instance\",cluster=\"$cluster\",index=~\"$index\"}",
1957 | "format": "time_series",
1958 | "hide": false,
1959 | "intervalFactor": 1,
1960 | "legendFormat": "Lucene Total",
1961 | "refId": "I",
1962 | "step": 20
1963 | }
1964 | ],
1965 | "thresholds": [],
1966 | "timeFrom": null,
1967 | "timeRegions": [],
1968 | "timeShift": null,
1969 | "title": "Index Memory - Lucene - $index",
1970 | "tooltip": {
1971 | "msResolution": false,
1972 | "shared": true,
1973 | "sort": 2,
1974 | "value_type": "cumulative"
1975 | },
1976 | "type": "graph",
1977 | "xaxis": {
1978 | "buckets": null,
1979 | "mode": "time",
1980 | "name": null,
1981 | "show": true,
1982 | "values": []
1983 | },
1984 | "yaxes": [
1985 | {
1986 | "decimals": 2,
1987 | "format": "bytes",
1988 | "label": "",
1989 | "logBase": 1,
1990 | "max": null,
1991 | "min": "0",
1992 | "show": true
1993 | },
1994 | {
1995 | "format": "short",
1996 | "label": null,
1997 | "logBase": 1,
1998 | "max": null,
1999 | "min": null,
2000 | "show": true
2001 | }
2002 | ],
2003 | "yaxis": {
2004 | "align": false,
2005 | "alignLevel": null
2006 | }
2007 | },
2008 | {
2009 | "aliasColors": {},
2010 | "bars": false,
2011 | "dashLength": 10,
2012 | "dashes": false,
2013 | "datasource": "${DS_PROMETHEUS}",
2014 | "description": "+ *Query Cache*: Heap memory used by Query Cache (e.g., cached filters). This is for the same shards, but not a part of Lucene Total.. \n\n+ *Request Cache*: Heap memory used by Request Cache (e.g., instant aggregations). This is for the same shards, but not a part of Lucene Total.. \n\n+ *Fielddata*: Heap memory used by Fielddata (e.g., global ordinals or explicitly enabled fielddata on text fields). This is for the same shards, but not a part of Lucene Total.. \n\n+ *Index Writer*: Heap memory used by the Index Writer. This is NOT a part of Lucene Total.",
2015 | "editable": true,
2016 | "error": false,
2017 | "fill": 0,
2018 | "fillGradient": 0,
2019 | "gridPos": {
2020 | "h": 5,
2021 | "w": 24,
2022 | "x": 0,
2023 | "y": 60
2024 | },
2025 | "id": 207,
2026 | "legend": {
2027 | "alignAsTable": true,
2028 | "avg": true,
2029 | "current": true,
2030 | "hideZero": false,
2031 | "max": true,
2032 | "min": true,
2033 | "rightSide": true,
2034 | "show": true,
2035 | "sort": "current",
2036 | "sortDesc": true,
2037 | "total": false,
2038 | "values": true
2039 | },
2040 | "lines": true,
2041 | "linewidth": 1,
2042 | "links": [],
2043 | "nullPointMode": "connected",
2044 | "options": {
2045 | "dataLinks": []
2046 | },
2047 | "percentage": false,
2048 | "pointradius": 5,
2049 | "points": false,
2050 | "renderer": "flot",
2051 | "seriesOverrides": [],
2052 | "spaceLength": 10,
2053 | "stack": false,
2054 | "steppedLine": false,
2055 | "targets": [
2056 | {
2057 | "expr": "elasticsearch_index_stats_query_cache_memory_bytes_total{instance=\"$instance\",cluster=\"$cluster\",index=~\"$index\"}",
2058 | "format": "time_series",
2059 | "hide": false,
2060 | "intervalFactor": 1,
2061 | "legendFormat": "Query Cache",
2062 | "refId": "G",
2063 | "step": 20
2064 | },
2065 | {
2066 | "expr": "elasticsearch_index_stats_request_cache_memory_bytes_total{instance=\"$instance\",cluster=\"$cluster\",index=~\"$index\"}",
2067 | "format": "time_series",
2068 | "hide": false,
2069 | "intervalFactor": 1,
2070 | "legendFormat": "Request Cache",
2071 | "refId": "C",
2072 | "step": 20
2073 | },
2074 | {
2075 | "expr": "elasticsearch_index_stats_fielddata_memory_bytes_total{instance=\"$instance\",cluster=\"$cluster\",index=~\"$index\"}",
2076 | "format": "time_series",
2077 | "hide": false,
2078 | "intervalFactor": 1,
2079 | "legendFormat": "Fielddata",
2080 | "refId": "A",
2081 | "step": 20
2082 | },
2083 | {
2084 | "expr": "elasticsearch_indices_segment_index_writer_memory_bytes_total{instance=\"$instance\",cluster=\"$cluster\",index=~\"$index\"}",
2085 | "format": "time_series",
2086 | "hide": false,
2087 | "intervalFactor": 1,
2088 | "legendFormat": "Index Writer",
2089 | "refId": "B",
2090 | "step": 20
2091 | }
2092 | ],
2093 | "thresholds": [],
2094 | "timeFrom": null,
2095 | "timeRegions": [],
2096 | "timeShift": null,
2097 | "title": "Index Memory - Elasticsearch - $index",
2098 | "tooltip": {
2099 | "msResolution": false,
2100 | "shared": true,
2101 | "sort": 2,
2102 | "value_type": "cumulative"
2103 | },
2104 | "type": "graph",
2105 | "xaxis": {
2106 | "buckets": null,
2107 | "mode": "time",
2108 | "name": null,
2109 | "show": true,
2110 | "values": []
2111 | },
2112 | "yaxes": [
2113 | {
2114 | "decimals": 2,
2115 | "format": "bytes",
2116 | "label": "",
2117 | "logBase": 1,
2118 | "max": null,
2119 | "min": "0",
2120 | "show": true
2121 | },
2122 | {
2123 | "format": "short",
2124 | "label": null,
2125 | "logBase": 1,
2126 | "max": null,
2127 | "min": null,
2128 | "show": true
2129 | }
2130 | ],
2131 | "yaxis": {
2132 | "align": false,
2133 | "alignLevel": null
2134 | }
2135 | },
2136 | {
2137 | "collapsed": true,
2138 | "gridPos": {
2139 | "h": 1,
2140 | "w": 24,
2141 | "x": 0,
2142 | "y": 65
2143 | },
2144 | "id": 240,
2145 | "panels": [
2146 | {
2147 | "aliasColors": {},
2148 | "bars": false,
2149 | "dashLength": 10,
2150 | "dashes": false,
2151 | "datasource": "${DS_PROMETHEUS}",
2152 | "description": "",
2153 | "fill": 0,
2154 | "fillGradient": 0,
2155 | "gridPos": {
2156 | "h": 7,
2157 | "w": 16,
2158 | "x": 0,
2159 | "y": 66
2160 | },
2161 | "id": 220,
2162 | "legend": {
2163 | "alignAsTable": true,
2164 | "avg": true,
2165 | "current": true,
2166 | "max": false,
2167 | "min": false,
2168 | "rightSide": true,
2169 | "show": true,
2170 | "sort": "current",
2171 | "sortDesc": true,
2172 | "total": false,
2173 | "values": true
2174 | },
2175 | "lines": true,
2176 | "linewidth": 1,
2177 | "links": [],
2178 | "maxPerRow": 3,
2179 | "nullPointMode": "null",
2180 | "options": {
2181 | "dataLinks": []
2182 | },
2183 | "percentage": false,
2184 | "pointradius": 5,
2185 | "points": false,
2186 | "renderer": "flot",
2187 | "repeatDirection": "h",
2188 | "seriesOverrides": [
2189 | {
2190 | "alias": "Misses",
2191 | "color": "#E02F44"
2192 | },
2193 | {
2194 | "alias": "Hits",
2195 | "color": "#96D98D"
2196 | },
2197 | {
2198 | "alias": "Evictions",
2199 | "color": "#FF780A"
2200 | },
2201 | {
2202 | "alias": "Caches",
2203 | "color": "#8AB8FF"
2204 | }
2205 | ],
2206 | "spaceLength": 10,
2207 | "stack": false,
2208 | "steppedLine": false,
2209 | "targets": [
2210 | {
2211 | "expr": "elasticsearch_index_stats_query_cache_misses_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}",
2212 | "format": "time_series",
2213 | "hide": false,
2214 | "intervalFactor": 1,
2215 | "legendFormat": "Misses",
2216 | "refId": "A"
2217 | },
2218 | {
2219 | "expr": "elasticsearch_index_stats_query_cache_hits_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}",
2220 | "format": "time_series",
2221 | "intervalFactor": 1,
2222 | "legendFormat": "Hits",
2223 | "refId": "B"
2224 | },
2225 | {
2226 | "expr": "elasticsearch_index_stats_query_cache_evictions_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}",
2227 | "format": "time_series",
2228 | "intervalFactor": 1,
2229 | "legendFormat": "Evictions",
2230 | "refId": "C"
2231 | },
2232 | {
2233 | "expr": "elasticsearch_index_stats_query_cache_caches_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}",
2234 | "format": "time_series",
2235 | "hide": false,
2236 | "intervalFactor": 1,
2237 | "legendFormat": "Caches",
2238 | "refId": "D"
2239 | },
2240 | {
2241 | "expr": "elasticsearch_index_stats_query_cache_size{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}",
2242 | "format": "time_series",
2243 | "hide": false,
2244 | "intervalFactor": 1,
2245 | "legendFormat": "Size",
2246 | "refId": "E"
2247 | }
2248 | ],
2249 | "thresholds": [],
2250 | "timeFrom": null,
2251 | "timeRegions": [],
2252 | "timeShift": null,
2253 | "title": "Query Cache",
2254 | "tooltip": {
2255 | "shared": true,
2256 | "sort": 2,
2257 | "value_type": "individual"
2258 | },
2259 | "type": "graph",
2260 | "xaxis": {
2261 | "buckets": null,
2262 | "mode": "time",
2263 | "name": null,
2264 | "show": true,
2265 | "values": []
2266 | },
2267 | "yaxes": [
2268 | {
2269 | "decimals": null,
2270 | "format": "locale",
2271 | "label": null,
2272 | "logBase": 1,
2273 | "max": null,
2274 | "min": null,
2275 | "show": true
2276 | },
2277 | {
2278 | "format": "short",
2279 | "label": null,
2280 | "logBase": 1,
2281 | "max": null,
2282 | "min": null,
2283 | "show": false
2284 | }
2285 | ],
2286 | "yaxis": {
2287 | "align": false,
2288 | "alignLevel": null
2289 | }
2290 | },
2291 | {
2292 | "aliasColors": {},
2293 | "bars": false,
2294 | "dashLength": 10,
2295 | "dashes": false,
2296 | "datasource": "${DS_PROMETHEUS}",
2297 | "description": "",
2298 | "fill": 1,
2299 | "fillGradient": 0,
2300 | "gridPos": {
2301 | "h": 7,
2302 | "w": 8,
2303 | "x": 16,
2304 | "y": 66
2305 | },
2306 | "id": 237,
2307 | "legend": {
2308 | "alignAsTable": false,
2309 | "avg": false,
2310 | "current": false,
2311 | "max": false,
2312 | "min": false,
2313 | "rightSide": false,
2314 | "show": true,
2315 | "sort": "current",
2316 | "sortDesc": true,
2317 | "total": false,
2318 | "values": false
2319 | },
2320 | "lines": true,
2321 | "linewidth": 1,
2322 | "links": [],
2323 | "maxPerRow": 3,
2324 | "nullPointMode": "null",
2325 | "options": {
2326 | "dataLinks": []
2327 | },
2328 | "percentage": false,
2329 | "pointradius": 5,
2330 | "points": false,
2331 | "renderer": "flot",
2332 | "repeatDirection": "h",
2333 | "seriesOverrides": [],
2334 | "spaceLength": 10,
2335 | "stack": false,
2336 | "steppedLine": false,
2337 | "targets": [
2338 | {
2339 | "expr": "elasticsearch_index_stats_query_cache_memory_bytes_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}",
2340 | "format": "time_series",
2341 | "hide": false,
2342 | "intervalFactor": 1,
2343 | "legendFormat": "Memory",
2344 | "refId": "A"
2345 | }
2346 | ],
2347 | "thresholds": [],
2348 | "timeFrom": null,
2349 | "timeRegions": [],
2350 | "timeShift": null,
2351 | "title": "Query Cache Memory",
2352 | "tooltip": {
2353 | "shared": true,
2354 | "sort": 2,
2355 | "value_type": "individual"
2356 | },
2357 | "type": "graph",
2358 | "xaxis": {
2359 | "buckets": null,
2360 | "mode": "time",
2361 | "name": null,
2362 | "show": true,
2363 | "values": []
2364 | },
2365 | "yaxes": [
2366 | {
2367 | "decimals": 1,
2368 | "format": "bytes",
2369 | "label": null,
2370 | "logBase": 1,
2371 | "max": null,
2372 | "min": null,
2373 | "show": true
2374 | },
2375 | {
2376 | "format": "short",
2377 | "label": null,
2378 | "logBase": 1,
2379 | "max": null,
2380 | "min": null,
2381 | "show": false
2382 | }
2383 | ],
2384 | "yaxis": {
2385 | "align": false,
2386 | "alignLevel": null
2387 | }
2388 | },
2389 | {
2390 | "aliasColors": {},
2391 | "bars": false,
2392 | "dashLength": 10,
2393 | "dashes": false,
2394 | "datasource": "${DS_PROMETHEUS}",
2395 | "description": "",
2396 | "fill": 0,
2397 | "fillGradient": 0,
2398 | "gridPos": {
2399 | "h": 7,
2400 | "w": 16,
2401 | "x": 0,
2402 | "y": 73
2403 | },
2404 | "id": 236,
2405 | "legend": {
2406 | "alignAsTable": true,
2407 | "avg": true,
2408 | "current": true,
2409 | "max": false,
2410 | "min": false,
2411 | "rightSide": true,
2412 | "show": true,
2413 | "sort": "current",
2414 | "sortDesc": true,
2415 | "total": false,
2416 | "values": true
2417 | },
2418 | "lines": true,
2419 | "linewidth": 1,
2420 | "links": [],
2421 | "maxPerRow": 3,
2422 | "nullPointMode": "null",
2423 | "options": {
2424 | "dataLinks": []
2425 | },
2426 | "percentage": false,
2427 | "pointradius": 5,
2428 | "points": false,
2429 | "renderer": "flot",
2430 | "repeatDirection": "h",
2431 | "seriesOverrides": [
2432 | {
2433 | "alias": "Misses",
2434 | "color": "#E02F44"
2435 | },
2436 | {
2437 | "alias": "Hits",
2438 | "color": "#96D98D"
2439 | },
2440 | {
2441 | "alias": "Evictions",
2442 | "color": "#FF780A"
2443 | },
2444 | {
2445 | "alias": "Caches",
2446 | "color": "#8AB8FF"
2447 | }
2448 | ],
2449 | "spaceLength": 10,
2450 | "stack": false,
2451 | "steppedLine": false,
2452 | "targets": [
2453 | {
2454 | "expr": "elasticsearch_index_stats_request_cache_misses_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}",
2455 | "format": "time_series",
2456 | "hide": false,
2457 | "intervalFactor": 1,
2458 | "legendFormat": "Misses",
2459 | "refId": "A"
2460 | },
2461 | {
2462 | "expr": "elasticsearch_index_stats_request_cache_hits_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}",
2463 | "format": "time_series",
2464 | "intervalFactor": 1,
2465 | "legendFormat": "Hits",
2466 | "refId": "B"
2467 | },
2468 | {
2469 | "expr": "elasticsearch_index_stats_request_cache_evictions_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}",
2470 | "format": "time_series",
2471 | "intervalFactor": 1,
2472 | "legendFormat": "Evictions",
2473 | "refId": "C"
2474 | }
2475 | ],
2476 | "thresholds": [],
2477 | "timeFrom": null,
2478 | "timeRegions": [],
2479 | "timeShift": null,
2480 | "title": "Request Cache",
2481 | "tooltip": {
2482 | "shared": true,
2483 | "sort": 2,
2484 | "value_type": "individual"
2485 | },
2486 | "type": "graph",
2487 | "xaxis": {
2488 | "buckets": null,
2489 | "mode": "time",
2490 | "name": null,
2491 | "show": true,
2492 | "values": []
2493 | },
2494 | "yaxes": [
2495 | {
2496 | "decimals": 0,
2497 | "format": "locale",
2498 | "label": null,
2499 | "logBase": 1,
2500 | "max": null,
2501 | "min": null,
2502 | "show": true
2503 | },
2504 | {
2505 | "format": "short",
2506 | "label": null,
2507 | "logBase": 1,
2508 | "max": null,
2509 | "min": null,
2510 | "show": false
2511 | }
2512 | ],
2513 | "yaxis": {
2514 | "align": false,
2515 | "alignLevel": null
2516 | }
2517 | },
2518 | {
2519 | "aliasColors": {},
2520 | "bars": false,
2521 | "dashLength": 10,
2522 | "dashes": false,
2523 | "datasource": "${DS_PROMETHEUS}",
2524 | "description": "",
2525 | "fill": 1,
2526 | "fillGradient": 0,
2527 | "gridPos": {
2528 | "h": 7,
2529 | "w": 8,
2530 | "x": 16,
2531 | "y": 73
2532 | },
2533 | "id": 238,
2534 | "legend": {
2535 | "alignAsTable": false,
2536 | "avg": false,
2537 | "current": false,
2538 | "max": false,
2539 | "min": false,
2540 | "rightSide": false,
2541 | "show": true,
2542 | "sort": "current",
2543 | "sortDesc": true,
2544 | "total": false,
2545 | "values": false
2546 | },
2547 | "lines": true,
2548 | "linewidth": 1,
2549 | "links": [],
2550 | "maxPerRow": 3,
2551 | "nullPointMode": "null",
2552 | "options": {
2553 | "dataLinks": []
2554 | },
2555 | "percentage": false,
2556 | "pointradius": 5,
2557 | "points": false,
2558 | "renderer": "flot",
2559 | "repeatDirection": "h",
2560 | "seriesOverrides": [],
2561 | "spaceLength": 10,
2562 | "stack": false,
2563 | "steppedLine": false,
2564 | "targets": [
2565 | {
2566 | "expr": "elasticsearch_index_stats_request_cache_memory_bytes_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}",
2567 | "format": "time_series",
2568 | "hide": false,
2569 | "intervalFactor": 1,
2570 | "legendFormat": "Memory",
2571 | "refId": "A"
2572 | }
2573 | ],
2574 | "thresholds": [],
2575 | "timeFrom": null,
2576 | "timeRegions": [],
2577 | "timeShift": null,
2578 | "title": "Request Cache Memory",
2579 | "tooltip": {
2580 | "shared": true,
2581 | "sort": 2,
2582 | "value_type": "individual"
2583 | },
2584 | "type": "graph",
2585 | "xaxis": {
2586 | "buckets": null,
2587 | "mode": "time",
2588 | "name": null,
2589 | "show": true,
2590 | "values": []
2591 | },
2592 | "yaxes": [
2593 | {
2594 | "decimals": 1,
2595 | "format": "bytes",
2596 | "label": null,
2597 | "logBase": 1,
2598 | "max": null,
2599 | "min": null,
2600 | "show": true
2601 | },
2602 | {
2603 | "format": "short",
2604 | "label": null,
2605 | "logBase": 1,
2606 | "max": null,
2607 | "min": null,
2608 | "show": false
2609 | }
2610 | ],
2611 | "yaxis": {
2612 | "align": false,
2613 | "alignLevel": null
2614 | }
2615 | }
2616 | ],
2617 | "title": "Cache",
2618 | "type": "row"
2619 | },
2620 | {
2621 | "collapsed": false,
2622 | "gridPos": {
2623 | "h": 1,
2624 | "w": 24,
2625 | "x": 0,
2626 | "y": 66
2627 | },
2628 | "id": 246,
2629 | "panels": [],
2630 | "title": "Segment",
2631 | "type": "row"
2632 | },
2633 | {
2634 | "aliasColors": {},
2635 | "bars": false,
2636 | "dashLength": 10,
2637 | "dashes": false,
2638 | "datasource": "${DS_PROMETHEUS}",
2639 | "fill": 0,
2640 | "fillGradient": 0,
2641 | "gridPos": {
2642 | "h": 9,
2643 | "w": 24,
2644 | "x": 0,
2645 | "y": 67
2646 | },
2647 | "id": 248,
2648 | "legend": {
2649 | "alignAsTable": true,
2650 | "avg": true,
2651 | "current": true,
2652 | "max": true,
2653 | "min": true,
2654 | "rightSide": true,
2655 | "show": true,
2656 | "sort": "current",
2657 | "sortDesc": true,
2658 | "total": false,
2659 | "values": true
2660 | },
2661 | "lines": true,
2662 | "linewidth": 1,
2663 | "nullPointMode": "null",
2664 | "options": {
2665 | "dataLinks": []
2666 | },
2667 | "percentage": false,
2668 | "pointradius": 2,
2669 | "points": false,
2670 | "renderer": "flot",
2671 | "seriesOverrides": [
2672 | {
2673 | "alias": "total",
2674 | "color": "#FF7383"
2675 | }
2676 | ],
2677 | "spaceLength": 10,
2678 | "stack": false,
2679 | "steppedLine": false,
2680 | "targets": [
2681 | {
2682 | "expr": "elasticsearch_indices_segment_doc_values_memory_bytes_total{cluster=\"$cluster\",index=\"$index\"}",
2683 | "legendFormat": "doc_values",
2684 | "refId": "A"
2685 | },
2686 | {
2687 | "expr": "elasticsearch_indices_segment_fields_memory_bytes_total{cluster=\"$cluster\",index=\"$index\"}",
2688 | "legendFormat": "fields",
2689 | "refId": "B"
2690 | },
2691 | {
2692 | "expr": "elasticsearch_indices_segment_fixed_bit_set_memory_bytes_total{cluster=\"$cluster\",index=\"$index\"}",
2693 | "legendFormat": "fixed_bit_set",
2694 | "refId": "C"
2695 | },
2696 | {
2697 | "expr": "elasticsearch_indices_segment_index_writer_memory_bytes_total{cluster=\"$cluster\",index=\"$index\"}",
2698 | "legendFormat": "index_writer",
2699 | "refId": "D"
2700 | },
2701 | {
2702 | "expr": "elasticsearch_indices_segment_norms_memory_bytes_total{cluster=\"$cluster\",index=\"$index\"}",
2703 | "legendFormat": "norms",
2704 | "refId": "E"
2705 | },
2706 | {
2707 | "expr": "elasticsearch_indices_segment_points_memory_bytes_total{cluster=\"$cluster\",index=\"$index\"}",
2708 | "legendFormat": "points",
2709 | "refId": "F"
2710 | },
2711 | {
2712 | "expr": "elasticsearch_indices_segment_term_vectors_memory_total_bytes{cluster=\"$cluster\",index=\"$index\"}",
2713 | "legendFormat": "term_vectors",
2714 | "refId": "G"
2715 | },
2716 | {
2717 | "expr": "elasticsearch_indices_segment_version_map_memory_bytes_total{cluster=\"$cluster\",index=\"$index\"}",
2718 | "legendFormat": "version_map",
2719 | "refId": "H"
2720 | },
2721 | {
2722 | "expr": "elasticsearch_indices_segment_memory_bytes_total{cluster=\"$cluster\",index=\"$index\"}",
2723 | "legendFormat": "total",
2724 | "refId": "I"
2725 | }
2726 | ],
2727 | "thresholds": [],
2728 | "timeFrom": null,
2729 | "timeRegions": [],
2730 | "timeShift": null,
2731 | "title": "Segment Memory",
2732 | "tooltip": {
2733 | "shared": true,
2734 | "sort": 2,
2735 | "value_type": "individual"
2736 | },
2737 | "type": "graph",
2738 | "xaxis": {
2739 | "buckets": null,
2740 | "mode": "time",
2741 | "name": null,
2742 | "show": true,
2743 | "values": []
2744 | },
2745 | "yaxes": [
2746 | {
2747 | "format": "bytes",
2748 | "label": null,
2749 | "logBase": 1,
2750 | "max": null,
2751 | "min": "0",
2752 | "show": true
2753 | },
2754 | {
2755 | "format": "short",
2756 | "label": null,
2757 | "logBase": 1,
2758 | "max": null,
2759 | "min": null,
2760 | "show": true
2761 | }
2762 | ],
2763 | "yaxis": {
2764 | "align": false,
2765 | "alignLevel": null
2766 | }
2767 | },
2768 | {
2769 | "collapsed": false,
2770 | "gridPos": {
2771 | "h": 1,
2772 | "w": 24,
2773 | "x": 0,
2774 | "y": 76
2775 | },
2776 | "id": 103,
2777 | "panels": [],
2778 | "repeat": null,
2779 | "title": "Documents",
2780 | "type": "row"
2781 | },
2782 | {
2783 | "aliasColors": {},
2784 | "bars": false,
2785 | "dashLength": 10,
2786 | "dashes": false,
2787 | "datasource": "${DS_PROMETHEUS}",
2788 | "description": "Count of documents with only primary shards on all nodes",
2789 | "fill": 0,
2790 | "fillGradient": 0,
2791 | "gridPos": {
2792 | "h": 6,
2793 | "w": 8,
2794 | "x": 0,
2795 | "y": 77
2796 | },
2797 | "id": 75,
2798 | "legend": {
2799 | "alignAsTable": false,
2800 | "avg": false,
2801 | "current": false,
2802 | "max": false,
2803 | "min": false,
2804 | "rightSide": false,
2805 | "show": true,
2806 | "sort": "current",
2807 | "sortDesc": true,
2808 | "total": false,
2809 | "values": false
2810 | },
2811 | "lines": true,
2812 | "linewidth": 1,
2813 | "links": [],
2814 | "nullPointMode": "null",
2815 | "options": {
2816 | "dataLinks": []
2817 | },
2818 | "percentage": false,
2819 | "pointradius": 5,
2820 | "points": false,
2821 | "renderer": "flot",
2822 | "seriesOverrides": [],
2823 | "spaceLength": 10,
2824 | "stack": false,
2825 | "steppedLine": false,
2826 | "targets": [
2827 | {
2828 | "expr": "elasticsearch_indices_docs_primary{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}",
2829 | "format": "time_series",
2830 | "intervalFactor": 1,
2831 | "legendFormat": "{{index}}",
2832 | "refId": "A"
2833 | }
2834 | ],
2835 | "thresholds": [],
2836 | "timeFrom": null,
2837 | "timeRegions": [],
2838 | "timeShift": null,
2839 | "title": "Documents (Primary Shards)",
2840 | "tooltip": {
2841 | "shared": true,
2842 | "sort": 2,
2843 | "value_type": "individual"
2844 | },
2845 | "type": "graph",
2846 | "xaxis": {
2847 | "buckets": null,
2848 | "mode": "time",
2849 | "name": null,
2850 | "show": true,
2851 | "values": []
2852 | },
2853 | "yaxes": [
2854 | {
2855 | "decimals": 0,
2856 | "format": "locale",
2857 | "label": null,
2858 | "logBase": 1,
2859 | "max": null,
2860 | "min": null,
2861 | "show": true
2862 | },
2863 | {
2864 | "format": "short",
2865 | "label": null,
2866 | "logBase": 1,
2867 | "max": null,
2868 | "min": null,
2869 | "show": false
2870 | }
2871 | ],
2872 | "yaxis": {
2873 | "align": false,
2874 | "alignLevel": null
2875 | }
2876 | },
2877 | {
2878 | "aliasColors": {},
2879 | "bars": false,
2880 | "dashLength": 10,
2881 | "dashes": false,
2882 | "datasource": "${DS_PROMETHEUS}",
2883 | "description": "",
2884 | "fill": 0,
2885 | "fillGradient": 0,
2886 | "gridPos": {
2887 | "h": 6,
2888 | "w": 8,
2889 | "x": 8,
2890 | "y": 77
2891 | },
2892 | "id": 243,
2893 | "legend": {
2894 | "alignAsTable": false,
2895 | "avg": false,
2896 | "current": false,
2897 | "max": false,
2898 | "min": false,
2899 | "rightSide": false,
2900 | "show": true,
2901 | "sort": "current",
2902 | "sortDesc": true,
2903 | "total": false,
2904 | "values": false
2905 | },
2906 | "lines": true,
2907 | "linewidth": 1,
2908 | "links": [],
2909 | "nullPointMode": "null",
2910 | "options": {
2911 | "dataLinks": []
2912 | },
2913 | "percentage": false,
2914 | "pointradius": 5,
2915 | "points": false,
2916 | "renderer": "flot",
2917 | "seriesOverrides": [],
2918 | "spaceLength": 10,
2919 | "stack": false,
2920 | "steppedLine": false,
2921 | "targets": [
2922 | {
2923 | "expr": "rate(elasticsearch_indices_docs_primary{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
2924 | "format": "time_series",
2925 | "intervalFactor": 1,
2926 | "legendFormat": "{{index}}",
2927 | "refId": "A"
2928 | }
2929 | ],
2930 | "thresholds": [],
2931 | "timeFrom": null,
2932 | "timeRegions": [],
2933 | "timeShift": null,
2934 | "title": "Documents Rate (Primary Shards)",
2935 | "tooltip": {
2936 | "shared": true,
2937 | "sort": 2,
2938 | "value_type": "individual"
2939 | },
2940 | "type": "graph",
2941 | "xaxis": {
2942 | "buckets": null,
2943 | "mode": "time",
2944 | "name": null,
2945 | "show": true,
2946 | "values": []
2947 | },
2948 | "yaxes": [
2949 | {
2950 | "decimals": 0,
2951 | "format": "locale",
2952 | "label": null,
2953 | "logBase": 1,
2954 | "max": null,
2955 | "min": null,
2956 | "show": true
2957 | },
2958 | {
2959 | "format": "short",
2960 | "label": null,
2961 | "logBase": 1,
2962 | "max": null,
2963 | "min": null,
2964 | "show": false
2965 | }
2966 | ],
2967 | "yaxis": {
2968 | "align": false,
2969 | "alignLevel": null
2970 | }
2971 | },
2972 | {
2973 | "aliasColors": {},
2974 | "bars": false,
2975 | "dashLength": 10,
2976 | "dashes": false,
2977 | "datasource": "${DS_PROMETHEUS}",
2978 | "fill": 0,
2979 | "fillGradient": 0,
2980 | "gridPos": {
2981 | "h": 6,
2982 | "w": 8,
2983 | "x": 16,
2984 | "y": 77
2985 | },
2986 | "id": 83,
2987 | "legend": {
2988 | "alignAsTable": false,
2989 | "avg": false,
2990 | "current": false,
2991 | "max": false,
2992 | "min": false,
2993 | "rightSide": false,
2994 | "show": true,
2995 | "sort": "current",
2996 | "sortDesc": true,
2997 | "total": false,
2998 | "values": false
2999 | },
3000 | "lines": true,
3001 | "linewidth": 1,
3002 | "links": [],
3003 | "nullPointMode": "null",
3004 | "options": {
3005 | "dataLinks": []
3006 | },
3007 | "percentage": false,
3008 | "pointradius": 5,
3009 | "points": false,
3010 | "renderer": "flot",
3011 | "seriesOverrides": [],
3012 | "spaceLength": 10,
3013 | "stack": false,
3014 | "steppedLine": false,
3015 | "targets": [
3016 | {
3017 | "expr": "elasticsearch_indices_store_size_bytes_primary{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}",
3018 | "format": "time_series",
3019 | "intervalFactor": 1,
3020 | "legendFormat": "{{index}}",
3021 | "refId": "A"
3022 | }
3023 | ],
3024 | "thresholds": [],
3025 | "timeFrom": null,
3026 | "timeRegions": [],
3027 | "timeShift": null,
3028 | "title": "Total size of stored index data (Primary Shards)",
3029 | "tooltip": {
3030 | "shared": true,
3031 | "sort": 2,
3032 | "value_type": "individual"
3033 | },
3034 | "type": "graph",
3035 | "xaxis": {
3036 | "buckets": null,
3037 | "mode": "time",
3038 | "name": null,
3039 | "show": true,
3040 | "values": []
3041 | },
3042 | "yaxes": [
3043 | {
3044 | "decimals": 2,
3045 | "format": "bytes",
3046 | "label": null,
3047 | "logBase": 1,
3048 | "max": null,
3049 | "min": null,
3050 | "show": true
3051 | },
3052 | {
3053 | "format": "short",
3054 | "label": null,
3055 | "logBase": 1,
3056 | "max": null,
3057 | "min": null,
3058 | "show": false
3059 | }
3060 | ],
3061 | "yaxis": {
3062 | "align": false,
3063 | "alignLevel": null
3064 | }
3065 | },
3066 | {
3067 | "aliasColors": {},
3068 | "bars": false,
3069 | "dashLength": 10,
3070 | "dashes": false,
3071 | "datasource": "${DS_PROMETHEUS}",
3072 | "description": "Count of documents with all shards on all nodes",
3073 | "fill": 0,
3074 | "fillGradient": 0,
3075 | "gridPos": {
3076 | "h": 6,
3077 | "w": 8,
3078 | "x": 0,
3079 | "y": 83
3080 | },
3081 | "id": 131,
3082 | "legend": {
3083 | "alignAsTable": false,
3084 | "avg": false,
3085 | "current": false,
3086 | "max": false,
3087 | "min": false,
3088 | "rightSide": false,
3089 | "show": true,
3090 | "sort": "current",
3091 | "sortDesc": true,
3092 | "total": false,
3093 | "values": false
3094 | },
3095 | "lines": true,
3096 | "linewidth": 1,
3097 | "links": [],
3098 | "nullPointMode": "null",
3099 | "options": {
3100 | "dataLinks": []
3101 | },
3102 | "percentage": false,
3103 | "pointradius": 5,
3104 | "points": false,
3105 | "renderer": "flot",
3106 | "seriesOverrides": [],
3107 | "spaceLength": 10,
3108 | "stack": false,
3109 | "steppedLine": false,
3110 | "targets": [
3111 | {
3112 | "expr": "elasticsearch_indices_docs_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}",
3113 | "format": "time_series",
3114 | "intervalFactor": 1,
3115 | "legendFormat": "{{index}}",
3116 | "refId": "A"
3117 | }
3118 | ],
3119 | "thresholds": [],
3120 | "timeFrom": null,
3121 | "timeRegions": [],
3122 | "timeShift": null,
3123 | "title": "Documents (All Shards)",
3124 | "tooltip": {
3125 | "shared": true,
3126 | "sort": 2,
3127 | "value_type": "individual"
3128 | },
3129 | "type": "graph",
3130 | "xaxis": {
3131 | "buckets": null,
3132 | "mode": "time",
3133 | "name": null,
3134 | "show": true,
3135 | "values": []
3136 | },
3137 | "yaxes": [
3138 | {
3139 | "decimals": 0,
3140 | "format": "locale",
3141 | "label": null,
3142 | "logBase": 1,
3143 | "max": null,
3144 | "min": null,
3145 | "show": true
3146 | },
3147 | {
3148 | "format": "short",
3149 | "label": null,
3150 | "logBase": 1,
3151 | "max": null,
3152 | "min": null,
3153 | "show": false
3154 | }
3155 | ],
3156 | "yaxis": {
3157 | "align": false,
3158 | "alignLevel": null
3159 | }
3160 | },
3161 | {
3162 | "aliasColors": {},
3163 | "bars": false,
3164 | "dashLength": 10,
3165 | "dashes": false,
3166 | "datasource": "${DS_PROMETHEUS}",
3167 | "description": "Count of documents with all shards on all nodes",
3168 | "fill": 0,
3169 | "fillGradient": 0,
3170 | "gridPos": {
3171 | "h": 6,
3172 | "w": 8,
3173 | "x": 8,
3174 | "y": 83
3175 | },
3176 | "id": 244,
3177 | "legend": {
3178 | "alignAsTable": false,
3179 | "avg": false,
3180 | "current": false,
3181 | "max": false,
3182 | "min": false,
3183 | "rightSide": false,
3184 | "show": true,
3185 | "sort": "current",
3186 | "sortDesc": true,
3187 | "total": false,
3188 | "values": false
3189 | },
3190 | "lines": true,
3191 | "linewidth": 1,
3192 | "links": [],
3193 | "nullPointMode": "null",
3194 | "options": {
3195 | "dataLinks": []
3196 | },
3197 | "percentage": false,
3198 | "pointradius": 5,
3199 | "points": false,
3200 | "renderer": "flot",
3201 | "seriesOverrides": [],
3202 | "spaceLength": 10,
3203 | "stack": false,
3204 | "steppedLine": false,
3205 | "targets": [
3206 | {
3207 | "expr": "rate(elasticsearch_indices_docs_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}[$interval])",
3208 | "format": "time_series",
3209 | "intervalFactor": 1,
3210 | "legendFormat": "{{index}}",
3211 | "refId": "A"
3212 | }
3213 | ],
3214 | "thresholds": [],
3215 | "timeFrom": null,
3216 | "timeRegions": [],
3217 | "timeShift": null,
3218 | "title": "Documents Rate (All Shards)",
3219 | "tooltip": {
3220 | "shared": true,
3221 | "sort": 2,
3222 | "value_type": "individual"
3223 | },
3224 | "type": "graph",
3225 | "xaxis": {
3226 | "buckets": null,
3227 | "mode": "time",
3228 | "name": null,
3229 | "show": true,
3230 | "values": []
3231 | },
3232 | "yaxes": [
3233 | {
3234 | "decimals": 0,
3235 | "format": "locale",
3236 | "label": null,
3237 | "logBase": 1,
3238 | "max": null,
3239 | "min": null,
3240 | "show": true
3241 | },
3242 | {
3243 | "format": "short",
3244 | "label": null,
3245 | "logBase": 1,
3246 | "max": null,
3247 | "min": null,
3248 | "show": false
3249 | }
3250 | ],
3251 | "yaxis": {
3252 | "align": false,
3253 | "alignLevel": null
3254 | }
3255 | },
3256 | {
3257 | "aliasColors": {},
3258 | "bars": false,
3259 | "dashLength": 10,
3260 | "dashes": false,
3261 | "datasource": "${DS_PROMETHEUS}",
3262 | "fill": 0,
3263 | "fillGradient": 0,
3264 | "gridPos": {
3265 | "h": 6,
3266 | "w": 8,
3267 | "x": 16,
3268 | "y": 83
3269 | },
3270 | "id": 117,
3271 | "legend": {
3272 | "alignAsTable": false,
3273 | "avg": false,
3274 | "current": false,
3275 | "max": false,
3276 | "min": false,
3277 | "rightSide": false,
3278 | "show": true,
3279 | "sort": "current",
3280 | "sortDesc": true,
3281 | "total": false,
3282 | "values": false
3283 | },
3284 | "lines": true,
3285 | "linewidth": 1,
3286 | "links": [],
3287 | "nullPointMode": "null",
3288 | "options": {
3289 | "dataLinks": []
3290 | },
3291 | "percentage": false,
3292 | "pointradius": 5,
3293 | "points": false,
3294 | "renderer": "flot",
3295 | "seriesOverrides": [],
3296 | "spaceLength": 10,
3297 | "stack": false,
3298 | "steppedLine": false,
3299 | "targets": [
3300 | {
3301 | "expr": "elasticsearch_indices_store_size_bytes_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}",
3302 | "format": "time_series",
3303 | "intervalFactor": 1,
3304 | "legendFormat": "{{index}}",
3305 | "refId": "A"
3306 | }
3307 | ],
3308 | "thresholds": [],
3309 | "timeFrom": null,
3310 | "timeRegions": [],
3311 | "timeShift": null,
3312 | "title": "Total size of stored index data (All Shards)",
3313 | "tooltip": {
3314 | "shared": true,
3315 | "sort": 2,
3316 | "value_type": "individual"
3317 | },
3318 | "type": "graph",
3319 | "xaxis": {
3320 | "buckets": null,
3321 | "mode": "time",
3322 | "name": null,
3323 | "show": true,
3324 | "values": []
3325 | },
3326 | "yaxes": [
3327 | {
3328 | "decimals": 2,
3329 | "format": "bytes",
3330 | "label": null,
3331 | "logBase": 1,
3332 | "max": null,
3333 | "min": null,
3334 | "show": true
3335 | },
3336 | {
3337 | "format": "short",
3338 | "label": null,
3339 | "logBase": 1,
3340 | "max": null,
3341 | "min": null,
3342 | "show": false
3343 | }
3344 | ],
3345 | "yaxis": {
3346 | "align": false,
3347 | "alignLevel": null
3348 | }
3349 | },
3350 | {
3351 | "collapsed": true,
3352 | "gridPos": {
3353 | "h": 1,
3354 | "w": 24,
3355 | "x": 0,
3356 | "y": 89
3357 | },
3358 | "id": 253,
3359 | "panels": [
3360 | {
3361 | "aliasColors": {},
3362 | "bars": false,
3363 | "dashLength": 10,
3364 | "dashes": false,
3365 | "datasource": "${DS_PROMETHEUS}",
3366 | "description": "Total refresh index\n\n***Refreshing*** *is scheduled to flush new docs to disk for making them searchable. Default is `1s`, therefore Elasticsearch is `near-real time`*",
3367 | "fill": 0,
3368 | "fillGradient": 0,
3369 | "gridPos": {
3370 | "h": 6,
3371 | "w": 8,
3372 | "x": 0,
3373 | "y": 90
3374 | },
3375 | "id": 251,
3376 | "legend": {
3377 | "alignAsTable": false,
3378 | "avg": false,
3379 | "current": false,
3380 | "max": false,
3381 | "min": false,
3382 | "rightSide": false,
3383 | "show": true,
3384 | "sort": "current",
3385 | "sortDesc": true,
3386 | "total": false,
3387 | "values": false
3388 | },
3389 | "lines": true,
3390 | "linewidth": 1,
3391 | "links": [],
3392 | "nullPointMode": "null",
3393 | "options": {
3394 | "dataLinks": []
3395 | },
3396 | "percentage": false,
3397 | "pointradius": 5,
3398 | "points": false,
3399 | "renderer": "flot",
3400 | "seriesOverrides": [],
3401 | "spaceLength": 10,
3402 | "stack": false,
3403 | "steppedLine": false,
3404 | "targets": [
3405 | {
3406 | "expr": "elasticsearch_index_stats_refresh_total{instance=~\"$instance\",cluster=\"$cluster\",index=~\"$index\"}",
3407 | "format": "time_series",
3408 | "intervalFactor": 1,
3409 | "legendFormat": "{{index}}",
3410 | "refId": "A"
3411 | }
3412 | ],
3413 | "thresholds": [],
3414 | "timeFrom": null,
3415 | "timeRegions": [],
3416 | "timeShift": null,
3417 | "title": "Refresh Total",
3418 | "tooltip": {
3419 | "shared": true,
3420 | "sort": 2,
3421 | "value_type": "individual"
3422 | },
3423 | "type": "graph",
3424 | "xaxis": {
3425 | "buckets": null,
3426 | "mode": "time",
3427 | "name": null,
3428 | "show": true,
3429 | "values": []
3430 | },
3431 | "yaxes": [
3432 | {
3433 | "decimals": null,
3434 | "format": "locale",
3435 | "label": null,
3436 | "logBase": 1,
3437 | "max": null,
3438 | "min": null,
3439 | "show": true
3440 | },
3441 | {
3442 | "format": "short",
3443 | "label": null,
3444 | "logBase": 1,
3445 | "max": null,
3446 | "min": null,
3447 | "show": false
3448 | }
3449 | ],
3450 | "yaxis": {
3451 | "align": false,
3452 | "alignLevel": null
3453 | }
3454 | },
3455 | {
3456 | "aliasColors": {},
3457 | "bars": false,
3458 | "dashLength": 10,
3459 | "dashes": false,
3460 | "datasource": "${DS_PROMETHEUS}",
3461 | "fill": 0,
3462 | "fillGradient": 0,
3463 | "gridPos": {
3464 | "h": 6,
3465 | "w": 8,
3466 | "x": 8,
3467 | "y": 90
3468 | },
3469 | "id": 250,
3470 | "legend": {
3471 | "alignAsTable": false,
3472 | "avg": false,
3473 | "current": false,
3474 | "max": false,
3475 | "min": false,
3476 | "rightSide": false,
3477 | "show": true,
3478 | "sort": "current",
3479 | "sortDesc": true,
3480 | "total": false,
3481 | "values": false
3482 | },
3483 | "lines": true,
3484 | "linewidth": 1,
3485 | "nullPointMode": "null",
3486 | "options": {
3487 | "dataLinks": []
3488 | },
3489 | "percentage": false,
3490 | "pointradius": 2,
3491 | "points": false,
3492 | "renderer": "flot",
3493 | "seriesOverrides": [],
3494 | "spaceLength": 10,
3495 | "stack": false,
3496 | "steppedLine": false,
3497 | "targets": [
3498 | {
3499 | "expr": "elasticsearch_indices_segment_count_primary{cluster=\"$cluster\",index=\"$index\"}",
3500 | "legendFormat": "segments - primary shards",
3501 | "refId": "A"
3502 | },
3503 | {
3504 | "expr": "elasticsearch_indices_segment_count_total{cluster=\"$cluster\",index=\"$index\"}",
3505 | "legendFormat": "segments - all shards",
3506 | "refId": "B"
3507 | }
3508 | ],
3509 | "thresholds": [],
3510 | "timeFrom": null,
3511 | "timeRegions": [],
3512 | "timeShift": null,
3513 | "title": "Segments changes",
3514 | "tooltip": {
3515 | "shared": true,
3516 | "sort": 2,
3517 | "value_type": "individual"
3518 | },
3519 | "type": "graph",
3520 | "xaxis": {
3521 | "buckets": null,
3522 | "mode": "time",
3523 | "name": null,
3524 | "show": true,
3525 | "values": []
3526 | },
3527 | "yaxes": [
3528 | {
3529 | "format": "locale",
3530 | "label": null,
3531 | "logBase": 1,
3532 | "max": null,
3533 | "min": "0",
3534 | "show": true
3535 | },
3536 | {
3537 | "format": "short",
3538 | "label": null,
3539 | "logBase": 1,
3540 | "max": null,
3541 | "min": null,
3542 | "show": true
3543 | }
3544 | ],
3545 | "yaxis": {
3546 | "align": false,
3547 | "alignLevel": null
3548 | }
3549 | }
3550 | ],
3551 | "title": "Misc",
3552 | "type": "row"
3553 | }
3554 | ],
3555 | "refresh": "1m",
3556 | "schemaVersion": 20,
3557 | "style": "dark",
3558 | "tags": [
3559 | "elasticsearch",
3560 | "es-cluster-index"
3561 | ],
3562 | "templating": {
3563 | "list": [
3564 | {
3565 | "allValue": null,
3566 | "current": {
3567 | "selected": false,
3568 | "text": "",
3569 | "value": ""
3570 | },
3571 | "datasource": "${DS_PROMETHEUS}",
3572 | "definition": "",
3573 | "hide": 0,
3574 | "includeAll": false,
3575 | "label": "Cluster",
3576 | "multi": false,
3577 | "name": "cluster",
3578 | "options": [],
3579 | "query": "label_values(elasticsearch_indices_docs,cluster)",
3580 | "refresh": 1,
3581 | "regex": "",
3582 | "skipUrlSync": false,
3583 | "sort": 1,
3584 | "tagValuesQuery": null,
3585 | "tags": [],
3586 | "tagsQuery": null,
3587 | "type": "query",
3588 | "useTags": false
3589 | },
3590 | {
3591 | "allValue": null,
3592 | "current": {
3593 | "text": "All",
3594 | "value": [
3595 | "$__all"
3596 | ]
3597 | },
3598 | "datasource": "${DS_PROMETHEUS}",
3599 | "definition": "label_values(elasticsearch_indices_docs{instance=\"$instance\",cluster=\"$cluster\", name!=\"\"},name)",
3600 | "hide": 0,
3601 | "includeAll": true,
3602 | "label": "Node name",
3603 | "multi": true,
3604 | "name": "name",
3605 | "options": [],
3606 | "query": "label_values(elasticsearch_indices_docs{instance=\"$instance\",cluster=\"$cluster\", name!=\"\"},name)",
3607 | "refresh": 1,
3608 | "regex": "",
3609 | "skipUrlSync": false,
3610 | "sort": 1,
3611 | "tagValuesQuery": null,
3612 | "tags": [],
3613 | "tagsQuery": null,
3614 | "type": "query",
3615 | "useTags": false
3616 | },
3617 | {
3618 | "allValue": null,
3619 | "current": {
3620 | "text": "",
3621 | "value": ""
3622 | },
3623 | "datasource": "${DS_PROMETHEUS}",
3624 | "definition": "",
3625 | "hide": 2,
3626 | "includeAll": false,
3627 | "label": "Source of metrics",
3628 | "multi": false,
3629 | "name": "instance",
3630 | "options": [],
3631 | "query": "label_values(elasticsearch_indices_docs{cluster=\"$cluster\", name!=\"\"},instance)",
3632 | "refresh": 1,
3633 | "regex": "",
3634 | "skipUrlSync": false,
3635 | "sort": 1,
3636 | "tagValuesQuery": null,
3637 | "tags": [],
3638 | "tagsQuery": null,
3639 | "type": "query",
3640 | "useTags": false
3641 | },
3642 | {
3643 | "allValue": null,
3644 | "current": {
3645 | "selected": true,
3646 | "text": "text-2020.09.w1",
3647 | "value": "text-2020.09.w1"
3648 | },
3649 | "datasource": "${DS_PROMETHEUS}",
3650 | "definition": "label_values(elasticsearch_index_stats_get_total{instance=\"$instance\",cluster=\"$cluster\"},index)",
3651 | "hide": 0,
3652 | "includeAll": false,
3653 | "label": "Index",
3654 | "multi": false,
3655 | "name": "index",
3656 | "options": [],
3657 | "query": "label_values(elasticsearch_index_stats_get_total{instance=\"$instance\",cluster=\"$cluster\"},index)",
3658 | "refresh": 1,
3659 | "regex": "",
3660 | "skipUrlSync": false,
3661 | "sort": 2,
3662 | "tagValuesQuery": "",
3663 | "tags": [],
3664 | "tagsQuery": "",
3665 | "type": "query",
3666 | "useTags": false
3667 | },
3668 | {
3669 | "auto": true,
3670 | "auto_count": 30,
3671 | "auto_min": "10s",
3672 | "current": {
3673 | "text": "5m",
3674 | "value": "5m"
3675 | },
3676 | "hide": 2,
3677 | "label": "Rate Interval",
3678 | "name": "interval",
3679 | "options": [
3680 | {
3681 | "selected": false,
3682 | "text": "auto",
3683 | "value": "$__auto_interval_interval"
3684 | },
3685 | {
3686 | "selected": true,
3687 | "text": "5m",
3688 | "value": "5m"
3689 | },
3690 | {
3691 | "selected": false,
3692 | "text": "10m",
3693 | "value": "10m"
3694 | },
3695 | {
3696 | "selected": false,
3697 | "text": "30m",
3698 | "value": "30m"
3699 | },
3700 | {
3701 | "selected": false,
3702 | "text": "1h",
3703 | "value": "1h"
3704 | },
3705 | {
3706 | "selected": false,
3707 | "text": "6h",
3708 | "value": "6h"
3709 | },
3710 | {
3711 | "selected": false,
3712 | "text": "12h",
3713 | "value": "12h"
3714 | },
3715 | {
3716 | "selected": false,
3717 | "text": "1d",
3718 | "value": "1d"
3719 | },
3720 | {
3721 | "selected": false,
3722 | "text": "7d",
3723 | "value": "7d"
3724 | },
3725 | {
3726 | "selected": false,
3727 | "text": "14d",
3728 | "value": "14d"
3729 | },
3730 | {
3731 | "selected": false,
3732 | "text": "30d",
3733 | "value": "30d"
3734 | }
3735 | ],
3736 | "query": "5m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
3737 | "refresh": 2,
3738 | "skipUrlSync": false,
3739 | "type": "interval"
3740 | }
3741 | ]
3742 | },
3743 | "time": {
3744 | "from": "now-6h",
3745 | "to": "now"
3746 | },
3747 | "timepicker": {
3748 | "refresh_intervals": [
3749 | "1s",
3750 | "5s",
3751 | "10s",
3752 | "30s",
3753 | "1m",
3754 | "5m",
3755 | "15m",
3756 | "30m",
3757 | "1h",
3758 | "2h",
3759 | "1d"
3760 | ],
3761 | "time_options": [
3762 | "5m",
3763 | "15m",
3764 | "1h",
3765 | "6h",
3766 | "12h",
3767 | "24h",
3768 | "2d",
3769 | "7d",
3770 | "30d"
3771 | ]
3772 | },
3773 | "timezone": "",
3774 | "title": "Elasticsearch - Index Stats",
3775 | "uid": "20df6f4b4c2a4325801033905306f834",
3776 | "version": 1
3777 | }
--------------------------------------------------------------------------------