You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ Install the sources you cloned from GitHub:
60
60
You'll need `docker` and `docker-compose` to get up and running using this method.
61
61
62
62
```shell
63
-
make up SPLUNK_VERSION=9.4
63
+
make up SPLUNK_VERSION=latest # also available: 10, 9.4
64
64
make wait_up
65
65
make test
66
66
make down
@@ -213,18 +213,18 @@ Don't
213
213
- In stream_events() method we can access modular input app metadata from InputDefinition object
214
214
- See [GitHub Commit](https://github.com/splunk/splunk-app-examples/blob/master/modularinputs/python/github_commits/bin/github_commits.py) Modular input App example for reference.
215
215
216
-
```python
217
-
defstream_events(self, inputs, ew):
218
-
# other code
216
+
```python
217
+
defstream_events(self, inputs, ew):
218
+
# other code
219
219
220
-
# access metadata (like server_host, server_uri, etc) of modular inputs app from InputDefinition object
221
-
# here inputs is a InputDefinition object
222
-
server_host = inputs.metadata["server_host"]
223
-
server_uri = inputs.metadata["server_uri"]
220
+
# access metadata (like server_host, server_uri, etc) of modular inputs app from InputDefinition object
221
+
# here inputs is a InputDefinition object
222
+
server_host = inputs.metadata["server_host"]
223
+
server_uri = inputs.metadata["server_uri"]
224
224
225
-
# Get the checkpoint directory out of the modular input's metadata
0 commit comments