<?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: I need to find out the high memory usage searches on the Splunk search heads in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-find-out-the-high-memory-usage-searches-on-the-Splunk/m-p/636758#M9447</link>
    <description>&lt;P&gt;You can use the introspection search to find out the high memory consuming searches&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=_introspection sourcetype=splunk_resource_usage data.search_props.sid::* data.search_props.mode!=RT data.search_props.user!="splunk-system-user"&lt;BR /&gt;| eval process = 'data.process'&lt;BR /&gt;| eval args = 'data.args'&lt;BR /&gt;| eval pid = 'data.pid'&lt;BR /&gt;| eval ppid = 'data.ppid'&lt;BR /&gt;| eval elapsed = 'data.elapsed'&lt;BR /&gt;| eval mem_used = 'data.mem_used'&lt;BR /&gt;| eval mem = 'data.mem'&lt;BR /&gt;| eval pct_memory = 'data.pct_memory'&lt;BR /&gt;| eval pct_cpu = 'data.pct_cpu'&lt;BR /&gt;| eval sid = 'data.search_props.sid'&lt;BR /&gt;| eval app = 'data.search_props.app'&lt;BR /&gt;| eval label = 'data.search_props.label'&lt;BR /&gt;| eval type = 'data.search_props.type'&lt;BR /&gt;| eval mode = 'data.search_props.mode'&lt;BR /&gt;| eval user = 'data.search_props.user'&lt;BR /&gt;| eval role = 'data.search_props.role'&lt;BR /&gt;| eval label = if(isnotnull('data.search_props.label'), 'data.search_props.label', "")&lt;BR /&gt;| eval provenance = if(isnotnull('data.search_props.provenance'), 'data.search_props.provenance', "unknown")&lt;BR /&gt;| eval search_head = case(isnotnull('data.search_props.search_head') AND 'data.search_props.role' == "peer", 'data.search_props.search_head', isnull('data.search_props.search_head') AND 'data.search_props.role' == "head", "_self", isnull('data.search_props.search_head') AND 'data.search_props.role' == "peer", "_unknown")&lt;BR /&gt;| eval search_label = if('label'!="", 'label', 'sid')&lt;BR /&gt;| eval instance = if(isnotnull(dns_alt_name), dns_alt_name, host)&lt;BR /&gt;| stats max(elapsed) as runtime max(mem_used) as mem_used earliest(_time) as _time by search_label, provenance, type, mode, app, role, user, instance&lt;BR /&gt;| eval mem_used = round(mem_used, 2)&lt;BR /&gt;| sort 20 - mem_used, runtime&lt;BR /&gt;| eval runtime = tostring(round(runtime, 2), "duration")&lt;BR /&gt;| fields search_label, provenance, mem_used, instance, runtime, _time, type, mode, app, user, role&lt;BR /&gt;| eval _time=strftime(_time,"%+")&lt;BR /&gt;| rename search_label as Name, provenance as Provenance, mem_used as "Memory Usage (KB)", instance as Instance, runtime as "Search Duration", _time as Started, type as Type, mode as Mode, app as App, user as User, role as Role&lt;BR /&gt;| appendpipe&lt;BR /&gt;[ stats count&lt;BR /&gt;| eval Name="data unavailable"&lt;BR /&gt;| where count==0&lt;BR /&gt;| table Name ]&lt;/P&gt;</description>
    <pubDate>Thu, 30 Mar 2023 18:17:00 GMT</pubDate>
    <dc:creator>NareshKilaru</dc:creator>
    <dc:date>2023-03-30T18:17:00Z</dc:date>
    <item>
      <title>How to find out the high memory usage searches on the Splunk search heads?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-find-out-the-high-memory-usage-searches-on-the-Splunk/m-p/636757#M9446</link>
      <description />
      <pubDate>Thu, 30 Mar 2023 18:40:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-find-out-the-high-memory-usage-searches-on-the-Splunk/m-p/636757#M9446</guid>
      <dc:creator>abhisplunk1</dc:creator>
      <dc:date>2023-03-30T18:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: I need to find out the high memory usage searches on the Splunk search heads</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-find-out-the-high-memory-usage-searches-on-the-Splunk/m-p/636758#M9447</link>
      <description>&lt;P&gt;You can use the introspection search to find out the high memory consuming searches&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=_introspection sourcetype=splunk_resource_usage data.search_props.sid::* data.search_props.mode!=RT data.search_props.user!="splunk-system-user"&lt;BR /&gt;| eval process = 'data.process'&lt;BR /&gt;| eval args = 'data.args'&lt;BR /&gt;| eval pid = 'data.pid'&lt;BR /&gt;| eval ppid = 'data.ppid'&lt;BR /&gt;| eval elapsed = 'data.elapsed'&lt;BR /&gt;| eval mem_used = 'data.mem_used'&lt;BR /&gt;| eval mem = 'data.mem'&lt;BR /&gt;| eval pct_memory = 'data.pct_memory'&lt;BR /&gt;| eval pct_cpu = 'data.pct_cpu'&lt;BR /&gt;| eval sid = 'data.search_props.sid'&lt;BR /&gt;| eval app = 'data.search_props.app'&lt;BR /&gt;| eval label = 'data.search_props.label'&lt;BR /&gt;| eval type = 'data.search_props.type'&lt;BR /&gt;| eval mode = 'data.search_props.mode'&lt;BR /&gt;| eval user = 'data.search_props.user'&lt;BR /&gt;| eval role = 'data.search_props.role'&lt;BR /&gt;| eval label = if(isnotnull('data.search_props.label'), 'data.search_props.label', "")&lt;BR /&gt;| eval provenance = if(isnotnull('data.search_props.provenance'), 'data.search_props.provenance', "unknown")&lt;BR /&gt;| eval search_head = case(isnotnull('data.search_props.search_head') AND 'data.search_props.role' == "peer", 'data.search_props.search_head', isnull('data.search_props.search_head') AND 'data.search_props.role' == "head", "_self", isnull('data.search_props.search_head') AND 'data.search_props.role' == "peer", "_unknown")&lt;BR /&gt;| eval search_label = if('label'!="", 'label', 'sid')&lt;BR /&gt;| eval instance = if(isnotnull(dns_alt_name), dns_alt_name, host)&lt;BR /&gt;| stats max(elapsed) as runtime max(mem_used) as mem_used earliest(_time) as _time by search_label, provenance, type, mode, app, role, user, instance&lt;BR /&gt;| eval mem_used = round(mem_used, 2)&lt;BR /&gt;| sort 20 - mem_used, runtime&lt;BR /&gt;| eval runtime = tostring(round(runtime, 2), "duration")&lt;BR /&gt;| fields search_label, provenance, mem_used, instance, runtime, _time, type, mode, app, user, role&lt;BR /&gt;| eval _time=strftime(_time,"%+")&lt;BR /&gt;| rename search_label as Name, provenance as Provenance, mem_used as "Memory Usage (KB)", instance as Instance, runtime as "Search Duration", _time as Started, type as Type, mode as Mode, app as App, user as User, role as Role&lt;BR /&gt;| appendpipe&lt;BR /&gt;[ stats count&lt;BR /&gt;| eval Name="data unavailable"&lt;BR /&gt;| where count==0&lt;BR /&gt;| table Name ]&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 18:17:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-find-out-the-high-memory-usage-searches-on-the-Splunk/m-p/636758#M9447</guid>
      <dc:creator>NareshKilaru</dc:creator>
      <dc:date>2023-03-30T18:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: I need to find out the high memory usage searches on the Splunk search heads</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-find-out-the-high-memory-usage-searches-on-the-Splunk/m-p/636759#M9448</link>
      <description>&lt;P&gt;Thankyou This is what I am looking for.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 18:22:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-find-out-the-high-memory-usage-searches-on-the-Splunk/m-p/636759#M9448</guid>
      <dc:creator>abhisplunk1</dc:creator>
      <dc:date>2023-03-30T18:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: I need to find out the high memory usage searches on the Splunk search heads</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-find-out-the-high-memory-usage-searches-on-the-Splunk/m-p/741482#M10779</link>
      <description>&lt;P&gt;Hi, in the SPL query,&amp;nbsp;&lt;SPAN&gt;rename&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;mem_used as "Memory Usage (KB)" &amp;gt;&amp;gt;&amp;gt; It should be in MB instead.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 22:41:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-find-out-the-high-memory-usage-searches-on-the-Splunk/m-p/741482#M10779</guid>
      <dc:creator>VLaw</dc:creator>
      <dc:date>2025-03-11T22:41:22Z</dc:date>
    </item>
  </channel>
</rss>

