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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...