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!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...