Dashboards & Visualizations

Migration from Classic Dashboard to Studio Dashboard

Mar
Loves-to-Learn Lots

Hello,

I am trying to migrate my dashboard to the new Studio version, splunk did it automatically, but the conversion from the xml to json it is not correct at all.

I have that piece of code in my xml source :

<search>
    <query>
           |makeresults
    </query>
    <earliest>$tk_range_date.earliest$</earliest>
    <latest>$tk_range_date.latest$</latest>
    <progress>
          <eval token="toearliest">strptime($job.earliestTime$, "%Y-%m-%dT%H:%M:%S.%3N%z")</eval>
          <eval token="tolatest">strptime($job.latestTime$, "%Y-%m-%dT%H:%M:%S.%3N%z")</eval>
          <set token="jobearliest">$job.earliestTime$</set>
           <set token="joblatest">$job.latestTime$</set>
    </progress>
</search>

Where and how include it in my json source?

Thank you!

Labels (2)
0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...