# Save and re-run an advanced log query

**URL:** <https://community.dynatrace.com/t/save-and-re-run-an-advanced-log-query/52228>\
**Category:** Logs\
**Tags:** logs\
**Created:** [June 24, 2025, 5:39pm UTC](https://community.dynatrace.com/t/save-and-re-run-an-advanced-log-query/52228 "2025-06-24T17:39:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![blainefredricks](https://avatars.discourse-cdn.com/v4/letter/b/54ee81/32.png) [@blainefredricks](https://community.dynatrace.com/u/blainefredricks)\
**Post date:** [June 24, 2025, 5:39pm UTC](https://community.dynatrace.com/t/save-and-re-run-an-advanced-log-query/52228/1 "2025-06-24T17:39:53Z")

</div>

Is there any way to save and rerun an advanced log query.&nbsp; I tried saving the URL and re-running the next day - says it’s not valid anymore.

I have several Splunk and Dynatrace queries that I run daily.&nbsp; I have the Splunk queries saved into a .bat / .cmd file.

I’d like to add the Dynatrace log queries to that file.

Is that possible?

---

<div class="post-metadata">

**Author:** ![TracingMySanity](https://avatars.discourse-cdn.com/v4/letter/t/858c86/32.png) [@TracingMySanity](https://community.dynatrace.com/u/TracingMySanity)\
**Post date:** [June 24, 2025, 7:48pm UTC](https://community.dynatrace.com/t/save-and-re-run-an-advanced-log-query/52228/2 "2025-06-24T19:48:22Z")

</div>

I don’t have an answer to your question, but I do have some suggestions&nbsp;🙂.

If you’re creating a report from the results of that advanced log query, I suggest using a workflow to run those queries and generate an email.

If you’re just running a bunch of queries to view results en masse, you can use a shared notebook (or dashboard) and run all with one button.

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [June 25, 2025, 2:46pm UTC](https://community.dynatrace.com/t/save-and-re-run-an-advanced-log-query/52228/3 "2025-06-25T14:46:53Z")

</div>

Hi,

You can create a [Notebook](https://docs.dynatrace.com/docs/shortlink/notebooks) where query output information is frozen until you execute it again.

Best regards
