Monitoring Splunk

splunklib.client after importing logs my_app logs in splunkd.log

pbankar
Path Finder

Im using splunklib.client to encrypt the password as -

import splunklib.client as splunk_client
def save_pass(session_key ):
    args = {'token': session_key, 'app': "my_app"}
    service = splunk_client.Service(**args)
    for storage_password in service.storage_passwords:
        if storage_password.username == username and storage_password.realm == realm:
            return storage_password.content.clear_password

Now when I making an API call the INFO logging which is logging into the my_app.log is also logged in the splunkd.log as -

05-22-2018 17:02:48.102 +0530 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/MY_APP/bin/script.py" INFO:MyAppPlatform :Making request: APIdetailsURI

I'm not getting a single clue why is it happening. Please do help.

0 Karma
Get Updates on the Splunk Community!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...