Some of the above visualizations relies on scripted fields.
In order to create them navigate the following menus:
Dashboard management Index pattern mailbox_v2 scripted field
Then create the following scripted fields:
language: painless type: number format: numer name: recipientCount Script: int count = 0; for (nested in params._source.to) { count += 1; } return count;
and
> Dashboard management > Index pattern > mailbox_v2 > scripted field language: painless type: number format: numer name: deliveryTime Script: if (doc.containsKey('saveDate') && doc.containsKey('sentDate')) { return (doc['saveDate'].value.getMillis() - doc['sentDate'].value.getMillis()) / 1000; } else { return 0; }