<?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: Search String for Connection hangs in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-String-for-Connection-hangs/m-p/473534#M192390</link>
    <description>&lt;P&gt;My issue is that my result are only returning events where the timeendpos is greater than 16 &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Event
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;11/2/19&lt;BR /&gt;
11:57:47.000 PM &lt;BR /&gt;
Nov  2 23:57:47 (SERVER NAME)  debug httpd[12456]: pam_bigip_authz: pam_sm_acct_mgmt returning status SUCCESS&lt;BR /&gt;
eventtype = nix-all-logs    eventtype = nix_security    os  unix host = (HOST)  source =    /var/log/secure sourcetype =    linux_secure timeendpos =   16 timestartpos =   0&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 02:52:23 GMT</pubDate>
    <dc:creator>jsproesser</dc:creator>
    <dc:date>2020-09-30T02:52:23Z</dc:date>
    <item>
      <title>Search String for Connection hangs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-String-for-Connection-hangs/m-p/473530#M192386</link>
      <description>&lt;P&gt;I have been toying around with the task of identifying servers on our network with abnormal connection times . We have a set threshold for normal connection times in our environment. However, I want to get ahead and create an alert based off this report that I will transition to a dashboard. &lt;/P&gt;

&lt;P&gt;The issue I am having is that  I am relatively new to Splunk and still finding my groove in detailed searches. I thought about using eval combined with timestart and timeendpos. &lt;/P&gt;

&lt;P&gt;|eval Connection=timestart-timeend....&lt;/P&gt;

&lt;P&gt;My question to you all is , how far off am I ? Am I putting too much effort into skinning this cat? Does anyone have any recommendations? &lt;/P&gt;

&lt;P&gt;Thanks in advance ! &lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 19:56:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-String-for-Connection-hangs/m-p/473530#M192386</guid>
      <dc:creator>jsproesser</dc:creator>
      <dc:date>2019-11-01T19:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Search String for Connection hangs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-String-for-Connection-hangs/m-p/473531#M192387</link>
      <description>&lt;P&gt;Could you post some sample data and the expected output please. It will be easier for us to analyze &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 21:15:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-String-for-Connection-hangs/m-p/473531#M192387</guid>
      <dc:creator>arjunpkishore5</dc:creator>
      <dc:date>2019-11-01T21:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Search String for Connection hangs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-String-for-Connection-hangs/m-p/473532#M192388</link>
      <description>&lt;P&gt;@jsproesser how many indexers have you got?&lt;/P&gt;

&lt;P&gt;Also what is your current SPL? Have you used Job Inspector to see which are the expensive commands in your search?&lt;/P&gt;

&lt;P&gt;In order for the community to assist you better please provide more details including SPL and data sample. You should mock/anonymize any sensitive information before posting the same.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Nov 2019 01:10:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-String-for-Connection-hangs/m-p/473532#M192388</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-11-02T01:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: Search String for Connection hangs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-String-for-Connection-hangs/m-p/473533#M192389</link>
      <description>&lt;P&gt;niketnilay , &lt;/P&gt;

&lt;P&gt;Below is my rather pedestrian SPL . I have not checked the job inspector. I'm just trying to see if I can further improve my search . &lt;/P&gt;

&lt;P&gt;index=os sourcetype=linux_secure host=*  success&lt;BR /&gt;&lt;BR /&gt;
|eval Difference=timeendpos-timestartpos&lt;BR /&gt;
| stats  count by host,Difference&lt;BR /&gt;&lt;BR /&gt;
| sort  -Difference&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 14:25:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-String-for-Connection-hangs/m-p/473533#M192389</guid>
      <dc:creator>jsproesser</dc:creator>
      <dc:date>2019-11-04T14:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: Search String for Connection hangs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-String-for-Connection-hangs/m-p/473534#M192390</link>
      <description>&lt;P&gt;My issue is that my result are only returning events where the timeendpos is greater than 16 &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Event
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;11/2/19&lt;BR /&gt;
11:57:47.000 PM &lt;BR /&gt;
Nov  2 23:57:47 (SERVER NAME)  debug httpd[12456]: pam_bigip_authz: pam_sm_acct_mgmt returning status SUCCESS&lt;BR /&gt;
eventtype = nix-all-logs    eventtype = nix_security    os  unix host = (HOST)  source =    /var/log/secure sourcetype =    linux_secure timeendpos =   16 timestartpos =   0&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:52:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-String-for-Connection-hangs/m-p/473534#M192390</guid>
      <dc:creator>jsproesser</dc:creator>
      <dc:date>2020-09-30T02:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Search String for Connection hangs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-String-for-Connection-hangs/m-p/473535#M192391</link>
      <description>&lt;P&gt;arjun, &lt;/P&gt;

&lt;P&gt;I have posted an event example below. &lt;/P&gt;

&lt;P&gt;My expected output is a list of servers which are experiencing slow connections that exceed our threshold within my organization. &lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 14:31:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-String-for-Connection-hangs/m-p/473535#M192391</guid>
      <dc:creator>jsproesser</dc:creator>
      <dc:date>2019-11-04T14:31:32Z</dc:date>
    </item>
  </channel>
</rss>

