Export all stream and dashboards unsing curl with POST

I try to automate the process of exporting a Content Pack and I’m not able to select all of them .
The script that I’m using is something like this:


  "name": "staging",
  "description": "descir",
  "category": "test",
  "inputs":   [],
  "streams": [],
  "outputs": [],
  "dashboards": [],
  "grok_patterns": []

curl -XPOST -H "Content-Type: application/json" ${GRAYLOG_URL}/system/bundles/export -d "${GRAYLOG_CONTENT}" > content.json 

What should I do to export all stream and dashboards using something like this ?

Anyone can help ?


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.