Skip to content

Conversation

SinsBre
Copy link
Contributor

@SinsBre SinsBre commented Jul 29, 2025

Previous implementation had broken JSON parsing in splunkToPandas function causing data retrieval failures.

  • Fix splunkToPandas to use JSONResultsReader with proper output_mode
  • Fix regex escape sequence warnings in helper functions
  • Add proper error handling for pagination
  • Clean up notebook structure

This ensures the demo notebook works correctly with current Splunk SDK and maintains clean example code.

Previous implementation had broken JSON parsing in splunkToPandas function
causing data retrieval failures.

* Fix splunkToPandas to use JSONResultsReader with proper output_mode
* Fix regex escape sequence warnings in helper functions
* Add proper error handling for pagination
* Clean up notebook structure

This ensures the demo notebook works correctly with current Splunk SDK
and maintains clean example code.
@SinsBre SinsBre requested a review from DataBoyTX July 29, 2025 23:57
SinsBre added 2 commits July 30, 2025 16:55
Add secure credential management to the Corelight demo notebook while
preserving the Splunk integration fixes.

* Add python-dotenv dependency for environment variable support
* Implement hierarchical configuration: manual > env vars > .env file
* Add comprehensive documentation for all configuration options
* Provide clear success/failure feedback for Graphistry registration
* Maintain backward compatibility with manual configuration
* Fix regex escape sequence warnings in helper functions
* Preserve all existing Splunk integration fixes

This combines secure credential management with the working Splunk
functionality, providing users with a complete and secure demo experience.
…ebook

Extend environment variable support to include Splunk configuration,
providing secure credential management for both services.

* Add Splunk environment variable support with hierarchical configuration
* Update documentation to show both Graphistry and Splunk .env settings
* Add connection feedback for Splunk with clear success/failure messages
* Maintain backward compatibility with manual configuration
* Support all Splunk connection parameters: host, scheme, port, username, password

This completes the secure credential management implementation by supporting
both Graphistry and Splunk credentials through environment variables,
making the demo easier and safer to use.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant