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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...