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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...