# Customize a Log Table with Azion Plugin

import DocButton from '~/components/webkit/DocButton.vue';

With the Azion data source plugin on Grafana, you can customize your own dashboard to visualize the data you need.

<DocButton href="/en/documentation/products/guides/observe/integrate-grafana/" label="go to integrate with grafana guide" kind="secondary" target="_blank" size="medium" />

---

## Customizing a dashboard on Grafana

After [installing a Grafana instance locally](https://github.com/aziontech/grafana-plugin/blob/dev/README.md#install-azion-plugin-on-local-grafana-install-locally) on your machine and authorizing the Azion plugin, open it.

Follow the next steps:

1. On the left-side menu, click on **Dashboards**. The dashboard page opens.
2. Next to the search bar, click **New** > **New Dashboard**.
3. Select **Add visualization**.
4. On the second section of the page, below the preview, on **Data source** dropdown menu, select **Azion**.
5. On the code box, add the query you want to use.
    - See the [GraphQL API guides](/en/documentation/devtools/graphql-api/overview/) for a few examples of queries.

The five fields below can be used to complete your setup depending on what type of visualization you're using and what you want to see on your graphs:

- **Data path**: add the value **Events**.
- **Time path**: inform a timestamp. The field is dot-delimited.
- **Time format**: inform a time format in [moment.js format](https://momentjs.com/docs/#/parsing/string/).
- **Group by**: use the field you want to use to group your data aggregation.
- **Alias by**: use to change the value and name of a field shown in the legend.

6. On the right side of the page, on the **Visualization** list, select the visualization type you want to use.
    - To analyze raw logs with a large amount of data or top X queries, it's recommended to use the **Table** type. You can combine it with other type of charts and graphs.
7. On the upper-right corner, click **Save** to apply your configurations.

---

## Read more on Grafana

- [Create and use dashboards](https://grafana.com/docs/grafana/latest/dashboards/)
- [Grafana dashboard best practices](https://grafana.com/docs/grafana/latest/dashboards/build-dashboards/best-practices/)
- [Add and manage variables](https://grafana.com/docs/grafana/latest/dashboards/variables/)
- [Configuring time series in ISO8601](https://momentjs.com/docs/#/parsing/string/)
- [Configuring time series in custom format](https://momentjs.com/docs/#/parsing/string-format/)
- [Visualizations](https://grafana.com/docs/grafana/latest/panels-visualizations/visualizations/)
- [Configuring a legend](https://grafana.com/docs/grafana/latest/panels-visualizations/visualizations/configure-legend/)
- [Configuring value mappings](https://grafana.com/docs/grafana/latest/panels-visualizations/configure-value-mappings/)

---

### Trademarks

[Grafana Cloud](https://grafana.com/products/cloud/) is a trademark of Grafana Labs. We are not affiliated with, endorsed or sponsored by Grafana Labs or its affiliates.