<?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 to display values in xyseries format? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238559#M70878</link>
    <description>&lt;P&gt;Thank you Sundaresh for your answer.&lt;BR /&gt;
i have attached the format,i am looking for table something like this&lt;/P&gt;

&lt;P&gt;there should be multiple values from app server1 to HSMLuna1 like ESTABLSIHED,SYNC_SENT &lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/1982iF6AD7FED4F8090D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Oct 2016 23:14:44 GMT</pubDate>
    <dc:creator>rajgowd1</dc:creator>
    <dc:date>2016-10-06T23:14:44Z</dc:date>
    <item>
      <title>How to display values in xyseries format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238557#M70876</link>
      <description>&lt;P&gt;How to display values in xyseries format? i have log like below&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;tcp        0      0 12b8-splfwd02.nam.nsro:7171 poc-citi-luna1.nam.ns:50326 ESTABLISHED
tcp        0      0 12b8-splfwd02.nam.nsro:7171 poc-citi-luna1.nam.ns:50326 TIME_WAIT
tcp        0      0 12b8-splfwd02.nam.nsro:7171 poc-citi-luna2.nam.ns:50326 TIME_WAIT
tcp        0      0 12b8-splfwd02.nam.nsro:7171 poc-citi-luna3.nam.ns:50326 ESTABLISHED
tcp        0      0 12b8-splfwd02.nam.nsro:7171 poc-citi-luna4.nam.ns:50326 SYNC_SENT
tcp        0      0 12b8-splfwd03.nam.nsro:7171 poc-citi-luna1.nam.ns:46756 TIME_WAIT
tcp        0      0 12b8-splfwd03.nam.nsro:7171 poc-citi-luna1.nam.ns:46756 SYNC_SENT
tcp        0      0 12b8-splfwd03.nam.nsro:7171 poc-citi-luna2.nam.ns:46756 TIME_WAIT
tcp        0      0 12b8-splfwd03.nam.nsro:7171 poc-citi-luna3.nam.ns:46756 TIME_WAIT
tcp        0      0 12b8-splfwd03.nam.nsro:7171 poc-citi-luna4.nam.ns:46756 ESTABLISHED
tcp        0      0 12b8-splfwd04.nam.nsro:7171 poc-citi-luna1.nam.ns:46756 TIME_WAIT
tcp        0      0 12b8-splfwd04.nam.nsro:7171 poc-citi-luna3.nam.ns:46756 SYNC_SENT
tcp        0      0 12b8-splfwd04.nam.nsro:7171 poc-citi-luna2.nam.ns:46756 SYNC_SENT
tcp        0      0 12b8-splfwd04.nam.nsro:7171 poc-citi-luna4.nam.ns:46756 ESTABLISHED
tcp        0      0 12b8-splfwd04.nam.nsro:7171 poc-citi-luna2.nam.ns:46756 ESTABLISHED
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;when i index, it is displaying only one status which is in last column but it is ignoring other values &lt;BR /&gt;
below is the search command i am using&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=netstat | xyseries host HSM CONN_STATUS
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 06 Oct 2016 22:01:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238557#M70876</guid>
      <dc:creator>rajgowd1</dc:creator>
      <dc:date>2016-10-06T22:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to display values in xyseries format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238558#M70877</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=netstat | rex "(?&amp;lt;host&amp;gt;12[^\s]+)\s(?&amp;lt;HSM&amp;gt;[^\s]+)\s(?&amp;lt;CONN_STATUS&amp;gt;.*)" | table host  HSM  CONN_STATUS
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 06 Oct 2016 22:27:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238558#M70877</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-10-06T22:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to display values in xyseries format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238559#M70878</link>
      <description>&lt;P&gt;Thank you Sundaresh for your answer.&lt;BR /&gt;
i have attached the format,i am looking for table something like this&lt;/P&gt;

&lt;P&gt;there should be multiple values from app server1 to HSMLuna1 like ESTABLSIHED,SYNC_SENT &lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/1982iF6AD7FED4F8090D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 23:14:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238559#M70878</guid>
      <dc:creator>rajgowd1</dc:creator>
      <dc:date>2016-10-06T23:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to display values in xyseries format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238560#M70879</link>
      <description>&lt;P&gt;have you tried a &lt;CODE&gt;|chart values(CONN_STATUS) by host HSM&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2016 00:32:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238560#M70879</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2016-10-07T00:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to display values in xyseries format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238561#M70880</link>
      <description>&lt;P&gt;HI,&lt;BR /&gt;
i just tried and somehow it showing NULL and TIME_OUT in Column headers and with values below&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2016 00:50:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238561#M70880</guid>
      <dc:creator>rajgowd1</dc:creator>
      <dc:date>2016-10-07T00:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to display values in xyseries format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238562#M70881</link>
      <description>&lt;P&gt;Did you regex the logs to get the correct fields and values? &lt;CODE&gt;| rex "(?&amp;lt;host&amp;gt;12[^\s]+)\s(?&amp;lt;HSM&amp;gt;[^\s]+)\s(?&amp;lt;CONN_STATUS&amp;gt;.*)"&lt;/CODE&gt; splits it out, thanks to sundareshr. &lt;/P&gt;

&lt;P&gt;Do any of the logs have null values or a TIME_OUT value in place of CONN_STATUS/host/HSM?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:18:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238562#M70881</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2020-09-29T11:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to display values in xyseries format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238563#M70882</link>
      <description>&lt;P&gt;Thank you  chart is working.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2016 01:19:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238563#M70882</guid>
      <dc:creator>rajgowd1</dc:creator>
      <dc:date>2016-10-07T01:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to display values in xyseries format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238564#M70883</link>
      <description>&lt;P&gt;is there way to count how many established and how many are in TIME_WAIT ?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2016 01:27:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238564#M70883</guid>
      <dc:creator>rajgowd1</dc:creator>
      <dc:date>2016-10-07T01:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to display values in xyseries format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238565#M70884</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;|chart values(CONN_STATUS) count by host HSM
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;might work?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2016 15:09:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238565#M70884</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2016-10-07T15:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to display values in xyseries format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238566#M70885</link>
      <description>&lt;P&gt;HI Merriman,&lt;BR /&gt;
it is displaying the count but not individually.&lt;/P&gt;

&lt;P&gt;suppose if i  have appsrv1 to hsm2 CONN_STATUS are like 3 ESTABLISHED,1 TIME_WAIT and 1 SYNC_SENT &lt;BR /&gt;
and it totaly displaying count as 5&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:19:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238566#M70885</guid>
      <dc:creator>rajgowd1</dc:creator>
      <dc:date>2020-09-29T11:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to display values in xyseries format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238567#M70886</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;..| rex "(?12[^\s]+)\s(?[^\s]+)\s(?.*)"|eventstats count by CONN_STATUS host HSM|eval countConnStatus=count+" - "+CONN_STATUS|chart values(countConnStatus) by host HSM
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;the eventstats should get you how many times the CONN_STATUS was seen at each host/HSM, then concatenate them together with the eval and values in the chart.&lt;/P&gt;

&lt;P&gt;That is, if I understood what you're trying to get.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2016 15:33:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238567#M70886</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2016-10-07T15:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to display values in xyseries format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238568#M70887</link>
      <description>&lt;P&gt;Perfect.Thank you Merriman.&lt;BR /&gt;
i am new to splunk and not expert in writing regular expression.it would be great if you explain this expression so that everyone will learn.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;rex "(?12[^\s]+)\s(?[^\s]+)\s(?.*)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 07 Oct 2016 16:01:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238568#M70887</guid>
      <dc:creator>rajgowd1</dc:creator>
      <dc:date>2016-10-07T16:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to display values in xyseries format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238569#M70888</link>
      <description>&lt;P&gt;&lt;A href="https://regex101.com/"&gt;https://regex101.com/&lt;/A&gt; is a great place to learn/practice regex&lt;/P&gt;

&lt;P&gt;so what (?12[^\s]+)\s(?[^\s]+)\s(?.&lt;EM&gt;) is doing is naming the first group host and starting it when it sees '12' stopping at a white space (\s) the second group is HSM and then stops at the next white space. the last group is CONN_STATUS and collects everything until the end of the string (.&lt;/EM&gt;)&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2016 16:12:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238569#M70888</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2016-10-07T16:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to display values in xyseries format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238570#M70889</link>
      <description>&lt;P&gt;its really great to talk to you.Thank you Merriman.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2016 16:19:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238570#M70889</guid>
      <dc:creator>rajgowd1</dc:creator>
      <dc:date>2016-10-07T16:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to display values in xyseries format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238571#M70890</link>
      <description>&lt;P&gt;HI Merriman,&lt;BR /&gt;
i am trying to extract columns 4 and 5 from below out put &lt;BR /&gt;
but when i extract  4th column 2a8-splfwd02.nsm.nsro , it is not selecting servers with IP address and same happining for 5th column also&lt;/P&gt;

&lt;P&gt;tcp        0      0 12a8-splfwd02.nsm.nsro:7171 poc-hsm-luna1.nam.ns:50326 ESTABLISHED&lt;BR /&gt;
tcp        0      0 12a8-splfwd02.nsm.nsro:7171 poc-hsm-luna2.nam.ns:46756 ESTABLISHED&lt;/P&gt;

&lt;P&gt;tcp        0      0 vr-fc4c-1259.nsm.nsro:35802 poc-hsm-luna1.nam:ibm-dt-2 ESTABLISHED&lt;BR /&gt;
tcp        0      0 vr-fc4c-1259.nsm.nsro:50895 poc-hsm-luna1.nam:ibm-dt-2 ESTABLISHED&lt;BR /&gt;
tcp        0      0 vr-fc4c-1259.nam.nsro:38448 poc-hsm-luna2.nam:ibm-dt-2 ESTABLISHED&lt;BR /&gt;
tcp        0      0 vr-fc4c-1259.nsm.nsro:53541 poc-hsm-luna2.nam:ibm-dt-2 ESTABLISHED&lt;/P&gt;

&lt;P&gt;tcp        0      0 122.96.150.153:35802         129.172.202.13:1792         ESTABLISHED&lt;BR /&gt;
tcp        0      0 12.96.150.153:50895         139.172.202.13:1792         ESTABLISHED&lt;BR /&gt;
tcp        0      0 13.96.150.153:38448         139.172.202.14:1792         ESTABLISHED&lt;BR /&gt;
tcp        0      0 12.96.150.153:53541         149.172.202.14:1792         ESTABLISHED&lt;/P&gt;

&lt;P&gt;tcp        0      0 128.72.199.71:39650         165.172.202.14:1792         ESTABLISHED&lt;BR /&gt;
tcp        0      0 138.72.199.71:50974         189.172.202.13:1792         ESTABLISHED&lt;/P&gt;

&lt;P&gt;tcp        0      0 sd-98dd-ada7.nam.nsro:39650 poc-hsm-luna2.nam:ibm-dt-2 ESTABLISHED&lt;BR /&gt;
tcp        0      0 sd-98dd-ada7.nam.nsro:50974 poc-hsm-luna1.nam:ibm-dt-2 ESTABLISHED&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2016 18:33:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238571#M70890</guid>
      <dc:creator>rajgowd1</dc:creator>
      <dc:date>2016-10-07T18:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to display values in xyseries format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238572#M70891</link>
      <description>&lt;P&gt;&lt;STRONG&gt;12&lt;/STRONG&gt; - literally means 12 &lt;BR /&gt;
&lt;STRONG&gt;[^\s]&lt;/STRONG&gt; capture everything except space delimiters&lt;BR /&gt;
&lt;STRONG&gt;+&lt;/STRONG&gt; capture one or more, as many times as possible&lt;BR /&gt;
and so on...&lt;/P&gt;

&lt;P&gt;type your regex in &lt;BR /&gt;
regex101.com&lt;BR /&gt;
and you will see on top right corner it will explain you everything about your regex.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Oct 2016 06:06:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-values-in-xyseries-format/m-p/238572#M70891</guid>
      <dc:creator>gokadroid</dc:creator>
      <dc:date>2016-10-15T06:06:29Z</dc:date>
    </item>
  </channel>
</rss>

