

SSL Certificate configuration, either by ‘file-path’ or ‘file-content’ ‘disable’, ‘require’, ‘verify-ca’ or ‘verify-full’ Maximum number of concurrent shard requests that each sub-search request executes per node Which field should be used to indicate the priority of the log message

Which field should be used as the log message nil(No Pattern), ‘Hourly’, ‘Daily’, ‘Weekly’, ‘Monthly’ or ‘Yearly’ Which field that should be used as timestamp UID of Alert Manager that manages Alert for this data source. Query parameters to add, as a URL-encoded string. Max number of series/tables that Grafana processes Lowest interval/step value that should be used for this data source. Prometheus, Elasticsearch, InfluxDB, MySQL, PostgreSQL and MSSQL Controls the server name used for certificate common name/subject alternative name verification. NameĮnable TLS authentication using client cert configured in secure json dataĬontrols whether a client verifies the server’s certificate chain and host name. Note: Data sources tagged with HTTP* communicate using the HTTP protocol, which includes all core data source plugins except MySQL, PostgreSQL, and MSSQL. To provision the rest of a data source’s settings, include them as a JSON blob in the jsonData field.Ĭommon settings in the built-in core data sources include: Since not all data sources have the same configuration settings, we include only the most common ones as fields. # Allows users to edit data sources from theįor provisioning examples of specific data sources, refer to that data source’s documentation. # Sets the database password, if necessary. # client key for encrypted authentication. # Fields to encrypt before storing in jsonData. # certificate configured in secureJsonData. # Enables TLS authentication using a client # Defines the Graphite service's version. # Fields to convert to JSON and store in jsonData. # Toggles whether the data source is pre-selected

Url: # Sets the database user, if necessary. # Sets the data source's URL, including the # If not specified, Grafana generates one. # data source in other parts of the configuration. # Some data sources are incompatible with any setting # proxy or direct (Server or Browser in the UI). # List of data sources to insert/update depending on what's # List of data sources to delete from the database. This example provisions a Graphite data source: # Configuration file version This prevents old configurations from overwriting newer ones if you have different versions of the datasource.yaml file that don’t define version numbers, and then restart instances at the same time. Grafana updates only data sources with the same or lower version number than specified in the config.
#Splunk subsearch timeout update
If you run multiple instances of Grafana, add a version number to each data source in the configuration and increase it when you update the configuration. Grafana deletes the data sources listed in deleteDatasources before adding or updating those in the datasources list. The configuration file can also list data sources to automatically delete, called deleteDatasources. If the data source already exists, Grafana reconfigures it to match the provisioned configuration file. You can manage data sources in Grafana by adding YAML configuration files in the provisioning/datasources directory.Įach config file can contain a list of datasources to add or update during startup. Note: Available in Grafana v5.0 and higher. Therefore, we heavily rely on the expertise of the community. Rather than spending time learning and creating scripts/manifests for each tool, we think our time is better spent making Grafana easier to provision. If you have a literal $ in your value and want to avoid interpolation, $$ can be used.Ĭurrently we do not provide any scripts/manifests for configuring Grafana. It is not available in the dashboard’s definition files just the dashboard provisioning Is either $ENV_VAR_NAME or $ and can be used only for values not for keys or bigger parts It is possible to use environment variable interpolation in all 3 provisioning configuration types. Init.d script using -config file parameter. Packages, then your configuration file is located at Note: If you have installed Grafana using the deb or rpm
