<?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: Markdown Text and Job Metadata format in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Markdown-Text-and-Job-Metadata-format/m-p/751243#M59071</link>
    <description>&lt;P&gt;Any thoughts why it is showing in GMT?&amp;nbsp; It is currently 4 hours ahead, I am EST.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"ds_LYYZ83TP": {
   "name": "LastUpdatedAuthByResults",
   "options": {
      "enableSmartSources": true,
      "query": "| makeresults | eval _time=\"$AuthorizationsBySource:job.lastUpdated$\", unixTimeStamp=strptime(_time, \"%Y-%m-%dT%H:%M:%S.%QZ\"), friendlyTime=strftime(unixTimeStamp,\"%Y-%m-%d %H:%M:%S\")"
   },
   "type": "ds.search"
},&lt;/LI-CODE&gt;&lt;P&gt;My user preferences have my Time Zone as (GMT-400) Eastern Time (US &amp;amp; Canada)&lt;/P&gt;&lt;P&gt;My current time is 19:18:01&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Wooly_0-1754608713795.png" style="width: 461px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/39888iD6B71EA402DACDBD/image-dimensions/461x286?v=v2" width="461" height="286" role="button" title="Wooly_0-1754608713795.png" alt="Wooly_0-1754608713795.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Aug 2025 23:25:05 GMT</pubDate>
    <dc:creator>Wooly</dc:creator>
    <dc:date>2025-08-07T23:25:05Z</dc:date>
    <item>
      <title>Markdown Text and Job Metadata format</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Markdown-Text-and-Job-Metadata-format/m-p/751229#M59066</link>
      <description>&lt;P&gt;Currently using Dashboard classic and added Markdown Text to the bottom of my pie chart to inform the user when the data was last update.&amp;nbsp; Is there a way in the Markdown Text to format&amp;nbsp;&lt;STRONG&gt;job.lastUpdated? &lt;/STRONG&gt;It is currently showing in Zulu.&lt;/P&gt;&lt;P&gt;I was also thinking of putting it in the description field, if possible.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-08-07 at 2.50.44 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/39886iC16B9C4F6C6BA622/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-08-07 at 2.50.44 PM.png" alt="Screenshot 2025-08-07 at 2.50.44 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 18:58:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Markdown-Text-and-Job-Metadata-format/m-p/751229#M59066</guid>
      <dc:creator>Wooly</dc:creator>
      <dc:date>2025-08-07T18:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Markdown Text and Job Metadata format</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Markdown-Text-and-Job-Metadata-format/m-p/751232#M59067</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/312226"&gt;@Wooly&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could set a token with eval such as:&lt;/P&gt;&lt;PRE&gt;&amp;lt;search id="base"&amp;gt;
  &amp;lt;query&amp;gt;index=something etc..etc...&amp;lt;/query&amp;gt;
  &amp;lt;done&amp;gt;
    &amp;lt;eval token="lastUpdated"&amp;gt;strftime(now(),"%d/%m/%Y, %I:%M %p")&amp;lt;/eval&amp;gt;
  &amp;lt;/done&amp;gt;
&amp;lt;/search&amp;gt;&lt;/PRE&gt;&lt;P&gt;Then you could reference with $lastUpdated$&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 20:11:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Markdown-Text-and-Job-Metadata-format/m-p/751232#M59067</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-08-07T20:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Markdown Text and Job Metadata format</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Markdown-Text-and-Job-Metadata-format/m-p/751233#M59068</link>
      <description>&lt;P&gt;Just following on from my last message - are you sure this is a classic dashboard and not Dashboard Studio dashboard? Classic XML dashboards dont have the ability to overlay markdown quite like you have in your screenshot?&lt;/P&gt;&lt;P&gt;I'll look at putting together a solution based on Dashboard Studio in the meantime.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 20:12:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Markdown-Text-and-Job-Metadata-format/m-p/751233#M59068</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-08-07T20:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Markdown Text and Job Metadata format</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Markdown-Text-and-Job-Metadata-format/m-p/751236#M59069</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/312226"&gt;@Wooly&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If its for a dashboard studio dashboard then you can use an additional search to convert the time format back to unix timestamp and then to whatever friendly time format you like, such as:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="livehybrid_0-1754598350556.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/39887i2DA2155CAD12A27D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="livehybrid_0-1754598350556.png" alt="livehybrid_0-1754598350556.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here is the JSON for the dashboard for you to play with:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
    "title": "SetLastUpdatedTime",
    "description": "",
    "inputs": {},
    "defaults": {
        "dataSources": {
            "ds.search": {
                "options": {
                    "queryParameters": {
                        "earliest": "$global_time.earliest$",
                        "latest": "$global_time.latest$"
                    }
                }
            }
        },
        "visualizations": {
            "global": {
                "showProgressBar": true
            }
        }
    },
    "visualizations": {
        "viz_MRGXRquA": {
            "options": {
                "fontColor": "#0000ff",
                "markdown": "Last Updated: **$PieSearchLastUpdated:result.friendlyTime$**"
            },
            "type": "splunk.markdown"
        },
        "viz_z5OzyBTT": {
            "dataSources": {
                "primary": "ds_ZBRBhP7a"
            },
            "options": {},
            "type": "splunk.pie"
        }
    },
    "dataSources": {
        "ds_LYYZ83TP": {
            "name": "PieSearchLastUpdated",
            "options": {
                "enableSmartSources": true,
                "query": "| makeresults \n| eval _time=\"$PieSearch:job.lastUpdated$\", unixTimeStamp=strptime(_time, \"%Y-%m-%dT%H:%M:%S.%QZ\"), friendlyTime=strftime(unixTimeStamp,\"%d/%m/%Y %H:%M:%S\")"
            },
            "type": "ds.search"
        },
        "ds_ZBRBhP7a": {
            "name": "PieSearch",
            "options": {
                "enableSmartSources": true,
                "query": "| tstats count where index=_internal earliest=-12h latest=now by host"
            },
            "type": "ds.search"
        }
    },
    "layout": {
        "globalInputs": [],
        "layoutDefinitions": {
            "layout_1": {
                "options": {
                    "display": "auto",
                    "height": 960,
                    "width": 1440
                },
                "structure": [
                    {
                        "item": "viz_z5OzyBTT",
                        "position": {
                            "h": 300,
                            "w": 400,
                            "x": 10,
                            "y": 0
                        },
                        "type": "block"
                    },
                    {
                        "item": "viz_MRGXRquA",
                        "position": {
                            "h": 30,
                            "w": 250,
                            "x": 160,
                            "y": 270
                        },
                        "type": "block"
                    }
                ],
                "type": "absolute"
            }
        },
        "options": {},
        "tabs": {
            "items": [
                {
                    "label": "New tab",
                    "layoutId": "layout_1"
                }
            ]
        }
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 20:26:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Markdown-Text-and-Job-Metadata-format/m-p/751236#M59069</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-08-07T20:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Markdown Text and Job Metadata format</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Markdown-Text-and-Job-Metadata-format/m-p/751240#M59070</link>
      <description>&lt;P&gt;You are correct.&amp;nbsp; This is a Dashboard Studio in Absolute (not Grid).&amp;nbsp; I will try out your suggestion tonight.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 21:29:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Markdown-Text-and-Job-Metadata-format/m-p/751240#M59070</guid>
      <dc:creator>Wooly</dc:creator>
      <dc:date>2025-08-07T21:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Markdown Text and Job Metadata format</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Markdown-Text-and-Job-Metadata-format/m-p/751243#M59071</link>
      <description>&lt;P&gt;Any thoughts why it is showing in GMT?&amp;nbsp; It is currently 4 hours ahead, I am EST.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"ds_LYYZ83TP": {
   "name": "LastUpdatedAuthByResults",
   "options": {
      "enableSmartSources": true,
      "query": "| makeresults | eval _time=\"$AuthorizationsBySource:job.lastUpdated$\", unixTimeStamp=strptime(_time, \"%Y-%m-%dT%H:%M:%S.%QZ\"), friendlyTime=strftime(unixTimeStamp,\"%Y-%m-%d %H:%M:%S\")"
   },
   "type": "ds.search"
},&lt;/LI-CODE&gt;&lt;P&gt;My user preferences have my Time Zone as (GMT-400) Eastern Time (US &amp;amp; Canada)&lt;/P&gt;&lt;P&gt;My current time is 19:18:01&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Wooly_0-1754608713795.png" style="width: 461px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/39888iD6B71EA402DACDBD/image-dimensions/461x286?v=v2" width="461" height="286" role="button" title="Wooly_0-1754608713795.png" alt="Wooly_0-1754608713795.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 23:25:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Markdown-Text-and-Job-Metadata-format/m-p/751243#M59071</guid>
      <dc:creator>Wooly</dc:creator>
      <dc:date>2025-08-07T23:25:05Z</dc:date>
    </item>
  </channel>
</rss>

