Getting Data In

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

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

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

SplunkTrust
SplunkTrust

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

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