Getting Data In

Can we index and monitor image files like PNG and SVG files

rajgowd1
Communicator

Hi,
i am sure this question is valid or not.

we are checking how to implement flame graphs using perl script and got source code from github and referring below url
http://www.brendangregg.com/FlameGraphs/cpuflamegraphs.html

it uses profilers like perf, DTrace, etc and it generates some output. By using perf script we can read and then using perl script, it generates SVG image file.

can we keep all these steps in cronjob and sends output of images to some folder to be indexed?
if YES, how can we show images in Splunk Web?

0 Karma
1 Solution

hunters_splunk
Splunk Employee
Splunk Employee

Hi rajgowd1,

The short answer is No. Splunk cannot extract information from graphic files to interpret them. Splunk was not designed to be an archiving system or multimedia server to index and store unstructured files such as graphics, videos, and PDFs.

Hope this helps. Thanks!
Hunter

View solution in original post

0 Karma

MuS
Legend

Hi rajgowd1,

while @hunters_splunk answer is totally valid, you can take a different approach with Splunk 😉
Use your profilers output as source for Splunk; index the output files in human readable format and use the indexed events in Splunk to create some heat maps (examples here http://blogs.splunk.com/2017/01/10/dashboard-digest-series-episode-5-maps/ ) or maybe even use the D3 flame extension (https://github.com/spiermar/d3-flame-graph) .... lots of possibilities

Hope this helps ...

cheers, MuS

0 Karma

hunters_splunk
Splunk Employee
Splunk Employee

Hi rajgowd1,

The short answer is No. Splunk cannot extract information from graphic files to interpret them. Splunk was not designed to be an archiving system or multimedia server to index and store unstructured files such as graphics, videos, and PDFs.

Hope this helps. Thanks!
Hunter

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...