Searching for a specific Date & Time Range

Check in here for general discussion about Search Version 8

Moderator: Mods

Searching for a specific Date & Time Range

Postby borsheck » Fri Feb 22, 2019 11:25 am

I work in a tech support environment and receive 100's of NMS alert emails daily that I do NOT delete, but filter on to answer questions posed by the customer of when certain events occur. So as an example, I was asked to provide a PEG count of the alerts from 12:00 AM to 5:00 AM PST, 02/21/2019. I was only able to create a filter using the format of: 02/21/2019 12:00.. which provided me with the alerts/resets that occurred between the 12:00 AM - 12:59 AM hour window. What I want to do is set a filter for a specific timeframe like - 12:00 AM to 05:00 AM.

Any help on this would be appreciated.

Thanks!

Borsheck (Don't ask me the origin of this name, my parents are deceased and I don't have a clue) :D
borsheck
 
Posts: 2
Joined: Sun Jan 29, 2017 10:34 am

Re: Searching for a specific Date & Time Range

Postby Kenward » Sat Feb 23, 2019 3:57 am

Have you investigated the NEAR operator?

"12:00 AM" NEAR "5:00 AM"

You can get even more complicated by specifying how near it has to be.

Advanced Search Commands
MK
X1 Search 8.6.1 - Build 6003fa (64-bit)
Windows 10 Pro 64-bit | Windows 10 Home 32-bit
No, I have nothing to do with X1, just a user since 2004.
Kenward
X1 Guru
X1 Guru
 
Posts: 4128
Joined: Tue Apr 20, 2004 2:35 am
Location: UK


Return to General Discussion V8

Who is online

Users browsing this forum: Kmrriwvw and 18 guests