|
1 | 1 | # Splunk SDK for Python Changelog |
2 | 2 |
|
| 3 | +## Version 1.2.1 |
| 4 | + |
| 5 | +### New features and APIs |
| 6 | + |
| 7 | +* Added features for building custom search commands in Python |
| 8 | + |
| 9 | + 1. Access Splunk Search Results Info. |
| 10 | + |
| 11 | + See the `SearchCommand.search_results_info` property. |
| 12 | + |
| 13 | + 2. Communicate with Splunk. |
| 14 | + |
| 15 | + See the `SearchCommand.service` property. |
| 16 | + |
| 17 | + 3. Control logging and view command configuration settings from the Splunk |
| 18 | + command line |
| 19 | + |
| 20 | + + The `logging_configuration` option lets you pick an alternative logging |
| 21 | + configuration file for a command invocation. |
| 22 | + |
| 23 | + + The `logging_level` option lets you set the logging level for a command |
| 24 | + invocation. |
| 25 | + |
| 26 | + + The `show_configuration` option writes command configuration settings |
| 27 | + to the Splunk Job Inspector. |
| 28 | + |
| 29 | + 4. Get a more complete picture of what's happening when an error occurs |
| 30 | + |
| 31 | + Command error messages now include a full stack trace. |
| 32 | + |
| 33 | + 5. Enable the Splunk Search Assistant to display command help. |
| 34 | + |
| 35 | + See `examples/searchcommands_app/default/searchbnf.conf` |
| 36 | + |
| 37 | + 6. Write messages for display by the job inspector. |
| 38 | + |
| 39 | + See `SearchCommand.messages_header`. |
| 40 | + |
| 41 | +* Added a feature for building modular inputs. |
| 42 | + |
| 43 | + 1. Communicate with Splunk. |
| 44 | + |
| 45 | + See the `Script.service` property. |
| 46 | + |
| 47 | +### Bug fixes |
| 48 | + |
| 49 | +* When running `setup.py dist` without running `setup.py build`, there is no |
| 50 | + longer an `No such file or directory` error on the command line, and the |
| 51 | + command behaves as expected. |
| 52 | + |
| 53 | +* When setting the sourcetype of a modular input event, events are indexed |
| 54 | + properly. |
| 55 | + |
| 56 | + Previously Splunk would encounter an error and skip them. |
| 57 | + |
| 58 | +### Quality improvements |
| 59 | + |
| 60 | +* Better code documentation and unit test coverage. |
| 61 | + |
3 | 62 | ## Version 1.2 |
4 | 63 |
|
5 | 64 | ### New features and APIs |
|
0 commit comments