<?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: Need Guidance on Formatting SPL Output for Individual Machine Values in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Need-Guidance-on-Formatting-SPL-Output-for-Individual-Machine/m-p/687021#M56233</link>
    <description>&lt;P&gt;Thanks for the reply&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/79189"&gt;@deepakc&lt;/a&gt;&amp;nbsp; , but that didn't work for me&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 09 May 2024 11:30:07 GMT</pubDate>
    <dc:creator>sanjai</dc:creator>
    <dc:date>2024-05-09T11:30:07Z</dc:date>
    <item>
      <title>Need Guidance on Formatting SPL Output for Individual Machine Values</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Need-Guidance-on-Formatting-SPL-Output-for-Individual-Machine/m-p/686998#M56231</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I'm currently working on a Dashboard to visualize Database latency across various machines, and I'm encountering an issue with the Line Chart's SPL (Search Processing Language). The SPL requirement is to retrieve all values of the field ms_per_block grouped by ds_file_path and machine.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's my SPL:&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;index=development sourcetype=custom_function user_action=database_test ds_file=*&lt;BR /&gt;| eval ds_file_path=ds_path."\\".ds_file&lt;BR /&gt;| search ds_file_path="\\\\swmfs\\orca_db_january_2024\\type\\rwo.ds"&lt;BR /&gt;| chart values(ms_per_block) by ds_file_path machine&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;My result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sanjai_1-1715242504369.png" style="width: 715px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30749iFE88D028D40E54D2/image-dimensions/715x84?v=v2" width="715" height="84" role="button" title="sanjai_1-1715242504369.png" alt="sanjai_1-1715242504369.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My goal is to have the output where each &lt;/SPAN&gt;ds_file_path&lt;SPAN&gt; value is listed in individual rows along with the corresponding &lt;/SPAN&gt;machine&lt;SPAN&gt; and &lt;/SPAN&gt;ms_per_block&lt;SPAN&gt; values in separate rows. I've tried using the &lt;/SPAN&gt;table&lt;SPAN&gt; command:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;| table ds_file_path, machine, ms_per_block&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sanjai_2-1715248060530.png" style="width: 637px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30750i39E1FB0F55DFB1EB/image-dimensions/637x74?v=v2" width="637" height="74" role="button" title="sanjai_2-1715248060530.png" alt="sanjai_2-1715248060530.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But this doesn't give me the desired output. The machine name is under a field, whereas I need the machine name to be a separate field, each containing its respective &lt;/SPAN&gt;ms_per_block&lt;SPAN&gt; value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I feel like I'm missing something here. Any guidance on how to achieve this would be greatly appreciated. Thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 09:52:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Need-Guidance-on-Formatting-SPL-Output-for-Individual-Machine/m-p/686998#M56231</guid>
      <dc:creator>sanjai</dc:creator>
      <dc:date>2024-05-09T09:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Need Guidance on Formatting SPL Output for Individual Machine Values</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Need-Guidance-on-Formatting-SPL-Output-for-Individual-Machine/m-p/687017#M56232</link>
      <description>&lt;P&gt;Have a look ta the transpose command, see the examples, this may work for you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/latest/SearchReference/Transpose" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/latest/SearchReference/Transpose&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 11:08:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Need-Guidance-on-Formatting-SPL-Output-for-Individual-Machine/m-p/687017#M56232</guid>
      <dc:creator>deepakc</dc:creator>
      <dc:date>2024-05-09T11:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Need Guidance on Formatting SPL Output for Individual Machine Values</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Need-Guidance-on-Formatting-SPL-Output-for-Individual-Machine/m-p/687021#M56233</link>
      <description>&lt;P&gt;Thanks for the reply&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/79189"&gt;@deepakc&lt;/a&gt;&amp;nbsp; , but that didn't work for me&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 11:30:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Need-Guidance-on-Formatting-SPL-Output-for-Individual-Machine/m-p/687021#M56233</guid>
      <dc:creator>sanjai</dc:creator>
      <dc:date>2024-05-09T11:30:07Z</dc:date>
    </item>
  </channel>
</rss>

