Skip to content

Commit 95bd2e2

Browse files
Update logging-best-practices.mdx
Updated the info for better interpretation
1 parent fb938cf commit 95bd2e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/logs/get-started/logging-best-practices.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ For parsing logs we recommend that you:
140140

141141
* For common log searches, create and use <DNT>**Saved views**</DNT> in the UI. Create a search for your data and click <DNT>**+ Add Column**</DNT> to add additional attributes to the UI table. You can then move the columns around so that they appear in the order you want, then save it as a saved view with either private or public permissions. Configure the saved views to be public so that you and other users can easily run common searches with all relevant attribute data displayed. This is good practice for 3rd-party applications like apache, nginx, etc. so users can easily see those logs without searching.
142142

143-
* Use the [query builder](/docs/query-your-data/explore-query-data/query-builder/introduction-query-builder) to run searches using NRQL. The query builder allows you to use all the advanced functions available in NRQL, including querying logs across multiple accounts. When querying logs across multiple accounts, include `accountId() as accountId` in the NRQL query's `SELECT` statement to see the log's corresponding accountId.
143+
* Use the [query builder](/docs/query-your-data/explore-query-data/query-builder/introduction-query-builder) to run searches using NRQL, utilizing its advanced functions. To query logs from multiple accounts and identify them with their corresponding account IDs, include `accountId() as accountId` in the `SELECT` statement of your NRQL query.
144144

145145
* Create <InlinePopover type="dashboards"/> or use available [quickstart dashboards](https://newrelic.com/instant-observability) to answer common questions about your logs and to look at your log data over time in time series graphs. Create dashboards with multiple panels to slice and dice your log data in many different ways.
146146

0 commit comments

Comments
 (0)