Selecting or Excluding Data Sources

There are two simple ways to choose which sites to accept data from: either name the sources explicitly or use the Common target.

Name the Sources

You can name the source explicitly; for example:

twitter.text contains "Starbucks"

This works for multiple sources but it can become cumbersome:

twitter.text     contains "Starbucks"
  OR
facebook.message contains "Starbucks"
  OR
youtube.content  contains "Starbucks"

Use a Common Target

Include sources with interaction.type:

(
    interaction.type    == "twitter" 
    OR interaction.type == "facebook"
    OR interaction.type == "youtube"
)

AND

interaction.content contains "Starbucks"

Exclude sources with interaction.type:

(
    interaction.type     != "topix"
    AND interaction.type != "reddit"
)

AND interaction.content contains "Starbucks"