mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-20 07:53:06 +01:00
Merge pull request #533 from Security-Onion-Solutions/elastic_updates
Elastic updates
This commit is contained in:
6
salt/common/tools/sbin/so-kibana-config-export
Normal file
6
salt/common/tools/sbin/so-kibana-config-export
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
#!/bin/bash
|
||||
KIBANA_HOST=10.66.166.141
|
||||
KSO_PORT=5601
|
||||
OUTFILE="saved_objects.json"
|
||||
curl -s -H 'kbn-xsrf: true' -H 'Content-Type: application/json' -XPOST $KIBANA_HOST:$KSO_PORT/api/saved_objects/_export -d '{ "type": "index-pattern", "type": "config", "type": "dashboard", "type": "query", "type": "search", "type": "url", "type": "visualization" }' -o $OUTFILE
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user