anchor.diff:       "http://127.0.0.1:8080/plugins/killbill-analytics/reports"
   ----
   
  -This creates a report called `report_historical_orders` based on a remote database (`warehouse`). It executes the specified SQL query. Refer to the <<Report Creation Options,Report Creation Options>> section for a description of all the fields.
  +This creates a report called `report_historical_orders` based on a remote database (`warehouse`). It executes the specified SQL query. Refer to the <<Report Creation Options, "Report Creation Options">> section for a description of all the fields.
   
   [NOTE]
  -*Note:* In order to create a report based on a remote database, the database first needs to be configured at a tenant level as explained in the <<remote_database_configuration,plugin configuration>> section. 
  +*Note:* In order to create a report based on a remote database, the database first needs to be configured at a tenant level as explained in the <<remote_database_configuration, "Plugin Configuration">> section. 
   
   The above `cURL` command can also be used to create a report based on a local database by directly specifying an SQL query (instead of a table/view).
   
   === Report Creation Options
   
  -The following table lists all the report creation options.A subset of these options need to be specified while <<create_custom_reports,creating the report>> depending on the report being created.
  +The following table lists all the report creation options. A subset of these options need to be specified while <<create_custom_reports,creating the report>>, depending on the report being created.
   
   [options="header",cols="1,1"]
   |===
   |Field Name   |Description   
   //----------------------
  -|reportName   |Unique identifier for your report   
  -|reportPrettyName   |Description, which will be used in Kaui
  -|reportType   |Type of report. Possible values are `COUNTERS`, `TIMELINE`, `TABLE`   
  +|reportName   |Unique identifier for your report.   
  +|reportPrettyName   |Description, that will be used in Kaui.
  +|reportType   |Type of report. Possible values are `COUNTERS`, `TIMELINE`, `TABLE`.   
   |sourceTableName   |Name of the source table/view. 
  -|sourceName   |Name of the remote database   
  +|sourceName   |Name of the remote database.   
   |sourceQuery   |SQL query to be executed. 
  -|refreshProcedureName   |Name of the stored procedure    
  -|refreshFrequency   |Frequency with which the refresh procedure will be executed. Possible values are `HOURLY` and `DAILY`      
  -|refreshHourOfDayGmt   |Hour of the day when the procedure will be executed    
  +|refreshProcedureName   |Name of the stored procedure.    
  +|refreshFrequency   |Frequency with which the refresh. procedure will be executed. Possible values are `HOURLY` and `DAILY`.      
  +|refreshHourOfDayGmt   |Hour of the day when the procedure will be executed.    
   |===
  -
   
   === Other Report Operations
   
  
positive.code: |===
  |Property Name   |Description   |Default Value  
  //----------------------
  |refreshDelaySeconds   |Specifies the delay in seconds, before starting to refresh analytics tables after an event is received. For workflows with lots of successive events (e.g. create account, add payment method, create payment), this makes sure that the latest state is available when starting the refresh   |10   
  |lockAttemptRetries   |Specifies the number of retries to get the lock   |100   
  |rescheduleIntervalOnLockSeconds   |Specifies the duration in seconds after which the refresh job should be scheduled in case the lock is not available   |10   
  |enablePartialRefreshes   |Specifies whether partial refreshes are allowed. If true, the plugin refreshes only a subset of the analytics tables based on the received event. If false, all the analytics tables are updated.   |true   
  |enableTemplateVariables   |Specifies whether template variables should be allowed in raw SQL queries while creating reports based on SQL queries. Note that this could be prone to SQL injection and should only be enabled in trusted environments.   |false   
  |blacklist   |Specifies a list of account ids to ignore   |-
  |highCardinalityAccounts   |Specifies a list of account ids with a high cardinality (account with 100k+ subscriptions). This is a performance hint to the plugin and tells the plugin to look up individual subscription rows instead of querying everything based on `account_record_id`. |-
  |ignoredGroups   |Specifies a list of https://github.com/killbill/killbill-analytics-plugin/blob/59c282f97960dc59b944ca33e17353bc19d7c842/src/main/java/org/killbill/billing/plugin/analytics/AnalyticsJobHierarchy.java#L59[groups] that should be ignore for refresh. Possible values are `FIELDS`, `INVOICES`, `INVOICE_AND_PAYMENTS`,`OVERDUE`, `OTHER`, `SUBSCRIPTIONS`, `ALL`. Thus, database tables corresponding to these groups will be ignored while performing a refresh.    |-   
  |pluginPropertyKeys   |Specifies a payment plugin name and plugin properties related to the payment plugin to be stored into the analytics tables. So, if a payment plugin populates these values, these are fetched and stored in the `analytics_payment_auths` table.   |1:processorResponse,
                                                                                    2:avsResultCode,                                                                                                3:cvvResultCode,                                                                                               4:payment_processor_account_id                                                                                                 5:paymentMethod   
  |databases[[remote_database_configuration]]   |Specifies the database configuration for external (remote) databases against which reports can be created. The database `type` and `url` needs to be specified as part of the database configuration. The analytics plugin currently only supports `trino` databases. See <<advanced_report_creation_options, Advanced report creation options>> |-   
  |===
  
  == Reports
  
negative.code: |===
  |Property Name   |Description   |Default Value   
  //----------------------
  |org.killbill.notificationq.analytics.tableName   |The name of the notification queue table   |notifications (Same as Kill Bill notification queue table)
  |org.killbill.notificationq.analytics.historyTableName   |The name of the notification queue history table    |notifications_history (Same as Kill Bill notification queue history table)
  |org.killbill.analytics.lockSleepMilliSeconds   |How long to sleep between retries to get the lock   |100   
  |org.killbill.billing.plugin.analytics.referenceCurrency   |The reference currency. See  <<currency_conversion,Currency Conversion>>  |USD   
  |===
  
  [NOTE]
  