Basic concepts of development
The application is developed in Python 2.7, with the purpose of sharing Python base installation of the Splunk platform (6.x or higher) and has five essential modules:
• config : The application has a configuration file called twitter.conf, where config module can read and write the necessary parameter to the authentication with Twitter API, log files configuration, encrypt, among others. • security:For the security of confidential data(authentication token), this module has what it needs to encrypt and decrypt, based on the key that the user defines in the configuration of the tokens in Splunk. • splunk_read : The purpose of this modules is take all the entered parameters from the Splunk platform and take them to the corresponding module (config, security, service, among others). • service : Responsible to start, stop and restart the service, besides to obtain its status. • twitter : Corresponding to the main module, who will return everything filtered on Twitter.
Besides, JPE_Twitter has its own log files, to make process debug through Splunk or directly looking at log files:
• config.log : Show the ran process by config module, including its problem (if there is any). • service.log : Show the service state and its PID, besides include problems that this service might have. • twitter.log : Show the authentication state with Twitter API and filtered messages from this social network. • splunk_read.log : Show the ran process by splunk_read module, including its problem (if there is any).
For more information consult the documentation.
This version corrects the problems detected in the main presentation of the application and its functionality (services)
JPE_Twitter is a Splunk Application developed in Python, whose purpose is the Twitter Mining and complete integration with the log analysis tool previously mentioned. With JPE_Twitter you’ll can extract of Twitter important information based on words filter, phrases, hashtag, among other and get data indicate what’s happening with our business or service on Twitter, building a development base to sentiment analysis on Twitter.
Splunk AppInspect evaluates Splunk apps against a set of Splunk-defined criteria to assess the validity and security of an app package and components.
As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 50GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps and add-ons from Splunk, our partners and our community. Find an app or add-on for most any data source and user need, or simply create your own with help from our developer portal.