<?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: Hi I want to ask &amp;quot; Can I change the number (212),(42) and 181 to the word that I want? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Hi-I-want-to-ask-quot-Can-I-change-the-number-212-42-and-181-to/m-p/413276#M1337</link>
    <description>&lt;P&gt;Hi, can you send through the search from the search bar that made the graph in your original post? (If it is in a dashboard, when you mouseover it, you can select the magnifying lens icon to open the underlying search)&lt;/P&gt;</description>
    <pubDate>Sun, 01 Jul 2018 23:31:23 GMT</pubDate>
    <dc:creator>datasearchninja</dc:creator>
    <dc:date>2018-07-01T23:31:23Z</dc:date>
    <item>
      <title>Hi I want to ask " Can I change the number (212),(42) and 181 to the word that I want?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Hi-I-want-to-ask-quot-Can-I-change-the-number-212-42-and-181-to/m-p/413272#M1333</link>
      <description>&lt;P&gt;Hi I want to ask if there is anyway for me to change the number to the words.&lt;BR /&gt;
For example I want to the number 212 is display as maxis.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 02:38:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Hi-I-want-to-ask-quot-Can-I-change-the-number-212-42-and-181-to/m-p/413272#M1333</guid>
      <dc:creator>khairilfirza</dc:creator>
      <dc:date>2018-06-29T02:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Hi I want to ask " Can I change the number (212),(42) and 181 to the word that I want?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Hi-I-want-to-ask-quot-Can-I-change-the-number-212-42-and-181-to/m-p/413273#M1334</link>
      <description>&lt;P&gt;Yes you can do this with a case statement, so assuming your graph is currently produced like this, where the numbers are in afield call 'line':&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| stats count by line
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You could then do this, defaulting back to the number if you haven't set a value:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval text=case(line=="181","text_for_181",line=="211","text_for_211",line=="212","maxis",line==42","text_for_42",1==1,line)
| stats count by text
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 29 Jun 2018 02:59:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Hi-I-want-to-ask-quot-Can-I-change-the-number-212-42-and-181-to/m-p/413273#M1334</guid>
      <dc:creator>datasearchninja</dc:creator>
      <dc:date>2018-06-29T02:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hi I want to ask " Can I change the number (212),(42) and 181 to the word that I want?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Hi-I-want-to-ask-quot-Can-I-change-the-number-212-42-and-181-to/m-p/413274#M1335</link>
      <description>&lt;P&gt;Thanks Colin for a good answer.&lt;/P&gt;

&lt;P&gt;Unfortunately I'm so beginner in splunk. Can you show me where I should put your code? &lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 03:14:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Hi-I-want-to-ask-quot-Can-I-change-the-number-212-42-and-181-to/m-p/413274#M1335</guid>
      <dc:creator>khairilfirza</dc:creator>
      <dc:date>2018-06-29T03:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Hi I want to ask " Can I change the number (212),(42) and 181 to the word that I want?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Hi-I-want-to-ask-quot-Can-I-change-the-number-212-42-and-181-to/m-p/413275#M1336</link>
      <description>&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/5289i1BBEABE0FCDD67E6/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>Fri, 29 Jun 2018 03:18:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Hi-I-want-to-ask-quot-Can-I-change-the-number-212-42-and-181-to/m-p/413275#M1336</guid>
      <dc:creator>khairilfirza</dc:creator>
      <dc:date>2018-06-29T03:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Hi I want to ask " Can I change the number (212),(42) and 181 to the word that I want?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Hi-I-want-to-ask-quot-Can-I-change-the-number-212-42-and-181-to/m-p/413276#M1337</link>
      <description>&lt;P&gt;Hi, can you send through the search from the search bar that made the graph in your original post? (If it is in a dashboard, when you mouseover it, you can select the magnifying lens icon to open the underlying search)&lt;/P&gt;</description>
      <pubDate>Sun, 01 Jul 2018 23:31:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Hi-I-want-to-ask-quot-Can-I-change-the-number-212-42-and-181-to/m-p/413276#M1337</guid>
      <dc:creator>datasearchninja</dc:creator>
      <dc:date>2018-07-01T23:31:23Z</dc:date>
    </item>
  </channel>
</rss>

