Hi all,
my search | stats count(filename) AS files, sum(size) AS TotalMb by user| sort -TotalMb | eval email=user."@mydomai.com"
| table user, files, TotalMb, email | head 2
Result is:
user1, 123, 506,
[email protected]
user2, 234, 26,
[email protected]
I need to send each row for each of user from search result:
fitst string to
[email protected]
second string to
[email protected]
I am using:
my search | stats count(filename) AS files, sum(size) AS TotalMb by user| sort -TotalMb | eval email=user."@mydomai.com"
| table user, files, TotalMb, email | head 2
| map search="sendemail to=$email$
[email protected] subject="Big files" sendresults=true inline=true priority=normal server="mail.server" message="TEST""
Result is emailed for each user with "No results found". Why are users not receiving emails with the results of the search?
Please help
... View more