Do you want the 2 next to the host and in the same column, or a separate column with the count of hosts?
Your search | fields host, _time | eventstats count(host) as hostCount by _time | table host, hostCount, _time
Your search | fields host, _time | eventstats count(host) as hostCount by _time | eval hostAndCount = host.” (“.hostCount.”)” | table host, hostAndCount, hostCount, _time
In situations where you only want to show a numeric if the host count is greater than one: Your search | fields host, _time | eventstats count(host) as hostCount by _time | eval hostAndCount = if(hostCount > 1, host.” (“.hostCount.”)” , host) | table host, hostAndCount, hostCount, _time
... View more