Skip to content

Commit

Permalink
feat(Logs in dashboards): Release note, minor doc updates
Browse files Browse the repository at this point in the history
For DOC-7960
  • Loading branch information
barbnewrelic committed May 27, 2022
1 parent 3852849 commit f886878
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 40 deletions.
15 changes: 11 additions & 4 deletions src/content/docs/logs/ui-data/use-logs-ui.mdx
Expand Up @@ -195,16 +195,23 @@ Here are a few examples of how you can use the Logs UI to get detailed informati

<Collapser
id="dashboard"
title="Add log volume chart to a dashboard."
title="Add log charts to a dashboard."
>
You can add log charts to a dashboard directly from the Logs UI.
From the **Logs** UI, you can add log data as a [table widget](/docs/query-your-data/explore-query-data/use-charts/chart-types/#widget-table) to a dashboard. You can also create log tables with the data explorer or the query builder in New Relic.

1. Go to **[one.newrelic.com](https://one.newrelic.com) > Logs**.
2. Select a saved view. Or, search for results you want to plot; for example, `service_name:"checkout service" "process failed"`.
3. Click **Add to dashboard**, then fill out the details to add to an existing or new dashboard.
3. Click **Add to dashboard**, then fill out the details to add the log chart as a table to an existing or new dashboard.


Then, from your dashboard you can:

* Use standard dashboard widget functions, such as copying, editing, deleting, etc.
* Click any log row to show details about it.
* Update your query to add more columns.
* Query log data from other available accounts, and add more charts (for example, as comparative data) to your dashboard.
* Click **Open in logs** to go directly to the **Logs** UI for additional troubleshooting.

You can also create charts with the data explorer or the query builder in New Relic.
</Collapser>

<Collapser
Expand Down
Expand Up @@ -618,52 +618,52 @@ This table contains all chart types. Whether a chart type is available for your
id="widget-table"
title="Table"
>
A table is the standard view for a set of values related to a specific attribute (for example, the count of all page views by user agent name). By default, all tables are sortable by any one column.
A table is the standard view for a set of values related to a specific attribute (for example, the count of all page views by user agent name, log details, etc.). By default, all tables are sortable by any one column.

If you are using the [`FACET`](/docs/insights/nrql-new-relic-query-language/nrql-reference/nrql-syntax-components-functions#sel-facet) clause, the results will normally be returned as a table.

Other features of tables:
You can use a table as a shortcut to other dashboards. If a table is faceted by attribute, selecting an entry takes you to an existing dashboard [filtered by that attribute](/docs/query-your-data/explore-query-data/dashboards/filter-new-relic-one-dashboards-facets/).

* You can use a table as a shortcut to other dashboards. If a table is faceted by attribute, selecting an entry takes you to an existing dashboard [filtered by that attribute](/docs/query-your-data/explore-query-data/dashboards/filter-new-relic-one-dashboards-facets/).
* You can export a table chart to a CSV file. Details on this functionality:
You can also export a table chart to a CSV file.

* If a filter is applied to a dashboard, the download will only include the subset of data based on the filter.
* If a specific fixed time range is selected, the CSV includes the data for that time period.
* If you query with multiple attributes, the export includes columns for all FACETs in the query.
* For charts with a time range dependent on the present moment (for example, `since 30 minutes ago`), the data in the CSV is generated from the present moment, not from when the chart was initially generated.
* If a filter is applied to a dashboard, the download will only include the subset of data based on the filter.
* If a specific fixed time range is selected, the CSV includes the data for that time period.
* If you query with multiple attributes, the export includes columns for all `FACET`s in the query.
* For charts with a time range dependent on the present moment (for example, `since 30 minutes ago`), the data in the CSV is generated from the present moment, not from when the chart was initially generated.

<img
title="An example table chart."
alt="A screenshot of an example table chart."
src={chartTable}
/>

<figcaption>
The table chart type, with its tabular format, works well for dashboards, as well as sharing the data for use in reports, for example.
</figcaption>
<img
title="An example table chart."
alt="A screenshot of an example table chart."
src={chartTable}
/>

<table>
<tbody>
<tr>
<td>
Use a table when you want to
</td>
<figcaption>
The table chart type, with its tabular format, works well for dashboards, as well as for sharing the data in reports.
</figcaption>

<td>
Create a text-compatible table consisting of your data. This table can be shared and used in reports or imported into spreadsheets, for example.
</td>
</tr>
<table>
<tbody>
<tr>
<td>
Use a table when you want to
</td>

<tr>
<td>
Avoid a table when you want to
</td>
<td>
Create a text-compatible table consisting of your data. This table can be shared and used in reports or imported into spreadsheets, for example.
</td>
</tr>

<td>
View your data in a graphical format.
</td>
</tr>
</tbody>
</table>
<tr>
<td>
Avoid a table when you want to
</td>

<td>
View your data in a graphical format.
</td>
</tr>
</tbody>
</table>
</Collapser>
</CollapserGroup>
@@ -0,0 +1,34 @@
---
subject: Logs
releaseDate: '2022-05-18'
version: '220518'
---


import logsDashboards from 'images/logs-dashboards-052722.png'

### Enhanced functionality for log tables in dashboards

We've made it even easier for you to explore your logs data as table widgets in dashboards. After you [create your dashboard](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/introduction-dashboards#dashboards-create), you can:

* Use standard dashboard widget functions, such as copying, editing, deleting, etc.
* Click any log row to show details about it.
* Update your query to add more columns.
* Query log data from other available accounts, and add more charts (for example, as comparative data) to your dashboard.
* Click **Open in logs** to go directly to the [**Logs** UI](/docs/logs/ui-data/use-logs-ui) for additional troubleshooting.

<img
title="Logs tables in dashboards"
alt="Screenshot of log tables in Dashboards UI"
src={logsDashboards}
/>

### APM logs in context available for Node.js

[APM logs in context](/docs/apm/new-relic-apm/getting-started/get-started-logs-context) is now available for Node.js! (It was also released earlier this month for Java, .NET, and Ruby.) For more information, see our [Node.js logs in context procedures](/docs/logs/logs-context/configure-logs-context-nodejs) for agent [v8.11.0 or higher](/docs/release-notes/agent-release-notes/nodejs-release-notes/).

If your APM agent doesn't support our automatic logs in context solution yet, you can continue to use our [manual logs in context solutions](/docs/logs/logs-context/logs-in-context/), and forward your logs via our infrastructure agent or supported third-party forwarder.

### Notes

To stay up to date the most recent fixes and enhancements, subscribe to our [Logs RSS feed](/docs/release-notes/logs-release-notes/).
Binary file added src/images/logs-dashboards-052722.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f886878

Please sign in to comment.