Scheduled reports from OpenSearch Dashboards

How to plan OpenSearch Dashboards report definitions, schedules, permissions and automation so dashboards reach the right people in PDF, PNG or CSV form.

On this page

When teams need scheduled reports from OpenSearch Dashboards

Choose scheduled reporting when stakeholders need the same dashboard, visualization or saved search delivered on a regular rhythm, without anyone logging in to OpenSearch Dashboards to look at it. Typical readers are operations managers who want a weekly service health view, finance or compliance staff who receive a monthly log volume summary, or executives who review a fixed set of security metrics. OpenSearch Dashboards creates PNG, PDF and CSV reports from report definitions. Each definition sets the source, the output format, the time range and an optional schedule. Because the feature is part of the Dashboards software released under the Apache License, Version 2.0, you do not need a separate paid edition to use it.

Use scheduled reports when the audience is consistent and the content can be defined in advance. Use ad hoc exports when someone needs a one-time view of a question that came up today, because a report definition takes planning, naming and an owner. Before you build definitions, confirm with your own environment which roles can create and view them, who receives the output, and whether recipients need access to the underlying data. A PDF of a dashboard can expose the same information as the dashboard itself, so the report's distribution list is a data access decision, not only a convenience. Confirm the exact sharing and delivery options available in your Dashboards version against the OpenSearch reporting documentation before you commit to a process.

How a scheduled report moves from definition to recipient

A report definition names the source (a dashboard, visualization or saved search), the format (PNG, PDF or CSV), the time range and an optional schedule. When the schedule fires, Dashboards generates the file and delivers it to the reader. Permissions apply at two points: whoever creates the definition must be able to read the source, and the generated file reflects only what that user can see. The Reporting API and the reporting CLI can start a run outside the schedule, so check who holds those credentials.

Report definitions, triggers, generation and delivery, with permission and API entry points.

Report format and trigger options and when each fits

This table compares the PNG, PDF and CSV outputs and the on-demand and scheduled triggers, along with the interfaces that create them. Read each row for the fit and the main trade-off, then choose the combination that matches the audience and how often the report must run.

OptionBest fitMain trade-off
PNG reportVisual snapshot of one dashboard or visualization for quick sharingCaptures the rendered view only, so underlying rows are not available for analysis
PDF reportPaginated summary of a dashboard for stakeholders who read documentsLayout depends on the dashboard design, so confirm how panels render before relying on it
CSV reportSaved search results for analysts who need the underlying rowsContains raw data, so access to generated files must be governed like the source index
On-demand generationAd hoc investigation or a one-time export for a specific time rangeSomeone must remember to run it, and results are not repeated automatically
Scheduled report definitionRecurring delivery of the same source, format and time rangeEach definition needs an owner and periodic review as dashboards and indexes change
Dashboards UIIndividual users creating and reviewing reports interactivelyHarder to version or repeat across environments than definitions created through automation
Reporting API or reporting CLIAutomated creation across environments, or batch generation driven by a pipelineRequires credentials, scripting and tests, and access must be set up with the same care as the UI

Permissions that decide who can create and receive reports

Report access is decided in three places: who can build a report definition, who can see the generated files, and what data the underlying query can reach. Each of these needs its own role decision before the first schedule runs, because a report carries data out of Dashboards in a file that the Security plugin does not track the same way as a live view.

Who creates report definitions

A report definition names the source dashboard, visualization or saved search, the format, the time range and any schedule. Whoever can create one decides what data leaves Dashboards and how often. Limit creation to a small group of owners, and review who holds reporting permissions the same way you review admin roles. Confirm the exact reporting permission names in the security docs before writing roles, since they are not set out here.

Reporting docs

Who receives generated reports

Viewing a generated report is a separate question from creating its definition. Check who can open the report list and download files, and whether recipients need their own Dashboards access to the source data. A report saved as PDF or CSV can be forwarded outside the cluster, so the people who can read the output should match the people already allowed to see the underlying records.

Roles that scope the data

Report queries run as a user, so the OpenSearch Security plugin roles that user holds set the index patterns and data the report can read. A report built by a user with broad index access contains everything that user can see, even if the dashboard owner intended a narrower view. Map each reporting group to roles that cover only the indexes its report needs.

Document and field-level restrictions

Document-level and field-level security apply to the queries behind a report, so a restricted user gets a report with fewer rows or masked fields. Test this with a restricted account: generate the same report as an unrestricted user and as the restricted one, then compare the rows and columns in each file. Field masking should be checked the same way, because a masked field in the dashboard should also be masked in the CSV.

Dashboards tenants and shared views

Dashboards tenants separate saved objects such as dashboards, visualizations and saved searches between groups. A report definition that points to an object in a shared tenant can expose that object to people who can read the tenant, even when they could not create the report. Confirm which tenant each report source lives in and who holds access to that tenant before you schedule delivery.

Audit trail for report activity

Create, change and delete actions on report definitions and the generation of reports are things an auditor will ask about. Confirm with the Security plugin documentation whether these events appear in audit logs and which categories capture them. Keep the audit records outside the cluster that produced the reports, and set a review step so unexpected new definitions or new recipients are caught.

Setting up the first scheduled report step by step

This sequence takes a team from an unverified Dashboards setup to a scheduled report that recipients can open, with a tested output and a named owner. Each step ends with a check so that problems surface before the schedule runs for real audiences.

  1. Confirm the Dashboards version and reporting plugin

    The platform owner checks which OpenSearch and OpenSearch Dashboards versions are running, then confirms that the reporting plugin is installed and enabled in Dashboards. Compare the running version with the release line your organization maintains, since the reporting docs and features depend on the version in use. Confirm the reporting options appear in the Dashboards menu for a test user. Done when a saved dashboard offers PNG, PDF and CSV report creation without errors.

  2. Define the audience and data scope

    The owner of the report writes down who will receive it, which dashboards, visualizations or saved searches it covers, and which index patterns and fields it may expose. Check whether recipients should see all of the data or only a filtered slice, and whether the data includes sensitive fields that the role model must restrict. Record the time range the report should cover. Done when the scope is a short written note approved by the data owner and the security contact.

  3. Create a test report definition

    An engineer creates a report definition in the Reporting section of Dashboards that sets the source, output format, time range and layout. Start with a single dashboard and a non-sensitive index to keep the first test small. Save the definition without a schedule so that it can be run on demand. Done when the definition saves, appears in the report list, and generates a file when run manually.

  4. Check the generated output against the source

    Open the generated file and compare it with the live dashboard using the same time range and filters. Confirm that totals, labels, time zones and visualization titles match, and that panels missing data are rendered as expected. For CSV output, check row counts and column names against the saved search. Record any difference and fix the definition before continuing. Done when a reviewer signs off that the file matches the source for the agreed scope.

  5. Add the schedule

    Once the test output is correct, the engineer adds a schedule to the report definition, choosing the recurrence and the time range that each run should cover. Confirm that the schedule's time zone matches the audience's expectations and that the first run is set to a time when the cluster is not under heavy maintenance. Keep the manual run available for troubleshooting. Done when the schedule shows as active and a run has completed on the planned cadence.

  6. Confirm access for recipients

    The security owner verifies that each recipient can see the underlying data through their own roles, and that the report is not exposing documents or fields those roles should hide. Test with a representative user account rather than an administrator, because admin roles see more data. Confirm how report files are delivered and who can open them. Done when each recipient group has been tested and no unexpected data appears in the output.

  7. Record ownership and the review path

    The owner records the report name, scope, schedule, data sources, recipients and the person accountable for changes in the team's runbook or configuration repository. Note who approves changes to the query, the recipients and the schedule, and where the report definition is exported or backed up. Schedule a periodic check of the output with the data owner. Done when the runbook entry exists and a second team member can find and run the report without help.

Automating reports with the Reporting API and CLI

The Reporting API lets you generate reports outside the Dashboards interface. Your script or service sends a request that identifies the report definition or source, the format and the time range, then polls for the result and downloads the file. This path suits operators who already run automation in their own language and want full control over request flow, retries and where output is stored. Generation can be triggered outside the UI as the supplied documentation describes, so reports do not depend on someone opening a browser session.

  • Credentials: Create a dedicated service account with only the read permissions needed for the dashboards, visualizations or saved searches in scope. Avoid reusing an administrator login in scripts, and rotate the secret under your normal policy.
  • Permissions testing: Confirm the account can see the same objects a business user sees. A report that succeeds for an admin but fails for the service account often reflects a missing role mapping.
  • Version pinning: Record the Dashboards version your script was written against. Endpoint behavior can change between minor releases, so re-test after each upgrade before you update the client code.
  • Error handling: Treat timeouts, authentication failures and empty results as separate cases. Log the request identifier and retry only transient failures, so a bad time range does not loop forever.
  • Output handling: Write files to storage you control and set retention on them, since generated PDFs or CSVs may contain the same sensitive data as the source dashboard.

Before going live, check the exact endpoints and parameters for your release in the reporting documentation and run a test with a non-privileged account.

Security risks in reports that leave the cluster

A scheduled report copies data out of the cluster into files, mailboxes and shared locations that the search permissions do not follow. Each card below is a point where that copy can be read by someone who should not see it, and each one needs a decision before the first schedule runs.

Data exposure inside PDF and CSV files

A report is rendered with the access rights of the account that generates it, so a PDF or CSV can contain fields that the recipient could never query directly. Check which roles generate reports and compare them with the document-level and field-level security rules on the source indices. Field masking and field-level security protect the stored data, but a report built under a privileged account can still carry the unmasked values into a file. Review sample output before enabling delivery to a wider audience.

Reporting docs

Storage and retention of generated files

Generated reports are kept as files outside the index data, so they fall outside any index retention policy that a team has configured. Confirm where Dashboards stores finished reports, who can list or download them, and how long they remain. Decide whether generated files should be removed on a schedule, and whether the storage location is covered by the same backup and encryption controls as the cluster.

Credentials used by automation

A schedule or a script that calls the Reporting API or CLI runs under a stored identity, often a service account with broad read access. Give that identity only the roles needed for the named dashboards, store its password or key in a secrets manager, and rotate it on a planned cycle. Confirm how TLS is enforced for every call so that the credential does not travel in clear text between hosts.

Email and share destinations

Once a report is delivered by email or copied to a shared folder, OpenSearch controls no longer apply to the recipient's copy. Maintain an approved list of destinations, check that distribution lists are current, and confirm that the mail relay uses encrypted transport. Treat each recipient group as a data sharing decision that should be documented alongside the dashboard's access model.

Audit trails for report access

Investigating a leaked report requires knowing who created the definition, who ran it, and who received the output. Enable the Security plugin audit logs and confirm that they record the relevant actions for report activity in your version. Store the audit records outside the cluster they describe, so that an attacker with cluster access cannot alter them. Test that a report run can be traced to a user and a time.

Questions teams ask before scheduling OpenSearch reports

What drives the effort and cost of setting up scheduled reports?

The main driver is how many dashboards, saved searches and recipients need reports, and how many of them depend on the same access rules. Each report definition needs a source, a format (PNG, PDF or CSV), a time range and an optional schedule, so a small set of reports on one tenant is quick to define. Costs rise when reports must respect document-level or field-level security, when each team needs its own tenant view, or when reports feed automation through the Reporting API or the reporting CLI. Ask any partner to price the report inventory, the permission model and the automation separately, since each is a distinct line of work.

Can our team set up OpenSearch Dashboards reporting without outside help?

Yes, if your team already runs OpenSearch and understands its security model. Creating a report definition in OpenSearch Dashboards is a configuration task, and the OpenSearch reporting documentation covers the steps. Outside help is most useful where reports must meet a specific access model, where a fleet of recurring reports needs to be managed as code, or where you lack staff to test permissions across roles. A useful test is whether someone on your team can explain which users see which data in a generated PDF before the first schedule runs.

What does the work need from our team before we start?

Reporting depends on decisions that only your organization can make. You need named data owners who approve which dashboards and saved searches may be exported and who receives them. You need an access model that maps Security plugin roles to the people who will read reports, including any document-level or field-level restrictions that must carry into a CSV file. You also need a test cluster with representative indexes, so report output can be checked before production schedules are created. Without a test cluster, permission mistakes tend to surface only when a report reaches the wrong inbox.

How long does a first reporting rollout take?

The duration depends on scope, and no fixed figure applies to every environment. A rollout that covers a handful of dashboards for one team is mostly configuration and testing. A rollout across many tenants, with role mapping, data owner sign-off and automation through the Reporting API or CLI, takes longer because each part needs review. Ask for a timeline tied to a written list of reports, roles and output formats, and check whether it includes a test pass with real permissions and a cutover plan. Any timeline quoted without that list is not yet grounded in your environment.

How do scheduled reports behave during an OpenSearch Dashboards upgrade?

Reports are part of the Dashboards configuration, so they should be inventoried and tested as part of every upgrade. Before a version change, record each report definition, its schedule, its source and its recipients, and confirm that the report still renders the expected PNG, PDF or CSV output afterward. OpenSearch releases a new minor version about every eight weeks and keeps each version under maintenance for a limited period, so the upgrade cadence will be frequent enough to make this a routine check. Confirm the exact compatibility notes for your target version in the release documentation before you schedule the upgrade.

Does OpenSearch charge for scheduled reporting?

OpenSearch software is released under the Apache License, Version 2.0, and the OpenSearch FAQ does not describe any paid edition, so reporting is not a separately licensed feature. Your real costs are infrastructure to run the cluster and Dashboards, staff time to design and maintain reports, and any outside services you buy for scoping, testing or support. Those costs recur as report counts grow and as versions need upgrading. When you request a quote, ask for one-time setup work separated from recurring maintenance, and ask how report testing is handled after each upgrade.

What should we check when reports include sensitive data?

Start by listing which indexes feed each report and who is allowed to receive the output, because a PDF or CSV leaves the access controls of the cluster once it is sent. Confirm that the roles used to generate reports apply document-level and field-level restrictions, and test with a non-admin account. Also decide how report files are delivered and stored, and whether recipients outside the organization are allowed to receive them. Your compliance and security teams should review this before schedules go live, since a report is a copy of the data and needs the same handling rules as the source.

How DeployOpen scopes and supports OpenSearch reporting

DeployOpen plans, builds, tests and hands over scheduled reporting from OpenSearch Dashboards inside infrastructure you control. Each engagement starts with a written scope covering which dashboards, formats and recipients are in play, and the access model that governs who can create and receive reports.

How we scope

  • Inventory the dashboards, visualizations and saved searches that need PDF, PNG or CSV reports, and who owns each one.
  • Agree the report definitions, time ranges, schedules and recipients that will run in production before any build starts.
  • Map which roles may create, edit and share reports, and how those permissions align with your OpenSearch Security configuration.

How we build

  • Configure report definitions and schedules in OpenSearch Dashboards, checking output format and time range against the source data.
  • Set up any reporting automation through the Reporting API or the reporting CLI, with credentials handled under your secrets policy.
  • Test report generation for each dashboard, format and role, including reports that depend on filters or tenant-specific data.

How we hand over

  • Deliver written documentation of every report definition, schedule, owner, recipient list and permission rule in the environment.
  • Provide runbooks for creating new reports, rotating automation credentials and troubleshooting failed or late scheduled jobs.
  • Walk your operations and security teams through the configuration so they can review, change and audit reporting independently.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer, so reporting keeps working across OpenSearch releases.
  • Confirm with your team how report retention, output storage and distribution channels will be governed after go-live.
  • Review reporting permissions and automation access on a schedule agreed in the written scope, especially after role or identity changes.

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.