<?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: Stop automatic formatting from HEX to INT in Splunk Dashboard Studio in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Stop-automatic-formatting-from-HEX-to-INT-in-Splunk/m-p/655778#M53993</link>
    <description>&lt;P&gt;It's going to be a while until it's updated on my end, but I'll mark the answer and reply if it doesn't work, which I hope won't be the case&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Aug 2023 07:39:14 GMT</pubDate>
    <dc:creator>tudorex5</dc:creator>
    <dc:date>2023-08-28T07:39:14Z</dc:date>
    <item>
      <title>How to Stop automatic formatting from HEX to INT in Splunk Dashboard Studio?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Stop-automatic-formatting-from-HEX-to-INT-in-Splunk/m-p/655307#M53901</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am trying to make a table viz in my absolute dashboard studio dashboard. I have a query that has a field called "Failure_Code" that usually presents the hex values (0x18 or 0x12). When developing the query in the search app, the data gets printed in the table statistics as is (in 0x.... format) . That is how I would like it to be printed out in my dashboard.&lt;BR /&gt;&lt;BR /&gt;As soon as I add the query into a table view in a dashboard, it automatically gets converted to int(24, 18...). I am not using any eval, stats or renaming on this field. I tried adding a formatting option on that column, noticed it's automatically set to "number" in the context stanza(formatting function), and modified it to "string" in the JSON source code but it didn't stop the formatting.&amp;nbsp;&lt;BR /&gt;I tried the tonumber(myField,"hex") solution but my field was turned to null, and also replacing hex with 16. I tried printf, nothing seems to work.&lt;BR /&gt;&lt;BR /&gt;Thank you for the help!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 19:52:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Stop-automatic-formatting-from-HEX-to-INT-in-Splunk/m-p/655307#M53901</guid>
      <dc:creator>tudorex5</dc:creator>
      <dc:date>2023-08-23T19:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Stop automatic formatting from HEX to INT in Splunk Dashboard Studio</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Stop-automatic-formatting-from-HEX-to-INT-in-Splunk/m-p/655313#M53902</link>
      <description>&lt;LI-CODE lang="markup"&gt;| eval myField=tostring(myField,"hex")&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 23 Aug 2023 11:54:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Stop-automatic-formatting-from-HEX-to-INT-in-Splunk/m-p/655313#M53902</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-08-23T11:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Stop automatic formatting from HEX to INT in Splunk Dashboard Studio</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Stop-automatic-formatting-from-HEX-to-INT-in-Splunk/m-p/655355#M53908</link>
      <description>&lt;P&gt;Thanks for the quick reply.&lt;/P&gt;&lt;P&gt;Unfortunately, using | eval Failure_Code=tostring(Failure_Code,"hex") turns the entire field to null values :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tudorex5_0-1692801456075.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26942iAB942E30A05BA685/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tudorex5_0-1692801456075.png" alt="tudorex5_0-1692801456075.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here it is, working in a normal search query, without the eval (exact same query, opened from the dashboard panel with the "Open in search" option):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tudorex5_1-1692801514142.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26943i86A84E11F7F56F4A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tudorex5_1-1692801514142.png" alt="tudorex5_1-1692801514142.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And here is the result without the eval, in the dashboard table&amp;nbsp; :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tudorex5_2-1692801578855.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26944i603865A4C8022150/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tudorex5_2-1692801578855.png" alt="tudorex5_2-1692801578855.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Added SS for clarification, in case my question was all over the place.&lt;/P&gt;&lt;P&gt;Can I use some type of sed/replace or something similar to add quotes to my failure_code or force it into a string value any other way? I'd rather just have it print out clean, like in the normal search, but dashboard studio seems to be doing some behind the scenes formatting that I don;t really get the hang of yet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 14:43:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Stop-automatic-formatting-from-HEX-to-INT-in-Splunk/m-p/655355#M53908</guid>
      <dc:creator>tudorex5</dc:creator>
      <dc:date>2023-08-23T14:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Stop automatic formatting from HEX to INT in Splunk Dashboard Studio</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Stop-automatic-formatting-from-HEX-to-INT-in-Splunk/m-p/655360#M53909</link>
      <description>&lt;P&gt;Which version of Splunk are you using?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 15:19:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Stop-automatic-formatting-from-HEX-to-INT-in-Splunk/m-p/655360#M53909</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-08-23T15:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Stop automatic formatting from HEX to INT in Splunk Dashboard Studio</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Stop-automatic-formatting-from-HEX-to-INT-in-Splunk/m-p/655582#M53946</link>
      <description>&lt;P&gt;Enterprise 9.0.0.1&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 06:09:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Stop-automatic-formatting-from-HEX-to-INT-in-Splunk/m-p/655582#M53946</guid>
      <dc:creator>tudorex5</dc:creator>
      <dc:date>2023-08-25T06:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Stop automatic formatting from HEX to INT in Splunk Dashboard Studio</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Stop-automatic-formatting-from-HEX-to-INT-in-Splunk/m-p/655603#M53950</link>
      <description>&lt;P&gt;Please try upgrading to the latest version of Splunk (it works on 9.1.0.2, but not on 8.2.2.1)&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 08:46:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Stop-automatic-formatting-from-HEX-to-INT-in-Splunk/m-p/655603#M53950</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-08-25T08:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Stop automatic formatting from HEX to INT in Splunk Dashboard Studio</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Stop-automatic-formatting-from-HEX-to-INT-in-Splunk/m-p/655778#M53993</link>
      <description>&lt;P&gt;It's going to be a while until it's updated on my end, but I'll mark the answer and reply if it doesn't work, which I hope won't be the case&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 07:39:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Stop-automatic-formatting-from-HEX-to-INT-in-Splunk/m-p/655778#M53993</guid>
      <dc:creator>tudorex5</dc:creator>
      <dc:date>2023-08-28T07:39:14Z</dc:date>
    </item>
  </channel>
</rss>

