<?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 how to align values on X-axis in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/how-to-align-values-on-X-axis/m-p/676933#M11349</link>
    <description>&lt;P&gt;Iam trying to align values on X-axis in this order :&amp;nbsp;"&amp;gt;3 days"&amp;nbsp;"&amp;gt;5 days"&amp;nbsp;"&amp;gt;15 days"&amp;nbsp;"&amp;gt;30 days"&amp;nbsp;"&amp;gt;100 days"&lt;BR /&gt;I have tried table command but its not giving me the expected output.&lt;BR /&gt;&lt;BR /&gt;query:&lt;BR /&gt;|inputlookup acn_ticket_unresolved_dessertholdings_kv&lt;BR /&gt;| eval age=((now() - epoc_time_submitted)/86400),total_age=round(age,2)&lt;BR /&gt;|rangemap field=total_age "&amp;gt;3 days"=0-3.00 "&amp;gt;5 days"=3.01-15.00 "&amp;gt;15 days"=15.01-30.00 "&amp;gt;30 days"=30.01-100.00 "&amp;gt;100 days"=100.01-1000.00&lt;BR /&gt;| chart count as count1 over range by priority | rename priority as Priority&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="krishna1_0-1707368896056.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/29301i83C93368453EEF72/image-size/large?v=v2&amp;amp;px=999" role="button" title="krishna1_0-1707368896056.png" alt="krishna1_0-1707368896056.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Feb 2024 05:14:49 GMT</pubDate>
    <dc:creator>krishna1</dc:creator>
    <dc:date>2024-02-08T05:14:49Z</dc:date>
    <item>
      <title>how to align values on X-axis</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/how-to-align-values-on-X-axis/m-p/676933#M11349</link>
      <description>&lt;P&gt;Iam trying to align values on X-axis in this order :&amp;nbsp;"&amp;gt;3 days"&amp;nbsp;"&amp;gt;5 days"&amp;nbsp;"&amp;gt;15 days"&amp;nbsp;"&amp;gt;30 days"&amp;nbsp;"&amp;gt;100 days"&lt;BR /&gt;I have tried table command but its not giving me the expected output.&lt;BR /&gt;&lt;BR /&gt;query:&lt;BR /&gt;|inputlookup acn_ticket_unresolved_dessertholdings_kv&lt;BR /&gt;| eval age=((now() - epoc_time_submitted)/86400),total_age=round(age,2)&lt;BR /&gt;|rangemap field=total_age "&amp;gt;3 days"=0-3.00 "&amp;gt;5 days"=3.01-15.00 "&amp;gt;15 days"=15.01-30.00 "&amp;gt;30 days"=30.01-100.00 "&amp;gt;100 days"=100.01-1000.00&lt;BR /&gt;| chart count as count1 over range by priority | rename priority as Priority&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="krishna1_0-1707368896056.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/29301i83C93368453EEF72/image-size/large?v=v2&amp;amp;px=999" role="button" title="krishna1_0-1707368896056.png" alt="krishna1_0-1707368896056.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 05:14:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/how-to-align-values-on-X-axis/m-p/676933#M11349</guid>
      <dc:creator>krishna1</dc:creator>
      <dc:date>2024-02-08T05:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to align values on X-axis</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/how-to-align-values-on-X-axis/m-p/676952#M11350</link>
      <description>&lt;P&gt;The chart command will sort string lexicographically, so change your range map to deliver numbers (3, 5, 15, 30, 100), then convert to strings after the chart command&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;|inputlookup acn_ticket_unresolved_dessertholdings_kv
| eval age=((now() - epoc_time_submitted)/86400),total_age=round(age,2)
|rangemap field=total_age "3"=0-3.00 "5"=3.01-15.00 "15"=15.01-30.00 "30"=30.01-100.00 "100"=100.01-1000.00
| chart count as count1 over range by priority
| eval range="&amp;gt;".range." days" | rename priority as Priority&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 08 Feb 2024 09:21:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/how-to-align-values-on-X-axis/m-p/676952#M11350</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-02-08T09:21:41Z</dc:date>
    </item>
  </channel>
</rss>

