Hi All,
I have a requirement for a unique dashboard on mail log. Here I need to get the top ten receiver by email size. But that search need to embroidery with two distinct events (for example, at first it contain the email size, and then receiver address) with qid (queue ID).
Below is the logic for this requirement.
index=emaildata2008 sourcetype=all_email_log
| stats list(to) as Receivers by qid
| join qid [search index=emaildata2008 sourcetype=all_email_log | stats list(size) as "Email Size" by qid ]
| dedup Receivers | bucket _time span=1h |top Receivers, “Email Size” | sort - “Email Size”
Can anyone help me, as this logic correct or not. Just for better surety.
... View more