{"id":31816567,"url":"https://github.com/splunk/splunkrepl","last_synced_at":"2025-10-11T09:56:41.445Z","repository":{"id":35695117,"uuid":"39972082","full_name":"splunk/splunkrepl","owner":"splunk","description":"An awesome little REPL for issuing SPLUNK queries","archived":false,"fork":false,"pushed_at":"2015-12-18T02:04:35.000Z","size":4060,"stargazers_count":28,"open_issues_count":6,"forks_count":13,"subscribers_count":30,"default_branch":"master","last_synced_at":"2025-09-04T12:56:16.146Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/splunk.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-30T20:55:36.000Z","updated_at":"2024-12-20T20:01:17.000Z","dependencies_parsed_at":"2022-08-23T20:10:22.240Z","dependency_job_id":null,"html_url":"https://github.com/splunk/splunkrepl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/splunk/splunkrepl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splunk%2Fsplunkrepl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splunk%2Fsplunkrepl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splunk%2Fsplunkrepl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splunk%2Fsplunkrepl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/splunk","download_url":"https://codeload.github.com/splunk/splunkrepl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splunk%2Fsplunkrepl/sbom","scorecard":{"id":841886,"data":{"date":"2025-08-11","repo":{"name":"github.com/splunk/splunkrepl","commit":"9006113ccb81d5a7c9e23b079adcf661b0b4f2a7"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 2/28 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 12 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T20:39:43.293Z","repository_id":35695117,"created_at":"2025-08-23T20:39:43.293Z","updated_at":"2025-08-23T20:39:43.293Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006748,"owners_count":26084185,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-11T09:56:40.335Z","updated_at":"2025-10-11T09:56:41.438Z","avatar_url":"https://github.com/splunk.png","language":"JavaScript","readme":"# splunkrepl\nAn awesome little REPL for issuing Splunk queries\n\n![ScreenShot](https://raw.github.com/glennblock/splunkrepl/screenshots/repl.png)\n\n## What is it?\nsplunkrepl is an interactive tool for issuing Splunk queries right from the terminal!\n\n## Installing \n`npm install -g splunkrepl`\n\n## How to use it\nsplunkrepl works both in an interactive REPL mode and as a non-interactive executor.\n\n### REPL \n* Run \"splunkrepl\" at the terminal, passing in optional params of `--host`, `--user` and `--pwd`.\n\n#### REPL Commands\nAll REPL commands use positional arguments. \n\n##### :connect\nAllows you to connect to a Splunk instance.\n\nArgument | Description\n-------- | --------------\nhost     | Optional. Specifies the host to connect to. Will default to `host` from config.\nuser     | Optional. Specifies the user. Will default to `user` from config.\npwd      | Optional. Specifies the password. Will default to `pwd` from config.\n\n*Examples* \n* `:connect localhost admin changeme`\n* `:connect https://localhost:8089 admin changeme`\n* `:connect https://localhost:8089`\n\n##### :web\nOpens the Splunk Web UI and sends a query\n\nArgument | Description\n-------- | --------------\nquery    | Optional. Specifies the query to send to Splunk. Will default to the last query issued.\n\n*Example*\n\n* `:web * | head 10`\n\n##### :set\nStores a command in memory using the specified key. splunkrepl allows you to store an arbitrary number of commands which you can retrieve for later use. The commands are automatically loaded on startup from the `.splunkrepl` file in the home directory.\n\nArgument | Description\n-------- | --------------\nkey      | Required. Specifies the key. Must not contain spaces.\nvalue    | Required. Specifies the value. Anything after the key will be taken verbatim\n\nNote: The keys `host`,`user`,`pwd`,`port` and `webport` set the default connection parameters as well as the port to use for the `:web` command. \n\n*Examples*\n* `:set myconn :connect localhost server1 admin changeme`\n* `:set head10 * | head 10`\n* `:set main_sourcetypes * | stats count by sourcetype, source`\n\n##### :get\nGets the value and immediately executes it as if the user typed it in.\n\nArgument | Description\n-------- | --------------\nkey      | Required. Specifies the key to retrieve. Must not contain spaces. \n\n*Example*\n\nUsing head10 from the previous example\n\n`:get head10`\n\nwill result in the query `* | head 10` immediately being executed.\n\n##### :list\nLists all key/values from configuration.\n\n##### :save\nSaves all commands to the `.splunkrepl` file. If you do not save changes they will be discarded when you exit the REPL.\n\n### Non-Interactive\n* Run \"splunkrepl\" at the terminal, passing in required params of `--host`, `--user` and `--pwd` and also passing `--query`\n\n## Command arguments\n\nArgument  |  Description\n--------  |  -----------------\n--host    |  Splunk host to connect to including the port, ex. \"https://localhost:8089\"               \n--user    |  Splunk user to connect with                                                              \n--pwd     |  Password for the Splunk Account                                                          \n--query   |  SPL query to immediately execute. Runs in non-interactive mode                           \n--verbose |  Return as much detail as possible within each event (see below) \n\n--json    |  Send all output in JSON                                      \n\n## Tables\nWhen the results that are returned are calculated (do not have _raw) such as from stats or table, then a table view will be displayed:\n\n![ScreenShot](https://raw.github.com/glennblock/splunkrepl/screenshots/table.png)\n\n## Verbose mode\nBy default when queries run, splunkrepl will return only `_time`, `source`, `sourcetype`, `host` and `_raw` (if available) fields. To get all the details specify `--verbose` and you will get output similar to below:\n\n![ScreenShot](https://raw.github.com/glennblock/splunkrepl/screenshots/verbose.png)\n\n## License\nsplunkrepl is licensed under the Apache License 2.0. Details can be found in the file LICENSE.\n\n## Release notes\nCheck the change log [here](https://github.com/glennblock/splunkrepl/blob/master/changelog.md)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsplunk%2Fsplunkrepl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsplunk%2Fsplunkrepl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsplunk%2Fsplunkrepl/lists"}