Security

How to host Cgi-bin web pages on my splunk server ?

jumah35
New Member

Hi,

I am using Splunk 6.1.3 to display syslog dashboard on a centos linux server. It works great !

On this server, I have also another network tool called netdbtracking. It relies on html and cgi-bin pages.
Rather than setting up and using another apache instance, I would like to use the embedded splunk web server to process the netdb's cgi. Is it possible to do that ?

I have already followed the following http://answers.splunk.com/answers/4290/create-a-custom-web-page-for-the-splunk-web-server-to-host.ht... but without success...

Anyone could help ?

Regards,
Ju

Tags (2)
0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

That answers link is for static pages, yours are dynamic... Splunk supports the execution of custom Python controllers, so that might require at least some wrapping, if not rewriting of your cgi programs.

I can't find any docs on that, but you can for example look at etc/apps/splunk_datapreview/appserver/controllers for examples - not 100% sure if that's present on 6.1.

View solution in original post

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

That answers link is for static pages, yours are dynamic... Splunk supports the execution of custom Python controllers, so that might require at least some wrapping, if not rewriting of your cgi programs.

I can't find any docs on that, but you can for example look at etc/apps/splunk_datapreview/appserver/controllers for examples - not 100% sure if that's present on 6.1.

0 Karma

jumah35
New Member

Than you for your answer.
Finally, It was easier to add an apache instance to run my perl script.
regards,
Ju

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...