<?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: tokens and multiselect in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/tokens-and-multiselect/m-p/382812#M25089</link>
    <description>&lt;P&gt;@Mohsin123 seems like the table output in your question is your current search result. Can you show example of expected search result? Also use &lt;CODE&gt;Code button 101010&lt;/CODE&gt; to post SPL and data so that special characters do not escape.&lt;/P&gt;</description>
    <pubDate>Sat, 17 Nov 2018 17:08:17 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2018-11-17T17:08:17Z</dc:date>
    <item>
      <title>tokens and multiselect</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/tokens-and-multiselect/m-p/382805#M25082</link>
      <description>&lt;P&gt;Hi , &lt;BR /&gt;
I have a case like this &lt;/P&gt;

&lt;P&gt;index=i_prod (MemoryCached* OR MemoryTotal*) (host="vr" OR host="vfr") |table _time host MemoryCached*  MemoryTotal*&lt;/P&gt;

&lt;P&gt;i am passing host as muliselect token . MemoryCached and MemoryTotal and similar are fields in my index that are also i am fetching using a multiselect token using fieldsummary .&lt;/P&gt;

&lt;P&gt;Now , i want to display a table statistics":&lt;/P&gt;

&lt;P&gt;coloumns as &lt;/P&gt;

&lt;P&gt;host     MemoryTotal MemoryCached  &lt;/P&gt;

&lt;P&gt;Now , the query i am using above displays host as coloumn names but cant present the selected  token as coloumn names &lt;/P&gt;

&lt;P&gt;I am inteding an output like this &lt;/P&gt;

&lt;P&gt;_time   host    MemoryCached    MemoryTotal&lt;BR /&gt;
2018-11-12 15:30:01 vgax16vr    1876791296  16649756672&lt;BR /&gt;
2018-11-12 16:00:01 vgax16vr    1878134784  16649756672&lt;BR /&gt;
2018-11-12 14:15:01 vgax16vr    1867366400  16649756672&lt;BR /&gt;
2018-11-12 13:30:01 vgax16vr    1880264704  16649756672&lt;BR /&gt;
2018-11-12 12:45:01 vgax17vr    1280692224  16649756672&lt;BR /&gt;
2018-11-12 12:15:02 vgax16vr    1870192640  16649756672&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:58:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/tokens-and-multiselect/m-p/382805#M25082</guid>
      <dc:creator>Mohsin123</dc:creator>
      <dc:date>2020-09-29T21:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: tokens and multiselect</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/tokens-and-multiselect/m-p/382806#M25083</link>
      <description>&lt;P&gt;@renjith.nair &lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 07:18:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/tokens-and-multiselect/m-p/382806#M25083</guid>
      <dc:creator>Mohsin123</dc:creator>
      <dc:date>2018-11-13T07:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: tokens and multiselect</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/tokens-and-multiselect/m-p/382807#M25084</link>
      <description>&lt;P&gt;@niketnilay &lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 07:24:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/tokens-and-multiselect/m-p/382807#M25084</guid>
      <dc:creator>Mohsin123</dc:creator>
      <dc:date>2018-11-13T07:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: tokens and multiselect</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/tokens-and-multiselect/m-p/382808#M25085</link>
      <description>&lt;P&gt;@Mohsin123 can you please add a bit more detail to your question? I feel the above output is what your current query should be providing. If not please share current output and expected output. Also share your current query.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 12:59:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/tokens-and-multiselect/m-p/382808#M25085</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-11-13T12:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: tokens and multiselect</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/tokens-and-multiselect/m-p/382809#M25086</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/201110"&gt;@niketn&lt;/a&gt; &lt;/P&gt;

&lt;P&gt;index=idx_aprod (SwapFree OR MemoryTotal*) (host="*") source=Apigssor &lt;/P&gt;

&lt;P&gt;| table _time host MemoryTotal SwapFree&lt;/P&gt;

&lt;P&gt;Problem is : &lt;BR /&gt;
multiselct tokens:&lt;BR /&gt;
these are fields : (SwapFree OR MemoryTotal*) &lt;BR /&gt;
host is a field : (host="&lt;EM&gt;")&lt;BR /&gt;
host i can display as stats table , but when i am passing fields like swap&lt;/EM&gt;/memory* as tokens how to extract them and display as coloiumn values ...&lt;BR /&gt;
hope u understand...if u wont mind, can u share your phone number&lt;BR /&gt;
My results :&lt;/P&gt;

&lt;P&gt;_time   host    MemoryTotal SwapFree&lt;BR /&gt;
2018-11-13 15:00:02 vgax77vr    16649756672 9793662976&lt;BR /&gt;
2018-11-13 15:00:02 vgax29vr    16649756672 9746841600&lt;BR /&gt;
2018-11-13 15:00:01 vgax22vr    16649756672 10090438656&lt;BR /&gt;
2018-11-13 15:00:02 vgax78vr    16649756672 9784999936&lt;BR /&gt;
2018-11-13 15:00:01&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:02:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/tokens-and-multiselect/m-p/382809#M25086</guid>
      <dc:creator>Mohsin123</dc:creator>
      <dc:date>2020-09-29T22:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: tokens and multiselect</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/tokens-and-multiselect/m-p/382810#M25087</link>
      <description>&lt;P&gt;the results i am getting under host are values for the token host .&lt;BR /&gt;
but memory* and Swap* are the field names i am [passing as tokens .&lt;BR /&gt;
And i want to display their values for each host .&lt;BR /&gt;
is there a way to create a new field for each token ...like $1=memoryfree , $2=swapfree&lt;BR /&gt;
and i can display  | table host $1 $2  &lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 15:34:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/tokens-and-multiselect/m-p/382810#M25087</guid>
      <dc:creator>Mohsin123</dc:creator>
      <dc:date>2018-11-13T15:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: tokens and multiselect</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/tokens-and-multiselect/m-p/382811#M25088</link>
      <description>&lt;P&gt;we create fields to tokens , here i want to create fields /colomns for each token value&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 15:36:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/tokens-and-multiselect/m-p/382811#M25088</guid>
      <dc:creator>Mohsin123</dc:creator>
      <dc:date>2018-11-13T15:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: tokens and multiselect</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/tokens-and-multiselect/m-p/382812#M25089</link>
      <description>&lt;P&gt;@Mohsin123 seems like the table output in your question is your current search result. Can you show example of expected search result? Also use &lt;CODE&gt;Code button 101010&lt;/CODE&gt; to post SPL and data so that special characters do not escape.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Nov 2018 17:08:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/tokens-and-multiselect/m-p/382812#M25089</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-11-17T17:08:17Z</dc:date>
    </item>
  </channel>
</rss>

