Dashboards & Visualizations

Embed a video present in my local to Splunk Dashboard

nagar57
Communicator

I want to embed a video present in my local machine into my Splunk Dashboard. I want to move it to Splunk Folder(../app/static) or some other location inside the Splunk folder and then want it to appear on my Splunk Dashboard. Is that possible? If yes, Please guide me to achieve this.
I haven't tried anything yet as I am not sure from where I should start doing this POC.
TIA !!

0 Karma
1 Solution

vnravikumar
Champion

Hi

Try this, I had verified in chrome Version 80.0.3987.106. The video I placed under search app (apps\search\appserver\static)

<dashboard>
  <label>video</label>
  <row>
    <html>
      <video width="320" height="240" controls="true" autoplay="true" muted="true">
        <source src="/static/app/search/test.mp4" type="video/mp4"/>
      </video>
    </html>
  </row>
</dashboard>

View solution in original post

vnravikumar
Champion

Hi

Try this, I had verified in chrome Version 80.0.3987.106. The video I placed under search app (apps\search\appserver\static)

<dashboard>
  <label>video</label>
  <row>
    <html>
      <video width="320" height="240" controls="true" autoplay="true" muted="true">
        <source src="/static/app/search/test.mp4" type="video/mp4"/>
      </video>
    </html>
  </row>
</dashboard>

View solution in original post

nagar57
Communicator

It Worked. But autoplay="false" is not working. I don't want the vide getting autoplayed.

0 Karma
Register for .conf21 Now! Go Vegas or Go Virtual!

How will you .conf21? You decide! Go in-person in Las Vegas, 10/18-10/21, or go online with .conf21 Virtual, 10/19-10/20.