The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

Scheduling an Infected Hosts Trend Report using the CLI

Prev Next

Use the commands in this section to schedule a consolidated Infected Hosts Trend report.

Note

Before you can schedule an Infected Hosts Trend report to be generated and sent through email, ensure that the SMTP server or domain is configured. You must also specify the email address of the report recipient. For details about configuring these report settings, see the Network Security System Administration Guide.

To schedule an Infected Hosts Trend report for automatic generation and email distribution:
  1. Enable the CLI configuration mode.

    hostname > enable
    hostname # configure terminal
  2. Specify how often to run the report.

    • To update daily:

      hostname (config) # report schedule run daily at <hh:mm>

      where <hh:mm> specifies the time to start based on a 24-hour clock.

    • To update hourly:

      hostname (config) # report schedule run hourly at <mm>
    • To update monthly:

      hostname (config) # report schedule run monthly on {<date> | end of month} at <hh:mm>

      where:

      <date> is the day of the month when the update should occur.

      <hh:mm> specifies the time to start based on a 24-hour clock.

    • To update weekly:

      hostname (config) # report schedule run weekly every <day> at <hh:mm>

      where:

      <day> is the day of the week the when update should occur.

      <hh:mm> specifies the time to start based on a 24-hour clock.

  3. Specify an Infected Hosts Trend report.

    hostname (config) # report schedule run <frequency> type infected_hosts_trend
  4. Write a report in .csv format.

    hostname (config) # report schedule run <frequency> type infected_hosts_trend report_format csv
  5. Specify the time period for the report.

    • To specify for the past week:

      hostname (config) # report schedule run <frequency> type infected_hosts_trend report_format csv time_frame past_week
    • To specify for the past month:

      hostname (config) # report schedule run <frequency> type infected_hosts_trend report_format csv time_frame past_month
    • To specify for the past three months:

      hostname (config) # report schedule run <frequency> type infected_hosts_trend report_format csv time_frame past_3_months
  6. Specify the delivery method for the report. The default delivery is email.

    • To deliver the report through email:

      hostname (config) # report schedule run <frequency> type infected_hosts_trend report_format csv time_frame <time_frame> transport email
    • To deliver the report as a file:

      hostname (config) # report schedule run <frequency> type infected_hosts_trend report_format csv time_frame <time_frame> transport file

    An Infected Hosts Trend report is added to the scheduled list. The following message appears:

    Configure email recipients for report schedule to take effect.
    Created report schedule 1.
  7. Verify the configuration for the report schedule.

    hostname (config) # show report schedule
    Periodicity  MonthDay       WeekDay  Time    Transport Command
    1 weekly       -              Wed      12:00   file      infected_hosts_trend report_format csv
    time_frame past_month