{"__v":2,"_id":"566f572ae61c1917005aa478","category":{"__v":65,"_id":"566f535bc1b00f1900ffd49e","pages":["566f53bac1b00f1900ffd4a0","566f53ea46acce17000c8c7c","566f53f87ffa002300c3cda2","566f5408fc3abb0d0020fcb2","566f54377ffa002300c3cda4","566f5452e61c1917005aa468","566f5467de4b662100d60e8d","566f5475fc3abb0d0020fcb4","566f54cc46acce17000c8c7e","566f54ddde4b662100d60e90","566f54f0de4b662100d60e92","566f551646acce17000c8c80","566f551de144ab0d00e972e0","566f5524fc3abb0d0020fcb7","566f5539de4b662100d60e95","566f5574de4b662100d60e97","566f558cde4b662100d60e99","566f55a7de4b662100d60e9b","566f55bbe61c1917005aa46c","566f55c67ffa002300c3cda6","566f55defc3abb0d0020fcba","566f55ede61c1917005aa46e","566f55fae144ab0d00e972e3","566f560946acce17000c8c84","566f5616de4b662100d60e9e","566f5624de4b662100d60ea0","566f562ec1b00f1900ffd4a2","566f563646acce17000c8c86","566f5643de4b662100d60ea2","566f564de144ab0d00e972e5","566f5657fc3abb0d0020fcbc","566f565ede4b662100d60ea4","566f566de61c1917005aa470","566f567ae61c1917005aa472","566f56847ffa002300c3cda8","566f568e46acce17000c8c88","566f569fe61c1917005aa474","566f56a7fc3abb0d0020fcbe","566f56b1c1b00f1900ffd4a4","566f56b9c1b00f1900ffd4a6","566f56c1fc3abb0d0020fcc0","566f56e2fc3abb0d0020fcc2","566f56ee46acce17000c8c8a","566f56fd7ffa002300c3cdaa","566f5705c1b00f1900ffd4a8","566f570fe61c1917005aa476","566f571bde4b662100d60ea6","566f5722de4b662100d60ea8","566f572ae61c1917005aa478","566f5735de4b662100d60eaa","566f5740e144ab0d00e972e8","566f5750e61c1917005aa47a","566f575b7ffa002300c3cdac","566f5766e61c1917005aa47c","566f577be144ab0d00e972ea","566f57867ffa002300c3cdae","566f579946acce17000c8c8c","566f57a3c1b00f1900ffd4aa","566f57a9de4b662100d60eae","566f57b3e61c1917005aa47f","566f57bce61c1917005aa481","566f57c4de4b662100d60eb0","566f57cbe61c1917005aa483","566f57d3fc3abb0d0020fcc5","56ec797904e8940e00966531"],"project":"566f5337c1b00f1900ffd497","version":"566f5337c1b00f1900ffd49a","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-12-14T23:40:11.967Z","from_sync":false,"order":3,"slug":"channels","title":"Channel Examples"},"parentDoc":null,"project":"566f5337c1b00f1900ffd497","user":"5564f227f0f70f0d00a9ab20","version":{"__v":6,"_id":"566f5337c1b00f1900ffd49a","project":"566f5337c1b00f1900ffd497","createdAt":"2015-12-14T23:39:35.821Z","releaseDate":"2015-12-14T23:39:35.821Z","categories":["566f5338c1b00f1900ffd49b","566f535bc1b00f1900ffd49e","566f5361c1b00f1900ffd49f","566f537ae144ab0d00e972de","56706d21e10ecb0d0004ef4f","567af36193919f0d00c97a6f"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-12-14T23:56:26.029Z","link_external":true,"link_url":"https://octoblu-splunk.readme.io/","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":47,"body":"[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"What is an API channel?\"\n}\n[/block]\nAn API channel is how Octoblu talks to your favorite APIs. Within your app.octoblu.com account you can setup and manage different APIs to be used within the Octoblu Flow Designer. This way you can easily drag and drop APIs and connect them together with other APIs or devices. The Octoblu UI then provides an intuitive drop-down of every endpoint in that API. No more crawling through docs and building out lengthy URI strings. Let us do the work for you!\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Setting up a channel with Octoblu\"\n}\n[/block]\n1. Log into app.octoblu.com (Or create an account if you haven't already - its free!)\n2. Click on \"Things\" on the side menu\n3. Select \"Splunk\" from the list of Things in the \"Productivity\" section\n4. When asked for a \"domain\" be sure to include just the IP or domain of your Splunk instance including the port required to access the api if necessary. **The default is 8089. The api will also add https:// so you do not need to add that, however be aware that if you do not have HTTPS enabled on your instance the channel will not work. **\n\nExample\n```\nyou enter: your.domain.com:8089\nOctoblu will use: https://your.domain.com:8089\n\n```\n5. You will next be asked for your Username and Password. \n6. After set-up is complete you will be taken to the designer, if your channel does not appear in the Things toolbox, do not panic - simply hit refresh.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Designing flows with example flows\"\n}\n[/block]\n[Getting Started With Octoblu Tutorial Videos](https://www.youtube.com/watch?v=UAT1F8hF-nI&list=PLyh2CvBTlon4R_ibknRl9CCKfn_1eAted&index=24) \n\nOnce you're within the Octoblu Designer and your Splunk channel has been configured, you can now use the entire Splunk API without having to do the heavy lifting. We'll outline the basics here and include some links to sample flows that you can import into your account.\n\n1. From the bottom right Things Toolbox in the designer, find your Splunk channel and drag it into the designer.\n2. Attach a trigger to the left-hand input of your Splunk channel and a debug node on the right-hand. \n3. Select the Splunk node and observe the Thing Inspector on the right hand side of the designer.\n4. The drop-down shown will provide you all the available endpoints for the Splunk API, to test - select **List System Status Information**\n5. This endpoint requires no fields - go ahead and hit \"Deploy\" - the play button in the top right.\n6. Once the flow successfully deploys, click the trigger and then observe the Debug panel (bottom right view window)\n7. This gives you a basic flow using Splunk\n\n##Example Flows\n[Intro Flow](https://app.octoblu.com/bluprints/import/3c67250c-cc3b-4305-a880-b620e38069e0)\n[Get and Parse Event Types and Check Specific Event Logs](https://app.octoblu.com/bluprints/import/e1a19677-f717-4e04-a01f-a68c25060756)\n[Get Fired Alerts and Format a Message](https://app.octoblu.com/bluprints/import/23590d82-1d9e-41e9-ad5c-2365a6775e48)","excerpt":"","slug":"splunk","type":"basic","title":"Splunk"}
[block:api-header] { "type": "basic", "title": "What is an API channel?" } [/block] An API channel is how Octoblu talks to your favorite APIs. Within your app.octoblu.com account you can setup and manage different APIs to be used within the Octoblu Flow Designer. This way you can easily drag and drop APIs and connect them together with other APIs or devices. The Octoblu UI then provides an intuitive drop-down of every endpoint in that API. No more crawling through docs and building out lengthy URI strings. Let us do the work for you! [block:api-header] { "type": "basic", "title": "Setting up a channel with Octoblu" } [/block] 1. Log into app.octoblu.com (Or create an account if you haven't already - its free!) 2. Click on "Things" on the side menu 3. Select "Splunk" from the list of Things in the "Productivity" section 4. When asked for a "domain" be sure to include just the IP or domain of your Splunk instance including the port required to access the api if necessary. **The default is 8089. The api will also add https:// so you do not need to add that, however be aware that if you do not have HTTPS enabled on your instance the channel will not work. ** Example ``` you enter: your.domain.com:8089 Octoblu will use: https://your.domain.com:8089 ``` 5. You will next be asked for your Username and Password. 6. After set-up is complete you will be taken to the designer, if your channel does not appear in the Things toolbox, do not panic - simply hit refresh. [block:api-header] { "type": "basic", "title": "Designing flows with example flows" } [/block] [Getting Started With Octoblu Tutorial Videos](https://www.youtube.com/watch?v=UAT1F8hF-nI&list=PLyh2CvBTlon4R_ibknRl9CCKfn_1eAted&index=24) Once you're within the Octoblu Designer and your Splunk channel has been configured, you can now use the entire Splunk API without having to do the heavy lifting. We'll outline the basics here and include some links to sample flows that you can import into your account. 1. From the bottom right Things Toolbox in the designer, find your Splunk channel and drag it into the designer. 2. Attach a trigger to the left-hand input of your Splunk channel and a debug node on the right-hand. 3. Select the Splunk node and observe the Thing Inspector on the right hand side of the designer. 4. The drop-down shown will provide you all the available endpoints for the Splunk API, to test - select **List System Status Information** 5. This endpoint requires no fields - go ahead and hit "Deploy" - the play button in the top right. 6. Once the flow successfully deploys, click the trigger and then observe the Debug panel (bottom right view window) 7. This gives you a basic flow using Splunk ##Example Flows [Intro Flow](https://app.octoblu.com/bluprints/import/3c67250c-cc3b-4305-a880-b620e38069e0) [Get and Parse Event Types and Check Specific Event Logs](https://app.octoblu.com/bluprints/import/e1a19677-f717-4e04-a01f-a68c25060756) [Get Fired Alerts and Format a Message](https://app.octoblu.com/bluprints/import/23590d82-1d9e-41e9-ad5c-2365a6775e48)