anchor.diff:  }
   ----------------------------------------------------------------------
   
  -<1> Creating the event object.
  -<2> The `@timestamp` field needs to be of time `common.Time`.
  -<3> Sending the event.
  -
  -==== Cleanup
  -
  -The `Cleanup` method is executed after the main loop finishes or is interrupted
  +<1> Create the event object.
  +<2> Specify a `@timestamp` field of time `common.Time`.
  +<3> Send the event.
  +
  +[[cleanup-method]]
  +==== Cleanup Method
  +
  +The `Cleanup` method is executed after the main loop finishes (or is interrupted)
   and gives you the opportunity to release any resources you might use. For
  -Topbeat, it is completely empty:
  +Topbeat, the method is completely empty:
   
   [source,go]
   ----------------------------------------------------------------------
  
positive.code: <2> Set default values for options that are not present in the configuration
      file.
  
  ==== Setup
  
  The `Setup` method gives you the opportunity to execute things before the main
  loop, usually for initialization. In the case of Topbeat, it only assigns the
  Beat object to the Topbeat object, so it doesn't have to be passed to all sub
  functions.
  
  [source,go]
  ----------------------------------------------------------------------
  
negative.code: publisher client. The publisher client is available as part of the Beat object
  through the `Beat.Events` variable.
  
  The actual sending is done inside the `exportSystemStats()` method:
  
  [source,go]
  ----------------------------------------------------------------------
  