- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

the_wolverine
Champion
10-11-2010
04:11 PM
I'm trying to set up a conditional alert where if there are less than 50 results but greater than 0 results, I want to be alerted. It seems straightforward but I can't figure out the syntax of the condition to use. The following does not work, for example:
mysearch | stats count dc(memberUid)
condition: 0 < dc(memberUid) < 50
1 Solution
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ftk
Motivator
10-11-2010
04:17 PM
Try renaming your distinct count field.
mysearch | stats count dc(memberUid) as dc_uid
condition: 0 < dc_uid < 50
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ftk
Motivator
10-11-2010
04:17 PM
Try renaming your distinct count field.
mysearch | stats count dc(memberUid) as dc_uid
condition: 0 < dc_uid < 50
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

the_wolverine
Champion
10-11-2010
04:23 PM
That worked. Thanks 🙂
