A log is a type of report that lists datapoints and some information about them. To see example logs, click here.


The code to generate a log looks like:

#the RESULT command indicates 

#a block of related report results

{|RESULT|}

  <table class='data'>

    <thead>

      <tr>

        <th>ID</th>

        <th>Date</th>

        <th>Month</th>

      </tr>

    </thead>

    <tbody>

    #By looping datapoints, we are creating a log 

    #of datapoint-level information

    #this will generate a table row for every datapoint

    {|LOOP|RESULT.DATAPOINTS}

      <tr>

        #the DATAPOINT_ID is the datapoint's identifier 

        #(e.g., job ID)

        <th>{DATAPOINTS.DATAPOINT_ID}</th>


        #each datapoint has a timestamp property 

        #associated with it (e.g., report date)

        <td>{DATAPOINTS.TRENDING_TIMESTAMP}</td>


        #you can also display the name of group members 

        #associated with the datapoint                

        <td>{DATAPOINTS.MONTH_OF_YEAR.NAME}</td>

      </tr>


    # this closes our loop

    {/|LOOP|}

  </tbody>

  </table>


# this closes the RESULT block

{/|RESULT|}