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!

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, ...