Grafana dashboards for Zammad

How to build support dashboards in Grafana on Zammad's Elasticsearch index with a read-only account, an index kept off the public network, and a clear view of what Zammad supports for third-party tools.

On this page

Grafana dashboards for Zammad: what the connection reads and why it matters

A support lead who wants queue, SLA and workload views in Grafana without giving a dashboard tool access to live tickets can meet that goal by connecting Grafana to the Elasticsearch index that Zammad maintains, using a read-only account. This is a third-party build, so your team or your partner owns the data source, the queries, the dashboards and their upkeep, and Zammad's application database stays outside the dashboard tool's reach. Zammad uses Elasticsearch for faster search, its reporting features and searching email attachment content. The index is optional, but Zammad's software requirements describe it as strongly recommended, so check whether your instance already runs one before designing anything around it.

Before you build, confirm two things against the exact Zammad version you run. First, confirm which attributes are written to the index and how they are named, because the index serves Zammad's own search and reporting, not a documented reporting API for outside tools. Second, confirm the vendor's current position on third-party access to that index, since support boundaries for direct queries may differ from support for the Zammad application itself. Also confirm which Grafana edition you run. The available data source and authentication options depend on that edition, and the Grafana authentication documentation lists SAML and team sync as Enterprise or Grafana Cloud features, so plan your login model around what your edition actually provides.

Ask for the read-only account, the list of indexed attributes and the vendor's written position before any dashboard work is scoped. Those three answers determine whether the metrics you want (open tickets by group, first response times, escalations and agent load) can be computed from the index alone, or whether some of them need to come from a separate reporting path. A quote for this work should name the Zammad version, the Elasticsearch version and the Grafana edition, since each one changes the queries, the access model and the testing effort.

What you need in place before building Grafana dashboards on Zammad

Grafana dashboards for Zammad depend on a stack that already works: a supported Zammad release, a healthy search index, and a Grafana installation that reaches that index on a narrow path. Each card below is a decision or check to settle before any panel is built, because gaps in one layer show up as wrong or missing data in another.

A supported Zammad release

Start from a Zammad release that is still receiving fixes. The releases page lists Zammad 7.2 (released 23 September 2026) with security releases 7.2.1 and 7.2.2, and it also shipped security release 6.5.5 for the 6.5 line. Confirm the version your instance runs today, because field names and index contents can change between lines. Dashboards built against one version should be retested after each upgrade.

Zammad releases

Healthy Elasticsearch index

Zammad uses Elasticsearch for search, reporting and attachment content, and it is optional but strongly recommended. Grafana can only chart what is indexed, so confirm that the index exists, has been populated from existing tickets, and stays healthy under normal load. Check the Elasticsearch version against Elastic's current release lines and end-of-maintenance dates before you choose it, since the 8.x line reaches end of maintenance before the 9.x line does.

9.x maintenance ends
Oct 15, 2027
Elastic EOL dates

Zammad base stack on current versions

The dashboard data comes from Zammad's own database, so PostgreSQL and Redis must meet the documented minimums. Zammad stores its content in PostgreSQL 15 or newer and requires Redis 7 or newer for realtime websocket communication. Confirm both versions in your environment, and confirm that Memcached is in place if you run several Zammad instances or cluster nodes, since that affects which instance keeps the index in sync.

Zammad software requirements

Production Grafana database

A single Grafana instance for a small team can run on its default SQLite database, but the Grafana installation docs say SQLite does not scale for production. If the dashboards will be shared widely or run highly available, plan MySQL 8.0 or later or PostgreSQL 12 or later for Grafana's own configuration. Keep this database separate from the Zammad database and from the Elasticsearch data, so that a Grafana change cannot affect ticket data.

Grafana install docs

Network paths limited to the index

Grafana should reach Elasticsearch over a single, documented path, and nothing else in the Zammad stack should be reachable from the Grafana network. Decide where Grafana runs, which subnet and port it uses to query the index, and how that path is allowed through firewalls and load balancers. The index should not be exposed to the public network, and you should confirm that the Zammad application and database remain on their own segment.

A named dashboard owner

Assign one person or team to own the dashboards, the Grafana service account, and the decision to change any indexed field. Someone must confirm when the Zammad index is rebuilt, when Elasticsearch or Zammad is upgraded, and when a panel stops matching agent-facing numbers in the Zammad interface. Without a named owner, dashboards drift from the helpdesk's own SLA and reporting definitions, and no one is responsible for correcting them.

How Grafana reaches the Zammad search index

The diagram starts with agents and customers who reach Zammad over HTTPS through the reverse proxy, the only part of the design exposed to the public network. Zammad writes ticket data to PostgreSQL, uses Redis for realtime websocket traffic and keeps the Elasticsearch index inside the trust boundary. Grafana queries that index with a read-only account over a private path, and Grafana users sign in to Grafana itself. Check that the index accepts no connections from the public edge, that Grafana's account cannot write, and that Grafana's own authentication is enforced before any dashboard loads.

Grafana reads the Zammad index through a read-only path while the index stays off the public edge.

Configuring Grafana against the Zammad index in order

This sequence connects Grafana to a read-only view of the Zammad search index, proves the numbers match what agents see in Zammad, and then captures the configuration as code so the dashboards can be reviewed and rebuilt. Each step ends with a check you can run before moving on.

  1. Confirm the index name and fields on a copy

    Before touching production, take a copy of the Zammad instance and its Elasticsearch index, or use a staging system built from a recent backup. Your data or reporting lead lists the index name and the ticket attributes the dashboards will need, such as state, priority, group, owner, created and closed times. Check the field names against the copy by running a simple query in the Elasticsearch API. The step is done when the list of agreed fields exists in writing and each one is present in the copy.

  2. Create a dedicated read-only search user

    Create a separate Elasticsearch user for Grafana, with a role that grants read privileges only on the Zammad index and nothing else. Do not reuse the account Zammad uses to write to the index. Confirm which security features your Elasticsearch subscription includes, since role-based access control and TLS depend on your license tier, and confirm that to the vendor. The check: sign in as this user, run a search on the Zammad index (it should succeed), then attempt a write such as indexing a test document. The write must be refused.

  3. Add the Elasticsearch data source over TLS

    In Grafana, add an Elasticsearch data source that points to the index endpoint using HTTPS, with the read-only account's credentials and the correct certificate authority for your internal CA. Set the index name to the Zammad index and the time field to the attribute you agreed on in the first step. Keep the credentials in Grafana's secure settings rather than in plain configuration text. The check: use the data source test button and confirm it reports success, and confirm that an HTTP connection without TLS is rejected.

  4. Reconcile test queries with the Zammad UI

    Choose a small set of known answers, for example the number of open tickets in one group on a given day, and count the same tickets in Zammad using an overview or report that your team already trusts. Run the matching query in Grafana's Explore view with the same filters. Differences usually come from time zones, the state names used in the index, or tickets that were updated after the snapshot. The step is complete when at least one query returns the exact ticket count shown in Zammad for each agreed question.

  5. Build panels for agreed questions

    Start with three to five panels that answer questions the support leads already ask, such as ticket volume by day, open tickets by group, and tickets by priority. Use the reconciled queries as the basis for each panel and label each one with its definition, including which states count as open. Avoid building panels for questions nobody has agreed on, because each extra panel is one more query to review and maintain. The check: open the dashboard, change the time range, and confirm the totals still match the Zammad UI for the same period.

  6. Provision the data source and dashboards as code

    Export the data source definition and dashboard JSON, remove any credentials, and store the files in a version-controlled repository. Load them with Grafana's provisioning mechanism so the configuration is applied at startup, and reference the credentials through environment variables or your secrets store. Your team reviews changes through the normal merge process before they reach the staging Grafana. The check: rebuild a clean Grafana instance from the repository alone, then confirm the data source test passes and the panels return the same numbers as before.

Mapping ticket attributes to dashboard panels

This table pairs each support question a dashboard should answer with the Zammad attribute behind it, the index field to check, and a suggested panel type. Field names differ between Zammad versions, so confirm each one against the index on your instance before building panels. Treat time-based metrics as provisional until they match Zammad's own reporting, since leadership will see these numbers as the official view.

Dashboard questionZammad attribute to confirmField in the indexPanel type
Ticket state: how many are open, pending or closed now?Ticket state, including pending statesConfirm the state field name and its stored values on your versionStat or bar gauge
Which group carries the load?Group assigned to the ticketConfirm the group reference and whether the group name or ID is indexedBar chart by group
Who owns open work?Owner (assigned agent)Confirm the owner field and how unassigned tickets are storedTable with count per owner
How is urgent work distributed?PriorityConfirm the priority field and its label valuesPie or stacked bar
Is volume rising or falling?Created timeConfirm the created timestamp field used for date histogramsTime series
Where is the backlog aging?Updated time and state togetherConfirm which timestamp reflects the last state change before using it for agingTime series or heatmap
How fast do agents first respond?First response timeConfirm whether this value is stored on the ticket or must be derived from articlesStat with median or percentile, plus time series
How long do tickets take to close?Close timeConfirm the close timestamp and how reopened tickets are countedHistogram of durations
Are SLA targets being met?SLA-related fields such as escalation and breach statusConfirm which SLA fields are indexed and their names on your version, or whether SLA logic must be recomputedStat for breach count, table for overdue tickets

Keeping the search index off the public network

The Elasticsearch index should sit on a private network that only Zammad and Grafana can reach. Zammad uses Elasticsearch for faster search, reporting features and searching the content of email attachments, so the index holds ticket bodies, customer details and attachment text in a form that can be queried directly. Anyone who can reach the index endpoint can read that data without passing through Zammad's own role checks. Treat the index as a database of ticket content, not as a metrics store, and place it in the same trust zone as PostgreSQL and the Zammad application servers.

Plan the controls in layers. Network segmentation comes first: allow the Zammad application nodes and the Grafana server to reach the index port, and deny everything else, including the public internet and general staff networks. Encrypt the index endpoint with TLS, and confirm which certificate authority and certificate lifecycle your organization will use. Authentication is the second layer. The Basic tier security features, including TLS, the file and native user realms and role-based access control, were free from Elasticsearch 6.8.0 and 7.1.0 according to Elastic's announcement, but single sign-on, LDAP and Active Directory authentication, and field- and document-level security remained in paid tiers. Field- and document-level security is the control that limits what a Grafana reader can see inside the index, so decide early whether a read-only dashboard user needs it.

The exact settings depend on the Elastic license tier and the version you choose. Confirm with Elastic which features your tier includes for your version, and check the Elastic end of life dates before you commit to a release line. Do not assume OpenSearch works in the same way: confirm Zammad's supported search backend and version with Zammad before choosing OpenSearch, because wire compatibility with Elasticsearch 7.10 does not by itself establish that Zammad's search integration and the Grafana data source behave the same way. Record the decision, the tier and the tested versions in your deployment notes so that the network and access review can be repeated after upgrades.

Read-only access and hardening for the index and Grafana

Dashboards built on the Zammad search index expose ticket data, so the controls sit in three places: the index account, the Grafana instance and the people who can change dashboards or export data. Each card below is a specific action to confirm before the dashboards go to agents or managers.

Create a read-only index role

Define a role on the Elasticsearch cluster that grants read and search privileges on the Zammad indices only, with no write, delete, index management or cluster administration rights. Confirm the exact privilege names in the Elasticsearch security documentation for your version, then test the role by attempting a delete through the API and confirming it is refused. Map the role to a single dedicated user for the Grafana data source.

Elastic subscriptions

Give Grafana its own index account

Create a separate index user for Grafana and never reuse the credentials Zammad uses to reach Elasticsearch. Store the password in Grafana's secret handling rather than in dashboard JSON or the provisioning files, and rotate it on a schedule you set. If the account is ever shared, you cannot tell from the index logs which system ran a query, so keep the two identities apart from the start.

Grafana provisioning docs

Plan Grafana sign-in around edition limits

The Grafana authentication docs list LDAP, generic OAuth, Entra ID, Okta, GitHub, GitLab and Google OAuth for all editions, but SAML, team sync, active sync and SCIM are limited to Grafana Enterprise and Grafana Cloud. If your identity provider speaks SAML and you run open-source Grafana, plan an OAuth or OpenID Connect bridge or accept local accounts. Confirm the edition and provider combination before you promise single sign-on to managers.

Grafana authentication docs

Apply the Grafana security hardening settings

Set cookies to secure and SameSite, enable a Content Security Policy and Trusted Types, and hide the Grafana version from unauthenticated users. Require authentication on the metrics endpoint so that instance internals are not visible to anyone who can reach the URL. Check each setting against the hardening guide for your Grafana version, then confirm by fetching the login page and metrics endpoint without a session.

Security hardening docs

Keep the index off the public network

Place the Elasticsearch endpoint on a private network reachable only from Zammad, Grafana and your administration hosts. Grafana's data source should connect over that private path, and no public DNS record or load balancer should expose the index port. Test from an outside network that the port does not respond, and record the firewall rule in the same change request as the dashboard rollout.

Review dashboards and exports in Git

Store data sources and dashboards as provisioning files in a Git repository, and require a review before any change reaches the production Grafana. Provisioned dashboards can be locked against edits in the UI, which keeps ad hoc changes from widening what a panel exposes. Once a quarter, compare the list of users who can edit dashboards and export panel data against your current staff roster, and remove anyone who has changed roles.

Provisioning docs

What Zammad will and will not support for third-party dashboards

Before you rely on direct reads from the Elasticsearch index, confirm with Zammad what its documentation and support terms say about that access. Zammad documents Elasticsearch as optional but strongly recommended for faster search, reporting and attachment content search. Documentation that describes the index as a search backend is not the same as a statement that external tools may query it directly, and a support contract does not automatically cover a third-party dashboard that reads Zammad's internal storage. Ask for the answer in writing and keep it with your architecture record.

  • Documented access: Find out whether Zammad documents direct read access to the index, and whether it names any supported way for external tools to read ticket data.
  • Index schema stability: Ask whether Zammad guarantees attribute names and mappings across minor and security releases, and what notice it gives before changes.
  • Support scope for your product tier: Confirm which support plan you hold and whether it covers questions about a third-party Grafana setup. Compare the response times on the official pricing page with your needs.
  • Escalation path: Ask how an index-related problem found after an upgrade is reported and whether Zammad will reproduce it without a third-party component in the path.

Check these answers against the current Zammad documentation and against any statement Zammad gives you directly.

Common Grafana to Zammad index failures and their fixes

This table maps the failures most often seen when Grafana reads Zammad's Elasticsearch index to their likely causes and first fixes. Read each row as a checklist: confirm the symptom, rule out the cause in your own environment, then apply the fix and retest the panel against the Zammad interface.

SymptomLikely causeFix
Panels go empty after a Zammad upgradeThe upgrade changed or renamed fields in the index that the dashboard queries, so saved queries match nothingCompare the field names in the current index mapping with the queries in each panel, update the queries, then confirm the release notes for the Zammad version you moved to before the next upgrade
Counts differ from the Zammad UIIndex refresh lag or timing: the dashboard reads the index before recent tickets or updates are indexed, or the time range uses a different timestamp than the UIAlign the panel time field and time range with the UI logic, allow for refresh delay when comparing live numbers, and compare closed-period totals instead of the last few minutes
Certificate errors on the index connectionGrafana does not trust the certificate chain presented by the Elasticsearch endpoint, often an internal CA or a hostname mismatchAdd the internal CA certificate to the Grafana data source TLS settings, match the hostname in the certificate, and avoid disabling verification in production
The read-only role is refused on a needed queryThe role grants read access to the index but not the specific index pattern, field, or operation the panel uses, such as aggregations or a search on a restricted fieldWiden the role only for the index and fields the dashboard needs, test each panel under that role, and keep write and cluster-level privileges out of the Grafana user
Duplicate alert notifications in Grafana HATwo or more Grafana nodes evaluate the same alert rules and send notifications, because the documented additional alerting setup for high availability was not appliedApply the high availability alerting configuration from the Grafana documentation, confirm only one notification path fires per alert in a test, and check that Grafana Live limitations do not affect the dashboards
Dashboards break after an index rebuild or Elasticsearch moveA rebuild can recreate indices with new names or mappings, and an Elasticsearch version outside a supported line may no longer match the Grafana data source or Zammad's requirementsPin dashboards to stable index aliases where Zammad supports them, re-test panels after every rebuild, and check the Elastic end-of-life dates and Zammad's supported versions before moving Elasticsearch

Questions buyers ask before building Zammad dashboards in Grafana

Can our team build Grafana dashboards on Zammad's search index ourselves?

Yes, if the team has the right skills in place. You need someone who can write Elasticsearch queries and understand index mappings, a Grafana owner who can configure data sources and design dashboards, and someone who knows Zammad's data model well enough to choose the correct fields for tickets, states, groups and SLA-related attributes. Basic Linux and networking knowledge is needed to keep the index on a private network. A small set of dashboards on a stable index is often manageable in-house. The work grows with the number of dashboards, the number of people who need access and how many metrics must be defended to managers. Compare that effort against your own staff time, and ask any partner for the written scope before work starts.

What makes a Zammad dashboard project take longer?

The biggest driver is the number of dashboards and the metric definitions behind them, because each metric needs an agreed query, a check against known ticket data and a named owner. Elasticsearch and Grafana editions come next. Grafana's SAML and team sync features are Enterprise only, so the edition decides which login and team mapping designs are possible. SSO adds identity configuration on both the Zammad and Grafana sides. High availability requires two or more active-active Grafana servers behind a load balancer sharing a MySQL or PostgreSQL database, and alerting needs extra configuration to avoid duplicate notifications. Provisioning as code adds upfront work but simplifies later changes. Finally, how well the index schema is documented for your running Zammad version determines how much reverse engineering is needed. Ask the quote to size each driver separately.

Does Zammad support Grafana dashboards that read its Elasticsearch index?

Confirm this in writing before you build. Zammad describes Elasticsearch as optional but strongly recommended, with uses in faster search, reporting and searching email attachment content. Check Zammad's current documentation and support terms for whether direct reads by Grafana are supported on your version and deployment type, and which index structures are stable enough to depend on. Also check the release notes for each Zammad upgrade, since index changes can break queries without any visible error in the helpdesk. If Zammad does not support the setup, the team carries that risk and needs its own upgrade test before each release. Either way, plan a read-only data path, version-pinned queries and a regression check for each dashboard.

What do we need from our side for a Grafana project?

Four roles need named owners before work starts. An index owner manages the Elasticsearch cluster, access, snapshots and index health. A Zammad admin knows the ticket model, custom objects and what changes between upgrades. A Grafana owner manages data sources, folders, users and provisioning files. A metric owner from support leadership signs off each definition. Metric definitions are the item most often underestimated. Decide what counts as a first response, what a breach means, whether a ticket is open during pending states and which business calendar applies. Without agreed definitions, dashboards will disagree with the Zammad interface and with each other. Expect to name these people in the written scope and to reserve review time for each dashboard before it reaches managers.

Do Grafana licensing terms change the dashboard design?

Yes, mainly for login and team mapping. Grafana's authentication documentation lists LDAP, generic OAuth, Entra ID, Okta, GitHub, GitLab, Google OAuth, auth proxy and JWT as available in all editions. SAML, team sync, active sync and SCIM provisioning are available only in Grafana Enterprise and Grafana Cloud. If your identity provider supports only SAML, or if you want team-based folder access driven from your identity system, the Enterprise edition belongs in the design, or you should use an OAuth or OIDC path where your provider supports it. Grafana, Loki and Tempo moved to AGPLv3 on April 20, 2021, so ask your legal team whether your planned use, including any modifications you host for others, fits those terms.

Can OpenSearch replace Elasticsearch for Zammad dashboards?

Not as a drop-in assumption. OpenSearch is a fork of open source Elasticsearch 7.10 and is wire-compatible with Elasticsearch 7.10, according to its FAQ. Whether it can serve as Zammad's search backend depends on the Zammad version and the search versions it supports, so confirm that with Zammad first. Then test the Grafana data source you plan to use against the exact OpenSearch version, because compatibility with a Grafana plugin is a separate question from wire compatibility. Also review the licensing position. Elastic's default distribution uses the Elastic License 2.0, and its AGPLv3 option was added in September 2024. Compare the security features you need, including SSO and field-level security, across both products before you choose.

Should the Zammad search index be reachable from the public network?

No. Keep the index on a private network that only the Zammad application servers and the Grafana servers can reach, and do not publish the Elasticsearch port to the internet or to user networks. Put Grafana behind your reverse proxy with SSO, and give it a service account with read-only access to the specific indices its dashboards need. Elastic has offered TLS, file and native user authentication, and role-based access control in its Basic tier since May 2019, while SSO, LDAP and field- and document-level security sit in paid tiers. Plan your access design around those edition differences and confirm which features your subscription includes. Also confirm that Grafana's metrics endpoint and dashboards are not reachable anonymously, using the Grafana security hardening guidance.

How DeployOpen scopes and supports Grafana dashboards for Zammad

DeployOpen treats Grafana dashboards for Zammad as a scoped piece of work: first agreeing which support questions the dashboards must answer, then building read-only access to the Zammad search index inside your own infrastructure. Each step is written down so your security, operations and support leads can review the access path and the dashboards before anything goes live.

How we scope

  • Engagements are fixed-scope, with the dashboards, data sources and deliverables agreed in writing before work starts.
  • Scope lists the support questions each dashboard answers, such as backlog age, first response and escalation counts.
  • Scope confirms where Grafana and the Elasticsearch index run, and that the index stays off the public network.
  • Scope states which third-party integration points are supported and which are left to your own team.

How we build

  • We create a read-only Elasticsearch user limited to the indexes and fields the dashboards need.
  • We connect Grafana to the index, then build panels against the indexed Zammad attributes you agreed to expose.
  • We test queries against a non-production copy of Zammad to confirm the figures match what agents see in the application.
  • We keep data source and dashboard definitions in files so changes can be reviewed and repeated.

How we hand over

  • You receive the dashboard definitions, data source configuration and a written description of the access model.
  • Documentation records the network path, the credentials used and how to rotate them.
  • Your team walks through each panel with us so the figures can be checked against Zammad reports and overviews.
  • Handover notes state which Zammad behaviors the dashboards depend on, so upgrades can be checked against them.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, agreed separately from the initial scope.
  • Retainer work can cover re-testing dashboards after Zammad or Elasticsearch upgrades, and after Grafana version changes.
  • We can review index access and network exposure again whenever the Zammad or Grafana deployment changes.
  • Questions about what Zammad itself supports for third-party tools should be confirmed with Zammad before scope is signed.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.