![]() In both cases, you can interpolate the value from the field with the $' # Careful about the double "$$" because of env var expansion If the link is internal, this input serves as a query for the target data source. Sets the full link URL if the link is external. Sets the name of the field used by the data link. You can optionally configure the two Logs parameters Message field name and Level field name to determine which fields the data source uses for log messages and log levels when visualizing logs in Explore.įor example, if you’re using a default setup of Filebeat for shipping logs to Elasticsearch, set:ĭata links create a link from a specified field that can be accessed in Explore’s logs view.Įach data link configuration consists of: Parameter Note: Frozen indices are deprecated in Elasticsearch since v7.14. When the “X-Pack enabled” setting is active and the configured Elasticsearch version is higher than 6.6.0, you can configure Grafana to not ignore frozen indices when performing search requests. Toggle this to enable X-Pack-specific features and options, which provide the query editor with additional aggregations, such as Rate and Top Metrics. You can also override this setting in a dashboard panel under its data source options. We recommend setting this value to match your Elasticsearch write frequency.įor example, set this to 1m if Elasticsearch writes data every minute. This value must be formatted as a number followed by a valid time identifier: Identifier The Min time interval setting defines a lower limit for the auto group-by time interval. You can use a time pattern, such as YYYY.MM.DD, or a wildcard for the index name. Use the index settings to specify a default for the time field and your Elasticsearch index’s name. Index settings Elasticsearch data source details ![]() ![]() These options are described in the sections below. You must also configure settings specific to the Elasticsearch data source. Use Server (default) or the data source won’t work. Sets the HTTP protocol, IP, and port of your Elasticsearch server.ĭon’t modify Access. Sets the data source that’s pre-selected for new panels. Sets the name you use to refer to the data source in panels and queries. Set the data source’s basic configuration options: Name The Settings tab of the data source is displayed. Under Your connections, click Data sources. To configure basic settings for the data source, complete the following steps: This data source supports these versions of Elasticsearch: Once you’ve added the Elasticsearch data source, you can configure it so that your Grafana instance’s users can create queries in its query editor when they build dashboards and use Explore. Only users with the organization administrator role can add data sources.Īdministrators can also configure the data source via YAML with Grafana’s provisioning system. This topic explains configuring and querying specific to the Elasticsearch data source.įor general documentation on querying data sources in Grafana, see Query and transform data.įor instructions on how to add a data source to Grafana, refer to the administration documentation. You can make many types of queries to visualize logs or metrics stored in Elasticsearch, and annotate graphs with log events stored in Elasticsearch. Grafana ships with built-in support for Elasticsearch. Enterprise Open source Elasticsearch data source
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |