Last active
October 5, 2018 16:01
-
-
Save ridingintraffic/ba53e9a7690162281cd3add568aaffd6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -u admin:changme https://<yoursplunkIP>:8089/servicesNS/nobody/system/data/inputs/http/?output_mode=json \ | |
-d name=test_thing2 \ | |
-d sourcetype=testing \ | |
-d index=default \ | |
--insecure -X POST | jq .entry[0].content.token -r | |
$ 38985917-f6c1-xxxx-xxxx-2c4e8c77798d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment