Cybersecurity Forum

This forum is for all security enthusiasts to discuss Fortinet's latest & evolving technologies and to connect & network with peers in the cybersecurity hemisphere. Share and learn on a broad range of topics like best practices, use cases, integrations and more. For support specific questions/resources, please visit the Support Forum or the Knowledge Base.

raiviva
New Contributor

Splunk Custom Module

I am new in Splunk - as well as in Python and start working on Splunk Custom Module and I have taken reference from Splunk Site Custom Module When I have created Same file structure using Visual Studio 2017 -> Python3 then its give me an error

  • import controllers.module not found
  • import splunk not found
  • import splunk.search not found
  • import splunk.util not found
  • import splunk.entity not found
  • import json from splunk.appserver.mrsparkle.lib not found
  • import lib.util as util not found

Note: I have already imported Splunk SDK  using "pip install splunk-sdk" Still, I can't find any package in the project.

Please, anyone, guide me how to resolve above custom module package error.

If there is any readymade samples are available then please suggest a link.

Thanks in advance

1 REPLY 1
xshkurti
Staff
Staff

@raiviva 
In this forum you will find support for Fortinet products. Splunk is third party product, so you are not in the right place for your query.

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.