- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello splunker, i want to write an SPL to list email senders excluding emails in a predefined lookup table.
here's my command:
index=email eventtype="email-events" action=delivered [ | inputlookup group_service_emails_csv.csv| fields Emails | where sender != Emails]
please help me with it, Thanks
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i found the answer, just write NOT infrot of the lookup search, like this and modify the WHERE to RENAME:
index=email eventtype="email-events" action=delivered NOT [ | inputlookup group_service_emails_csv.csv| fields Emails | rename Emails as sender ]
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i found the answer, just write NOT infrot of the lookup search, like this and modify the WHERE to RENAME:
index=email eventtype="email-events" action=delivered NOT [ | inputlookup group_service_emails_csv.csv| fields Emails | rename Emails as sender ]
