![]() If you specify the setting as true in the global section of the hierarchy, all visualizations will show a progress bar. However, if you specify the property as true for a specific visualization type, those visualizations will show progress bars. For example, if you don't define showProgressBar, the default behavior is that all visualizations will not show them. In the following example, there are various examples of how the defaults section and the global property can be used to override defaults. "query": "index=_internal \n| stats count"ĭashboard definition example with visualization defaults and overrides "query": "index=_internal \n| stats count", ![]() Since no refreshType option is set, the ds.search stanzas, along with all other data source types, will inherit the refreshType setting. However, because the data source type ds.search is also listed with a different time setting for refresh, all data source stanzas of that type will override the global refresh rate setting and respect the 5 minute refresh rate. Local settings will always override any of the same settings set in defaults.įor setting token defaults, see Setting tokens on a visualization click.įor example, the following code snippet from the defaults section uses the global field to set refresh and refreshType settings for all data sources. You can set them at the visualization or data source component level, within the stanza, without using the defaults section.You can set them in the defaults section without using the global designation, but instead, by data source type or visualization type.You can set them in the defaults section of the dashboard definition at the global level for all visualizations or all data sources and add individual exceptions.There are three ways to that you can set set the properties listed in Options you can use in the defaults section for your dashboard. If you declare an option in the defaults section for ds.search, for example, and have not set a refresh in the stanza, the default will apply to all such stanzas, including base searches and their respective chain searches. All options available for data sources can be declared in this section. Using defaults can save you time by only having to set a data source or visualization option in one place. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |