QuestionQ24

Monitoring, Logging, and Alerting

Recently published content does not appear in search results on the public website.

  • All results appear in the author environment.
  • Some results appear in the publish environment.
  • The LastIndexedTime metric is not updated when the Async Indexer stats MBean is checked.
  • The user is attempting to find the page by its title.
  • The following line appears regularly in the log:

Question Image

How can the DevOps engineer obtain more information about the root cause of this issue?

  • A Increase the logging level for the health reports in the maintenance UI.
  • B Increase the logging level for org.apache.jackrabbit.oak.plugins.index.
  • C Increase the logging level for stdout.log to DEBUG in the sling log support configuration.
  • D Increase the logging level for stderr.log to DEBUG by setting a JVM option.
Explanation

Oak’s asynchronous indexer can lag or fail, leaving LastIndexedTime unchanged and causing recently published content to be absent from search results. Increasing logging for org.apache.jackrabbit.oak.plugins.index produces diagnostic output from the relevant index-update and asynchronous-indexing components. The Oak Indexing documentation identifies LastIndexedTime as the time through which repository state has been indexed and exposes it through the async indexer’s IndexStatsMBean.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!