- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Why is ISNULL functionality not working?
Keerthi
Path Finder
04-17-2023
01:58 AM
I am trying to get the data only when my lastlogon(field name) is Null. but the above query is still giving me data for both Null and non Null values.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

woodcock
Esteemed Legend
04-18-2023
11:21 AM
Fields are case sensitive and also sometimes "empty" (i.e. == ""). You can check for both like this:
(isnull(LASTLOGON) OR LASTLOGON=="")
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ITWhisperer

SplunkTrust
04-17-2023
02:56 AM
Field name are case-sensitive - try this
| where isnull(LASTLOGON)
