diff --git a/docs/README.md b/docs/README.md index ff0e68a2cb6..a2a7ae6cba4 100644 --- a/docs/README.md +++ b/docs/README.md @@ -33,6 +33,6 @@ Images are currently hosted in the grafana/website repo. ## Deploy changes to grafana.com -When a PR is merged to master with changes in the `docs` directory, those changes are automatically synched to the grafana/website repo on the `docs-grafana` branch. +When a PR is merged to master with changes in the `docs/sources` directory, those changes are automatically synched to the grafana/website repo and published to the staging site. -In order to make those changes live, open a PR in the website repo that merges the `docs-grafana` branch into `master`. Then follow the publishing guidelines in that repo. +Generally, someone from marketing will publish to production each day, so as long as the sync is successful your docs edits will be published. Alternatively, you can refer to [publishing to production](https://github.com/grafana/website#publishing-to-production-grafanacom) if you'd like to do it yourself. \ No newline at end of file diff --git a/docs/sources/features/datasources/loki.md b/docs/sources/features/datasources/loki.md index 402c9567bb3..c4f01a18297 100755 --- a/docs/sources/features/datasources/loki.md +++ b/docs/sources/features/datasources/loki.md @@ -38,10 +38,10 @@ Just add it as a data source and you are ready to query your log data in [Explor ### Derived fields -The Derived Fields configuration allows you to: +The Derived Fields configuration allows you to: -* Add fields parsed from the log message. -* Add a link that uses the value of the field. +* Add fields parsed from the log message. +* Add a link that uses the value of the field. You can use this functionality to link to your tracing backend directly from your logs, or link to a user profile page if a userId is present in the log line. These links appear in the [log details](/features/explore/#labels-and-parsed-fields). {{< docs-imagebox img="/img/docs/v65/loki_derived_fields.png" class="docs-image--no-shadow" caption="Screenshot of the derived fields configuration" >}} @@ -60,7 +60,7 @@ The new field with the link shown in log details: ## Querying Logs -Querying and displaying log data from Loki is available via [Explore]({{< relref "../explore" >}}), and with the [logs panel]({{< relref "../../panels/visualizations/logs-panel.md" >}}) in dashboards. Select the Loki data source, and then enter a [LogQL](https://github.com/grafana/loki/blob/master/docs/logql.md) query to display your logs. +Querying and displaying log data from Loki is available via [Explore]({{< relref "../explore" >}}), and with the [logs panel]({{< relref "../../panels/visualizations/logs-panel.md" >}}) in dashboards. Select the Loki data source, and then enter a [LogQL](https://grafana.com/docs/loki/latest/logql/) query to display your logs. ### Log Queries @@ -124,7 +124,7 @@ The following filter types are currently supported: * `|~` line matches regular expression. * `!~` line does not match regular expression. -> Note: For more details about LogQL, Loki's query language, refer to the [documentation](https://github.com/grafana/loki/blob/master/docs/logql.md) +> Note: For more details about LogQL, Loki's query language, refer to the [documentation](https://grafana.com/docs/loki/latest/logql/) ## Live tailing