|
| 1 | +--- |
| 2 | +title: Adding Notes and Dashboard Layout |
| 3 | +linkTitle: Notes and layout |
| 4 | +weight: 13 |
| 5 | +--- |
| 6 | + |
| 7 | +## 1. Adding Notes |
| 8 | + |
| 9 | +Often on dashboards it makes sense to place a short "instruction" pane that helps users of a dashboard. |
| 10 | + |
| 11 | +Lets add one now by clicking on the {{% labelbutton color="ui-button-blue" %}}New Text Note{{% /labelbutton %}} |
| 12 | + Button. |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | +This will open the notes editor. |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | +To allow you to add more then just text to you notes, Splunk is allowing you to use Markdown in these notes/panes. |
| 21 | +Markdown is a lightweight markup language for creating formatted text using plain-text often used in Webpages. |
| 22 | + |
| 23 | +This includes (but not limited to): |
| 24 | + |
| 25 | +* Headers. (in various sizes) |
| 26 | +* Emphasis styles. |
| 27 | +* Lists and Tables. |
| 28 | +* Links. These can be external webpages (for documentation for example) or directly to other Splunk IMT Dashboards |
| 29 | + |
| 30 | +Below is an example of above Markdown options you can use in your note. |
| 31 | + |
| 32 | +{{< tabpane >}} |
| 33 | +{{< tab header="Sample Markdown text" lang="markdown" >}} |
| 34 | + |
| 35 | +# h1 Big headings |
| 36 | + |
| 37 | +###### h6 To small headings |
| 38 | + |
| 39 | +##### Emphasis |
| 40 | + |
| 41 | +**This is bold text**, *This is italic text* , ~~Strikethrough~~ |
| 42 | + |
| 43 | +##### Lists |
| 44 | + |
| 45 | +Unordered |
| 46 | + |
| 47 | ++ Create a list by starting a line with `+`, `-`, or `*` |
| 48 | +- Sub-lists are made by indenting 2 spaces: |
| 49 | +- Marker character change forces new list start: |
| 50 | + * Ac tristique libero volutpat at |
| 51 | + + Facilisis in pretium nisl aliquet |
| 52 | +* Very easy! |
| 53 | + |
| 54 | +Ordered |
| 55 | + |
| 56 | +1. Lorem ipsum dolor sit amet |
| 57 | +2. Consectetur adipiscing elit |
| 58 | +3. Integer molestie lorem at massa |
| 59 | + |
| 60 | +##### Tables |
| 61 | + |
| 62 | +| Option | Description | |
| 63 | +| ------ | ----------- | |
| 64 | +| chart | path to data files to supply the data that will be passed into templates. | |
| 65 | +| engine | engine to be used for processing templates. Handlebars is the default. | |
| 66 | +| ext | extension to be used for dest files. | |
| 67 | + |
| 68 | +#### Links |
| 69 | + |
| 70 | +[link to webpage](https://www.splunk.com) |
| 71 | + |
| 72 | +[link to dashboard with title](https://app.eu0.signalfx.com/#/dashboard/EaJHrbPAEAA?groupId=EaJHgrsAIAA&configId=EaJHsHzAEAA "Link to the Sample chart Dashboard!") |
| 73 | +{{< /tab >}} |
| 74 | +{{< /tabpane >}} |
| 75 | + |
| 76 | +Copy the above by using the copy button and paste it in the *Edit* box. |
| 77 | +the preview will show you how it will look. |
| 78 | + |
| 79 | +--- |
| 80 | + |
| 81 | +## 2. Saving our chart |
| 82 | + |
| 83 | +Give the Note chart a name, in our example we used *Example text chart*, then press the {{< labelbutton >}}Save And Close{{< /labelbutton >}} Button. |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | +This will bring you back to you Dashboard, that now includes the note. |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | +--- |
| 92 | + |
| 93 | +## 3. Ordering & sizing of charts |
| 94 | + |
| 95 | +If you do not like the default order and sizes of your charts you can simply use window dragging technique to move and size them to the desired location. |
| 96 | + |
| 97 | +Grab the **top** border of a chart and you should see the mouse pointer change to a drag icon (see picture below). |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | +Now drag the **Latency vs Load** chart to sit between the **Latency History** Chart and the **Example text chart**. |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | +You can also resize windows by dragging from the left, right and bottom edges. |
| 106 | + |
| 107 | +As a last exercise reduce the width of the note chart to about a third of the other charts. The chart will automatically snap to one of the sizes it supports. Widen the 3 other charts to about a third of the Dashboard. Drag the notes to the right of the others and resize it to match it to the 3 others. |
| 108 | + |
| 109 | +Set the time to -1 h hour and you should have the following dashboard! |
| 110 | + |
| 111 | + |
| 112 | + |
| 113 | +On to Detectors! |
0 commit comments