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!

Splunk Enterprise Security 8.0.2 Availability: On cloud and On-premise!

A few months ago, we released Splunk Enterprise Security 8.0 for our cloud customers. Today, we are excited to ...

Logs to Metrics

Logs and Metrics Logs are generally unstructured text or structured events emitted by applications and written ...

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...