简体   繁体   中英

Search Query help - Condition Card Builder - KQL?

I'm trying to get a proper search done by the IT department. I have been told that they use condition card builder and Kusto query language.

I need to search for “wordA” near 5 words of “wordB” (either before or after)

They say they can't do it, but I can in other programs.

I was told that 'around' means 'and' That there was no 'near'command 'W/5' wasn't a search command

Is there a command to do my search? I have other issues with the database administrator, such as I gave a list of people who the emails should be from and the results were not from the individuals, but they were CC in the message.

The query

(wordA NEAR(5) wordB)(senderauthor=fromemailaddress)

can be copied and pasted into the keyword section of the condition card builder.

Connect, build and run the search in PowerShell:

connect-ippssession

new-compliancesearch -name "Near Search" -description "search using NEAR" -exchangelocation mailbox@domain.com -contentmatchquery '(wordA NEAR(5) wordB)(senderauthor=fromemailaddress)'

start-compliancesearch "NEAR Search"

mailbox@domain.com is the mailbox to search - it can also be a distribution list (which will search all member mailboxes).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM