Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
#
# Splunk SDK for Python documentation build configuration file, created by
# sphinx-quickstart on Fri Apr 13 12:28:15 2012.
#
Expand Down
4 changes: 1 addition & 3 deletions sitecustomize.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env python
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
2 changes: 1 addition & 1 deletion splunklib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
2 changes: 1 addition & 1 deletion splunklib/binding.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
2 changes: 1 addition & 1 deletion splunklib/client.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
2 changes: 1 addition & 1 deletion splunklib/data.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
2 changes: 1 addition & 1 deletion splunklib/modularinput/argument.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
2 changes: 1 addition & 1 deletion splunklib/modularinput/event.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
2 changes: 1 addition & 1 deletion splunklib/modularinput/event_writer.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
2 changes: 1 addition & 1 deletion splunklib/modularinput/input_definition.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
2 changes: 1 addition & 1 deletion splunklib/modularinput/scheme.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
2 changes: 1 addition & 1 deletion splunklib/modularinput/script.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
2 changes: 1 addition & 1 deletion splunklib/modularinput/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
2 changes: 1 addition & 1 deletion splunklib/modularinput/validation_definition.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
2 changes: 1 addition & 1 deletion splunklib/results.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions splunklib/searchcommands/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# coding=utf-8
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions splunklib/searchcommands/decorators.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# coding=utf-8
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions splunklib/searchcommands/environment.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# coding=utf-8
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions splunklib/searchcommands/eventing_command.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# coding=utf-8
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions splunklib/searchcommands/external_search_command.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# coding=utf-8
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions splunklib/searchcommands/generating_command.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# coding=utf-8
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions splunklib/searchcommands/internals.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# coding=utf-8
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions splunklib/searchcommands/reporting_command.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# coding=utf-8
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
6 changes: 2 additions & 4 deletions splunklib/searchcommands/search_command.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# coding=utf-8
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down Expand Up @@ -1230,8 +1228,8 @@ def dispatch(
.. code-block:: python
:linenos:
#!/usr/bin/env python
from splunklib.searchcommands import dispatch, StreamingCommand, Configuration, Option, validators
@Configuration()
class SomeStreamingCommand(StreamingCommand):
...
Expand Down
4 changes: 1 addition & 3 deletions splunklib/searchcommands/streaming_command.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# coding=utf-8
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions splunklib/searchcommands/validators.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# coding=utf-8
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
2 changes: 1 addition & 1 deletion splunklib/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions tests/integration/test_app.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env python
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions tests/integration/test_binding.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env python
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions tests/integration/test_collection.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env python
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions tests/integration/test_conf.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env python
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions tests/integration/test_event_type.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env python
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions tests/integration/test_fired_alert.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env python
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions tests/integration/test_index.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env python
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions tests/integration/test_input.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env python
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions tests/integration/test_job.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env python
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions tests/integration/test_kvstore_batch.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env python
#
# Copyright 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions tests/integration/test_kvstore_conf.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env python
#
# Copyright 2011-2020 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions tests/integration/test_kvstore_data.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env python
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions tests/integration/test_logger.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env python
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions tests/integration/test_macro.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env python
#
# Copyright 2011-2015 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions tests/integration/test_message.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env python
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions tests/integration/test_modular_input_kinds.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env python
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions tests/integration/test_role.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env python
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions tests/integration/test_saved_search.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env python
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions tests/integration/test_service.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env python
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions tests/integration/test_storage_passwords.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env python
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions tests/integration/test_user.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env python
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
5 changes: 1 addition & 4 deletions tests/system/test_apps/eventing_app/bin/eventingcsc.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#!/usr/bin/env python
# coding=utf-8
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
5 changes: 1 addition & 4 deletions tests/system/test_apps/generating_app/bin/generatingcsc.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#!/usr/bin/env python
# coding=utf-8
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
4 changes: 1 addition & 3 deletions tests/system/test_apps/modularinput_app/bin/modularinput.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env python

# Copyright © 2011-2025 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
5 changes: 1 addition & 4 deletions tests/system/test_apps/reporting_app/bin/reportingcsc.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#!/usr/bin/env python
# coding=utf-8
#
# Copyright © 2011-2024 Splunk, Inc.
# Copyright © 2011-2026 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
Expand Down
Loading