Skip to content

Releases: magifd2/splunk-cli

v1.4.0

28 Aug 02:21

Choose a tag to compare

[1.4.0] - 2025-08-28

Changed

  • Implemented pagination for result fetching to correctly handle large result sets that exceed the API's single-request limit. This ensures that --limit 0 fetches all results and that --limit values greater than 50,000 are respected.

v1.3.0

28 Aug 01:48

Choose a tag to compare

[1.3.0] - 2025-08-28

Added

  • Added a --limit flag to the run and results commands to control the maximum number of results returned.
  • Added a limit field to the config.json file to allow setting a default result limit.

v1.2.1

17 Aug 23:39

Choose a tag to compare

[1.2.1] - 2025-08-18

Fixed

  • Fixed an issue where the version information was not correctly embedded in the binary during the make build process. The build script now correctly links the Git tag, commit hash, and build date.

v1.2.0

14 Aug 03:02

Choose a tag to compare

[1.2.0] - 2025-08-14

Changed

  • Major Refactoring: The entire codebase has been refactored for better modularity, testability, and maintainability.
    • Core Splunk API interaction logic has been extracted into a new splunk package.
    • Command-line interface (CLI) logic has been separated into a new cmd package, with each command in its own file.
    • The main application entrypoint (splunk-cli.go) is now significantly simplified.

v1.1.0

12 Aug 14:19

Choose a tag to compare

[1.1.0] - 2025-08-12

Added

  • Added a global --config flag to specify a custom configuration file path, overriding the default ~/.config/splunk-cli/config.json.

v1.0.0

05 Aug 12:33

Choose a tag to compare

[1.0.0] - 2025-08-05

Added

  • Initial Release of splunk-cli.
  • Core functionalities: run, start, status, results commands to interact with Splunk's REST API.
  • Flexible authentication via config file, environment variables, or command-line flags.
  • Support for reading SPL queries from files or standard input.
  • Asynchronous job handling with job cancellation support (Ctrl+C).
  • App context support for searches (--app flag).
  • Makefile for simplified building, testing, linting, and vulnerability scanning.
  • Cross-platform build support for macOS (Universal), Linux (amd64), and Windows (amd64).
  • Version information embedded in the binary (--version flag).
  • README.md and LICENSE (MIT) for project documentation.
  • CHANGELOG.md to track project changes.
  • Japanese README (README.ja.md).

Changed

  • Switched build system from a shell script (build.sh) to a Makefile.

Fixed

  • N/A (Initial Release)