<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Macro Expansion - Possible Bug in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Macro-Expansion-Possible-Bug/m-p/683909#M233499</link>
    <description>&lt;P&gt;I just checked on a Splunk Cloud SHC and saw to difference in expansion time so I suspect there's something happening in your environment.&lt;/P&gt;&lt;P&gt;Do you see any relevant messages in splunkd.log on the SH?&lt;/P&gt;</description>
    <pubDate>Thu, 11 Apr 2024 13:46:24 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2024-04-11T13:46:24Z</dc:date>
    <item>
      <title>Macro Expansion - Possible Bug</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Macro-Expansion-Possible-Bug/m-p/683856#M233472</link>
      <description>&lt;P&gt;Hi all!&amp;nbsp; I've got an issue with macro expansion taking an excessively long time when you use the keyboard shortcut - ctrl+shift+e.&amp;nbsp; I'm looking for someone to try the same thing on their own system and let me know if you're seeing this to. That will help me determine if this is a problem in my environment or a possible bug in the software.&lt;/P&gt;&lt;P&gt;To test, find any macro in your environment.&lt;/P&gt;&lt;P&gt;&lt;U&gt;Establish baseline&lt;/U&gt;:&lt;/P&gt;&lt;P&gt;Enter just the macro name in the search box and press ctrl+shift+e (or command+shift+e, I think, on MAC).&amp;nbsp; Note the length of time it takes for the modal pop up to show you the expanded macro. It is not necessary to run the search.&lt;/P&gt;&lt;PRE&gt;`mymacro`&lt;/PRE&gt;&lt;P&gt;&lt;U&gt;Test issue&lt;/U&gt;:&lt;/P&gt;&lt;P&gt;Using the same macro as above, create a simple search that has the macro inside of a sub-search. Try expanding the macro. Are you getting a slow response? For me, it's &amp;gt;20 seconds for it to expand the macro&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;|makeresults&lt;BR /&gt;|append [`mymacro`]&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;I appreciate the help from anyone willing to test.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 21:36:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Macro-Expansion-Possible-Bug/m-p/683856#M233472</guid>
      <dc:creator>etoombs</dc:creator>
      <dc:date>2024-04-10T21:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Expansion - Possible Bug</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Macro-Expansion-Possible-Bug/m-p/683862#M233477</link>
      <description>&lt;P&gt;No difference - same speed - what's your macro doing?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 00:19:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Macro-Expansion-Possible-Bug/m-p/683862#M233477</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2024-04-11T00:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Expansion - Possible Bug</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Macro-Expansion-Possible-Bug/m-p/683894#M233490</link>
      <description>&lt;P&gt;Same speed here.&lt;/P&gt;&lt;P&gt;What is your environment like?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 12:22:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Macro-Expansion-Possible-Bug/m-p/683894#M233490</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-04-11T12:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Expansion - Possible Bug</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Macro-Expansion-Possible-Bug/m-p/683902#M233496</link>
      <description>&lt;P&gt;Hi! Thanks for checking. So... I did more digging on my side. On a non-clustered search head, I've got no delay. On my clustered-search heads, I do. I have two SH clusters and both are impacted. Splunk version is 9.1.1.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 13:25:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Macro-Expansion-Possible-Bug/m-p/683902#M233496</guid>
      <dc:creator>etoombs</dc:creator>
      <dc:date>2024-04-11T13:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Expansion - Possible Bug</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Macro-Expansion-Possible-Bug/m-p/683904#M233498</link>
      <description>&lt;P&gt;It doesn't seem to matter. The macro expansion can be as simple as a single word that it's replacing and the problem still happens.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 13:28:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Macro-Expansion-Possible-Bug/m-p/683904#M233498</guid>
      <dc:creator>etoombs</dc:creator>
      <dc:date>2024-04-11T13:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Expansion - Possible Bug</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Macro-Expansion-Possible-Bug/m-p/683909#M233499</link>
      <description>&lt;P&gt;I just checked on a Splunk Cloud SHC and saw to difference in expansion time so I suspect there's something happening in your environment.&lt;/P&gt;&lt;P&gt;Do you see any relevant messages in splunkd.log on the SH?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 13:46:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Macro-Expansion-Possible-Bug/m-p/683909#M233499</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-04-11T13:46:24Z</dc:date>
    </item>
  </channel>
</rss>

