# Log Search

**URL:** https://discuss.rapid7.com/c/insightidr/log-search/23.md

[Latest](https://discuss.rapid7.com/latest.md) · [Categories](https://discuss.rapid7.com/categories.md) · [Tags](https://discuss.rapid7.com/tags.md)

---

## [Share your LEQL query tips and tricks!](https://discuss.rapid7.com/t/share-your-leql-query-tips-and-tricks/12126)

<div class="topic-metadata">

**Author:** [@jordan\_bacher](https://discuss.rapid7.com/u/jordan_bacher)\
**Replies:** 1\
**Last updated:** [May 10, 2022, 5:49pm UTC](https://discuss.rapid7.com/t/share-your-leql-query-tips-and-tricks/12126 "2022-05-10T17:49:19Z")

</div>

Within InsightIDR, you can use LEQL queries to search through your logs, create custom alerts, and power your dashboards. With so many different uses for LEQL, the Rapid7 team is looking into how we can make LEQL easier …

---

## [About the Log Search category](https://discuss.rapid7.com/t/about-the-log-search-category/1104)

<div class="topic-metadata">

**Author:** [@rapid7\_bot](https://discuss.rapid7.com/u/rapid7_bot)\
**Replies:** 0\
**Last updated:** [June 5, 2020, 10:05pm UTC](https://discuss.rapid7.com/t/about-the-log-search-category/1104 "2020-06-05T22:05:59Z")

</div>

Everything related to searching and visualizing your InsightIDR logs.

---

## [Active directory user management in rapid7](https://discuss.rapid7.com/t/active-directory-user-management-in-rapid7/57067)

<div class="topic-metadata">

**Author:** [@skondepudi](https://discuss.rapid7.com/u/skondepudi)\
**Replies:** 3\
**Last updated:** [February 11, 2026, 1:01pm UTC](https://discuss.rapid7.com/t/active-directory-user-management-in-rapid7/57067 "2026-02-11T13:01:28Z")

</div>

I am trying to find out all the recent modifications made to an AD user account in our tenancy from Rapid 7. Is there an option in Rapid 7 to achieve this. Can you please let me know. Thanks

---

## [Log Search "timestamp" field](https://discuss.rapid7.com/t/log-search-timestamp-field/57038)

<div class="topic-metadata">

**Author:** [@antmar904](https://discuss.rapid7.com/u/antmar904)\
**Replies:** 2\
**Last updated:** [January 29, 2026, 8:17pm UTC](https://discuss.rapid7.com/t/log-search-timestamp-field/57038 "2026-01-29T20:17:34Z")

</div>

Hi When search in Asset Authentication Logs, is there a way to get the firstseen/lastseen using the timestamp field? where("destination\_account" = "user1" and "logon\_type" != "NETWORK")calculate(min:"timestamp")

---

## [IDR - Log Search for Email](https://discuss.rapid7.com/t/idr-log-search-for-email/42249)

<div class="topic-metadata">

**Author:** [@smuthukumarasamy](https://discuss.rapid7.com/u/smuthukumarasamy)\
**Replies:** 6\
**Last updated:** [October 28, 2025, 6:11pm UTC](https://discuss.rapid7.com/t/idr-log-search-for-email/42249 "2025-10-28T18:11:17Z")

</div>

I am looking for a log search query based on O365 log source, that will help identify the number of emails sent outside of the organization email domain. For examples, emails sent from corporate email to personal email a…

---

## [Open Investigations](https://discuss.rapid7.com/t/open-investigations/54820)

<div class="topic-metadata">

**Author:** [@pk\_m](https://discuss.rapid7.com/u/pk_m)\
**Replies:** 4\
**Last updated:** [September 24, 2025, 8:53am UTC](https://discuss.rapid7.com/t/open-investigations/54820 "2025-09-24T08:53:45Z")

</div>

Hi everyone. Looking for some genuine guidance. Is there any possible way, through which I can show Investigations, which are in OPEN state(assigned to some SOC analysts already), in an InsightIDR dashboard card? Than…

---

## [insightIDR query to find where things don't exist](https://discuss.rapid7.com/t/insightidr-query-to-find-where-things-dont-exist/54169)

<div class="topic-metadata">

**Author:** [@talford](https://discuss.rapid7.com/u/talford)\
**Replies:** 11\
**Last updated:** [September 15, 2025, 11:58am UTC](https://discuss.rapid7.com/t/insightidr-query-to-find-where-things-dont-exist/54169 "2025-09-15T11:58:03Z")

</div>

Hi, Sorry for the slightly confusing topic title - is it possible to structure an IDR query to find systems, IP addresses etc where an associated event does not exist in a given time range but where other events do exis…

---

## [Log search query](https://discuss.rapid7.com/t/log-search-query/53642)

<div class="topic-metadata">

**Author:** [@nkhassanova](https://discuss.rapid7.com/u/nkhassanova)\
**Replies:** 3\
**Last updated:** [August 5, 2025, 2:26pm UTC](https://discuss.rapid7.com/t/log-search-query/53642 "2025-08-05T14:26:00Z")

</div>

Hi, I would like to create a search query which will help me identify the users which had several failed logins followed by the successful login meaning that we take a case scenario of the account being compromised. I …

---

## [Selection of queries for working with DNS data](https://discuss.rapid7.com/t/selection-of-queries-for-working-with-dns-data/1546)

<div class="topic-metadata">

**Author:** [@darragh\_delaney1](https://discuss.rapid7.com/u/darragh_delaney1)\
**Replies:** 2\
**Last updated:** [August 1, 2025, 3:54pm UTC](https://discuss.rapid7.com/t/selection-of-queries-for-working-with-dns-data/1546 "2025-08-01T15:54:20Z")

</div>

DNS metadata can be captured from log files or passively using the out of box Insight Network Sensor. The sensor approach has the added advantage of providing visibility into external DNS server use. These queries are id…

---

## [Log searching across multiple, disparate log sets using field qualifiers](https://discuss.rapid7.com/t/log-searching-across-multiple-disparate-log-sets-using-field-qualifiers/52885)

<div class="topic-metadata">

**Author:** [@nick\_graves](https://discuss.rapid7.com/u/nick_graves)\
**Replies:** 3\
**Last updated:** [July 9, 2025, 11:24pm UTC](https://discuss.rapid7.com/t/log-searching-across-multiple-disparate-log-sets-using-field-qualifiers/52885 "2025-07-09T23:24:37Z")

</div>

Hi, I’m wanting to find a way that I can search multiple log sources, and extract logs by user “where” queries, which are able to search across the different log sources, by “qualifying” the fields. The problem I have …

---

## [IDR logs query help](https://discuss.rapid7.com/t/idr-logs-query-help/51606)

<div class="topic-metadata">

**Author:** [@ksoni](https://discuss.rapid7.com/u/ksoni)\
**Replies:** 1\
**Last updated:** [May 28, 2025, 4:54pm UTC](https://discuss.rapid7.com/t/idr-logs-query-help/51606 "2025-05-28T16:54:02Z")

</div>

I am trying to query a user who was disabled last year. IDR shows user as disabled but I am not able to find out the logs for the date the user was disabled.

---

## [Compare 2 values](https://discuss.rapid7.com/t/compare-2-values/51253)

<div class="topic-metadata">

**Author:** [@lqerkezi](https://discuss.rapid7.com/u/lqerkezi)\
**Replies:** 5\
**Last updated:** [May 19, 2025, 7:14am UTC](https://discuss.rapid7.com/t/compare-2-values/51253 "2025-05-19T07:14:19Z")

</div>

Hi Is it possible to search for when a new secret is added to an application in azure? I want to check when “source\_json.properties.targetResources.0.modifiedProperties.0.newValue” \> “source\_json.properties.targetResou…

---

## [IDR query to match on part of a string](https://discuss.rapid7.com/t/idr-query-to-match-on-part-of-a-string/49788)

<div class="topic-metadata">

**Author:** [@talford](https://discuss.rapid7.com/u/talford)\
**Replies:** 4\
**Last updated:** [April 3, 2025, 2:44pm UTC](https://discuss.rapid7.com/t/idr-query-to-match-on-part-of-a-string/49788 "2025-04-03T14:44:38Z")

</div>

Hi, How can I perform a match\\where on part of string? I’m tying myself in knots with regex and I’m sure there’s something simple that actually works! For example: I have a field called data.desc that contains stri…

---

## [Log search to look for sign in and sign out events](https://discuss.rapid7.com/t/log-search-to-look-for-sign-in-and-sign-out-events/47705)

<div class="topic-metadata">

**Author:** [@jcope](https://discuss.rapid7.com/u/jcope)\
**Replies:** 2\
**Last updated:** [February 6, 2025, 11:06pm UTC](https://discuss.rapid7.com/t/log-search-to-look-for-sign-in-and-sign-out-events/47705 "2025-02-06T23:06:07Z")

</div>

Hello, Just wondering if anyone has any idea of how to create a search for log in and log out events/ screen timeout. Trying to create a picture of the amount of hours spent at a PC. Thanks, Jon

---

## [Find devices with local admin account](https://discuss.rapid7.com/t/find-devices-with-local-admin-account/40598)

<div class="topic-metadata">

**Author:** [@mhernandez](https://discuss.rapid7.com/u/mhernandez)\
**Replies:** 2\
**Last updated:** [February 4, 2025, 8:05pm UTC](https://discuss.rapid7.com/t/find-devices-with-local-admin-account/40598 "2025-02-04T20:05:38Z")

</div>

I am trying to figure out if there is a way to find all devices that have a local admin account with a specific name. We are using InsightIDR, and InsightVM. I’ve been reading over the documentation, searching the log en…

---

## [Delete saved InsightIDR queries](https://discuss.rapid7.com/t/delete-saved-insightidr-queries/47289)

<div class="topic-metadata">

**Author:** [@rthen](https://discuss.rapid7.com/u/rthen)\
**Replies:** 2\
**Last updated:** [January 24, 2025, 9:53pm UTC](https://discuss.rapid7.com/t/delete-saved-insightidr-queries/47289 "2025-01-24T21:53:27Z")

</div>

Hello, Is there any way to either delete or edit saved queries within InsightIDR? I tried searching within InsightIDR documentation and tried to look for an option to delete / edit previous saved queries, but I don’t se…

---

## [Calculate difference between dates](https://discuss.rapid7.com/t/calculate-difference-between-dates/47218)

<div class="topic-metadata">

**Author:** [@jamesy\_dobbin](https://discuss.rapid7.com/u/jamesy_dobbin)\
**Replies:** 0\
**Last updated:** [January 23, 2025, 1:52pm UTC](https://discuss.rapid7.com/t/calculate-difference-between-dates/47218 "2025-01-23T13:52:29Z")

</div>

I am trying to build a query where I can find users who have not signed in in N number of days.Is there a method whereby I can calculate a date that is say 30 days from the current date?

---

## [Search for User Tags (Disabled in LDAP, Removed, Watch List)](https://discuss.rapid7.com/t/search-for-user-tags-disabled-in-ldap-removed-watch-list/42008)

<div class="topic-metadata">

**Author:** [@btmark](https://discuss.rapid7.com/u/btmark)\
**Replies:** 8\
**Last updated:** [January 15, 2025, 7:07pm UTC](https://discuss.rapid7.com/t/search-for-user-tags-disabled-in-ldap-removed-watch-list/42008 "2025-01-15T19:07:03Z")

</div>

Is it possible to query using User Tags (Disabled, Removed, Watch List)? Looking to create a detection covering the scenario of a user with any of these user tags (assumption would be they’re no longer with the org) trie…

---

## [Question on log search](https://discuss.rapid7.com/t/question-on-log-search/2146)

<div class="topic-metadata">

**Author:** [@pete\_jacob](https://discuss.rapid7.com/u/pete_jacob)\
**Replies:** 21\
**Last updated:** [December 30, 2024, 4:52pm UTC](https://discuss.rapid7.com/t/question-on-log-search/2146 "2024-12-30T16:52:56Z")

</div>

Hello! I am looking for a way in a log search to limit the source ip address, this is for an alert I am creating. here is an example: if windows event XXX happens X amount of time within a certain time period and the…

---

## [Creating Dashboards For Firewall Logs](https://discuss.rapid7.com/t/creating-dashboards-for-firewall-logs/45965)

<div class="topic-metadata">

**Author:** [@mblough](https://discuss.rapid7.com/u/mblough)\
**Replies:** 2\
**Last updated:** [December 16, 2024, 3:58pm UTC](https://discuss.rapid7.com/t/creating-dashboards-for-firewall-logs/45965 "2024-12-16T15:58:55Z")

</div>

Thanks in advance - Looking to see if anyone has configured dashboards for Palo Alto Firewall inbound connection attempts. Not seeing the log data available in log search regarding “inbound” connections, just outbound. …

---

## [Log maturity and visibility](https://discuss.rapid7.com/t/log-maturity-and-visibility/44789)

<div class="topic-metadata">

**Author:** [@testuser](https://discuss.rapid7.com/u/testuser)\
**Replies:** 1\
**Last updated:** [November 11, 2024, 8:20pm UTC](https://discuss.rapid7.com/t/log-maturity-and-visibility/44789 "2024-11-11T20:20:18Z")

</div>

I want to search to understand which Event IDs we have on our DC servers. However, I don’t have a list of servers, and as you know, event sources are indexed under different event source categories based on the type of l…

---

## [Log Sets Missing From Custom Parsing Tool](https://discuss.rapid7.com/t/log-sets-missing-from-custom-parsing-tool/43253)

<div class="topic-metadata">

**Author:** [@thobbs](https://discuss.rapid7.com/u/thobbs)\
**Replies:** 3\
**Last updated:** [October 14, 2024, 8:58pm UTC](https://discuss.rapid7.com/t/log-sets-missing-from-custom-parsing-tool/43253 "2024-10-14T20:58:39Z")

</div>

Hi folks! I’m trying to parse some data coming from AWS via a lambda function but when I load up the custom parsing tool the log sets don’t appear in the tool. Is this something to do with how they’ve been ingested? Is t…

---

## [Local Admin Group Changes](https://discuss.rapid7.com/t/local-admin-group-changes/43372)

<div class="topic-metadata">

**Author:** [@sean\_kane](https://discuss.rapid7.com/u/sean_kane)\
**Replies:** 2\
**Last updated:** [October 10, 2024, 3:37am UTC](https://discuss.rapid7.com/t/local-admin-group-changes/43372 "2024-10-10T03:37:31Z")

</div>

I’m trying to find a way to detect the presence of Event ID 4732 ( A member was added to a security-enabled local group) so that I can be alerted by IDR if someone is added to the Local Administrator Group. But, I cannot…

---

## [Groupby source log](https://discuss.rapid7.com/t/groupby-source-log/42593)

<div class="topic-metadata">

**Author:** [@afranklin](https://discuss.rapid7.com/u/afranklin)\
**Replies:** 2\
**Last updated:** [September 18, 2024, 5:49pm UTC](https://discuss.rapid7.com/t/groupby-source-log/42593 "2024-09-18T17:49:42Z")

</div>

When performing a search I frequently search across multiple firewall logs and use the group by option to look at high frequency sources. Today I was wanting the get a count for the number of records for each source log.…

---

## [Log Search to list all investigations created](https://discuss.rapid7.com/t/log-search-to-list-all-investigations-created/40759)

<div class="topic-metadata">

**Author:** [@jferreira](https://discuss.rapid7.com/u/jferreira)\
**Replies:** 1\
**Last updated:** [August 7, 2024, 3:13pm UTC](https://discuss.rapid7.com/t/log-search-to-list-all-investigations-created/40759 "2024-08-07T15:13:21Z")

</div>

Need a query for all investigations created with a certain service\_info.investigation\_name would expect to see created date, current assignee, status, disposition and for bonus points it would be nice for it to identi…

---

## [Filter logs containing a field of SQL code to show only those where that code will change the DB or permissions](https://discuss.rapid7.com/t/filter-logs-containing-a-field-of-sql-code-to-show-only-those-where-that-code-will-change-the-db-or-permissions/40646)

<div class="topic-metadata">

**Author:** [@mcalver](https://discuss.rapid7.com/u/mcalver)\
**Replies:** 0\
**Last updated:** [August 5, 2024, 2:34pm UTC](https://discuss.rapid7.com/t/filter-logs-containing-a-field-of-sql-code-to-show-only-those-where-that-code-will-change-the-db-or-permissions/40646 "2024-08-05T14:34:01Z")

</div>

I’ve had to strip this request of all potentially identifiable data but hopefully my requirement is still clear enough to understand. I have a long list of logs that I need to filter based on the contents of 1 field (pr…

---

## [Log Search with Steve: Some helpful FIM Dashboards to help](https://discuss.rapid7.com/t/log-search-with-steve-some-helpful-fim-dashboards-to-help/17880)

<div class="topic-metadata">

**Author:** [@SDavis](https://discuss.rapid7.com/u/SDavis)\
**Replies:** 5\
**Last updated:** [August 4, 2024, 1:53am UTC](https://discuss.rapid7.com/t/log-search-with-steve-some-helpful-fim-dashboards-to-help/17880 "2024-08-04T01:53:59Z")

</div>

Hey all, If you have FIM configured and turned on in your IDR (it’s under settings), feel free to take a peak at some dashboard queries I made. Most of them are modeled around Windows, so if there is a need for more Lin…

---

## [Dashboard Line Chart Visualizations with Group By Clauses](https://discuss.rapid7.com/t/dashboard-line-chart-visualizations-with-group-by-clauses/36821)

<div class="topic-metadata">

**Author:** [@cguerra](https://discuss.rapid7.com/u/cguerra)\
**Replies:** 2\
**Last updated:** [May 3, 2024, 5:05pm UTC](https://discuss.rapid7.com/t/dashboard-line-chart-visualizations-with-group-by-clauses/36821 "2024-05-03T17:05:34Z")

</div>

Hello there, new to IDR, but I’ve searched the forums and haven’t found an answer to this. Is it possible to have a line/area chart visualization using group by clauses in the query? What I’m trying to see if the usage…

---

## [Correlating 2 Logs for Detection Rule](https://discuss.rapid7.com/t/correlating-2-logs-for-detection-rule/36637)

<div class="topic-metadata">

**Author:** [@edp1](https://discuss.rapid7.com/u/edp1)\
**Replies:** 2\
**Last updated:** [April 30, 2024, 4:44pm UTC](https://discuss.rapid7.com/t/correlating-2-logs-for-detection-rule/36637 "2024-04-30T16:44:13Z")

</div>

Is it possible to filter log search results based on timestamp? For example, I am trying to see if a particular user has 2 separate logs that has the keywords “login” and “logout” within 5 minutes.

---

## [Key Value Pair Variables in InsightIDR](https://discuss.rapid7.com/t/key-value-pair-variables-in-insightidr/36091)

<div class="topic-metadata">

**Author:** [@vvivek.halpatrao](https://discuss.rapid7.com/u/vvivek.halpatrao)\
**Replies:** 7\
**Last updated:** [April 24, 2024, 8:06am UTC](https://discuss.rapid7.com/t/key-value-pair-variables-in-insightidr/36091 "2024-04-24T08:06:07Z")

</div>

Hello Everyone I want to creates Key Value Pair Variables in InsightIDR and use key and respective value in query. So I can use this logic to create custom detection rule. Example : user\_name (Key) : regex (value) → w…

[Next page](https://discuss.rapid7.com/c/insightidr/log-search/23.md?page=1)
