ryz.namathp
(Rayees Namathponna)
February 28, 2017, 5:30am
1
Hi All,
I am trying to export content pack with REST API, followed REST API browser, after making the call from browser its not returning JSON or not downloading json ,
From graylog UI there is an option to download content pack json, what i am missing here
https://xxx.xxx.206.165:9000/api/api-browser/#!/System/Bundles/exportBundle_post_2
jochen
(Jochen)
February 28, 2017, 8:04am
2
What did you do exactly? Which HTTP requests did you execute in order to create a content pack?
ryz.namathp
(Rayees Namathponna)
February 28, 2017, 3:48pm
3
From REST API browser trying this
https://198.159.206.165:9000/api/system/bundles/export
{
"name": "rayees",
"description": "descir",
"category": "velcat",
"inputs": [
"beats-1"
],
"streams": [
"Pal_ETL_failure"
],
"outputs": [
],
"dashboards": [
],
"grok_patterns": [
]
}
jochen
(Jochen)
February 28, 2017, 5:06pm
4
All entities (such as inputs or streams) have to be referenced by their ID, not by their display name.
1 Like