• /
  • EnglishEspañolFrançais日本語한국어Português
  • Log inStart now

Harvest configuration

Harvest configuration methods

Method

Description

nrSetHarvestTime

Set harvest time, the time the samples are buffered before being sent to New Relic for both Events and Logs. Min value is 60.

nrSetHarvestTimeEvents

Set harvest time for Events, the time the events are buffered before being sent to New Relic. Min value is 60.

nrSetHarvestTimeLogs

Set harvest time for Logs, the time the logs are buffered before being sent to New Relic. Min value is 60.

nrSetHarvestTimeMetrics

Set harvest time for Logs, the time the logs are buffered before being sent to New Relic. Min value is 60.

nrForceHarvest

Do harvest events and logs immediately. It doesn't reset the harvest timer.

nrForceHarvestEvents

Do harvest events immediately. It doesn't reset the harvest timer.

nrForceHarvestLogs

Do harvest logs immediately. It doesn't reset the harvest timer.

Examples

nrSetHarvestTime

nrSetHarvestTime(m.nr, 60)

nrSetHarvestTimeEvents

nrSetHarvestTimeEvents(m.nr, 60)

nrSetHarvestTimeLogs

nrSetHarvestTimeLogs(m.nr, 60)

nrSetHarvestTimeMetrics

nrSetHarvestTimeMetrics(m.nr, 60)

nrForceHarvest

nrForceHarvest(m.nr)

nrForceHarvestEvents

nrForceHarvestEvents(m.nr)

nrForceHarvestLogs

nrForceHarvestLogs(m.nr)
Copyright © 2026 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.