<?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: How do you display the ulimit values for a group of servers in a chart so that they can be compared? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-the-ulimit-values-for-a-group-of-servers-in-a/m-p/378124#M174000</link>
    <description>&lt;P&gt;So &lt;CODE&gt;index=_internal source=*splunkd.log ulimit host="xxxxxxxxxxxx.com"&lt;/CODE&gt; gives the result as you are showing, with that data in the event_message field?&lt;/P&gt;

&lt;P&gt;Then I don't follow why the below wouldn't work.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal source=*splunkd.log ulimit host="xxxxxxxxxxxx.com"
| rex field=event_message "cpu time: (?&amp;lt;cpu_time&amp;gt;\S+)"
| stats latest(cpu_time) by host
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 21 Dec 2018 07:13:24 GMT</pubDate>
    <dc:creator>FrankVl</dc:creator>
    <dc:date>2018-12-21T07:13:24Z</dc:date>
    <item>
      <title>How do you display the ulimit values for a group of servers in a chart so that they can be compared?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-the-ulimit-values-for-a-group-of-servers-in-a/m-p/378121#M173997</link>
      <description>&lt;P&gt;index=_internal host=* source=*splunkd.log ulimit is what I found that works. I would to make sure that certain groups of servers have the same ulimit settings for consistency and to meet  or exceed Splunk recommendations.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Dec 2018 15:23:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-the-ulimit-values-for-a-group-of-servers-in-a/m-p/378121#M173997</guid>
      <dc:creator>rholm01</dc:creator>
      <dc:date>2018-12-19T15:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do you display the ulimit values for a group of servers in a chart so that they can be compared?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-the-ulimit-values-for-a-group-of-servers-in-a/m-p/378122#M173998</link>
      <description>&lt;P&gt;You'd first have to write a few rex commands to extract the ulimit values from those events, for example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rex field=event_message "cpu time: (?&amp;lt;cpu_time&amp;gt;\S+)"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And then the same for the other limits.&lt;/P&gt;

&lt;P&gt;then add something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| stats latest(cpu_time) latest(open_files) by host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;adding such a latest() for each extracted limit field.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 14:51:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-the-ulimit-values-for-a-group-of-servers-in-a/m-p/378122#M173998</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-12-20T14:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do you display the ulimit values for a group of servers in a chart so that they can be compared?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-the-ulimit-values-for-a-group-of-servers-in-a/m-p/378123#M173999</link>
      <description>&lt;P&gt;I did not get any results for the following:&lt;BR /&gt;
| rex field=event_message "cpu time: (?\S+)" | stats latest(cpu_time) by host&lt;/P&gt;

&lt;P&gt;Running the following command I get the ulimits value for one of my hosts (blanked out the host name:&lt;BR /&gt;
index=_internal source=*splunkd.log ulimit host="xxxxxxxxxxxx.com"&lt;/P&gt;

&lt;P&gt;event_message&lt;BR /&gt;
Linux vm.overcommit setting, value="0"&lt;BR /&gt;
Linux transparent hugepage support, enabled="never" defrag="never"&lt;BR /&gt;
Limit: cpu time: unlimited&lt;BR /&gt;
Limit: user processes: 16000 processes&lt;BR /&gt;
Limit: open files: 64000 files [hard maximum: 1048576 files]&lt;BR /&gt;
Limit: data file size: unlimited&lt;BR /&gt;
Core file generation disabled.&lt;BR /&gt;
Limit: core file size: 0 bytes [hard maximum: unlimited]&lt;BR /&gt;
Limit: stack size: 8388608 bytes [hard maximum: unlimited]&lt;BR /&gt;
Limit: resident memory size: unlimited&lt;BR /&gt;
Limit: data segment size: unlimited&lt;BR /&gt;
Limit: virtual address space size: unlimited&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:31:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-the-ulimit-values-for-a-group-of-servers-in-a/m-p/378123#M173999</guid>
      <dc:creator>rholm01</dc:creator>
      <dc:date>2020-09-29T22:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do you display the ulimit values for a group of servers in a chart so that they can be compared?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-the-ulimit-values-for-a-group-of-servers-in-a/m-p/378124#M174000</link>
      <description>&lt;P&gt;So &lt;CODE&gt;index=_internal source=*splunkd.log ulimit host="xxxxxxxxxxxx.com"&lt;/CODE&gt; gives the result as you are showing, with that data in the event_message field?&lt;/P&gt;

&lt;P&gt;Then I don't follow why the below wouldn't work.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal source=*splunkd.log ulimit host="xxxxxxxxxxxx.com"
| rex field=event_message "cpu time: (?&amp;lt;cpu_time&amp;gt;\S+)"
| stats latest(cpu_time) by host
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 21 Dec 2018 07:13:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-the-ulimit-values-for-a-group-of-servers-in-a/m-p/378124#M174000</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-12-21T07:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do you display the ulimit values for a group of servers in a chart so that they can be compared?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-the-ulimit-values-for-a-group-of-servers-in-a/m-p/378125#M174001</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;|rest /services/server/sysinfo  | stats  values(ulimit) by splunk_server 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Straing from Splunk web UI in 2 seconds&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 23:54:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-display-the-ulimit-values-for-a-group-of-servers-in-a/m-p/378125#M174001</guid>
      <dc:creator>valiquet</dc:creator>
      <dc:date>2018-12-21T23:54:05Z</dc:date>
    </item>
  </channel>
</rss>

