Difference between revisions of "Export/Import Rules"

From Roaring Penguin
Jump to: navigation, search
(Created page with "You can export, then import rules on a per stream basis but because the source and destination streams are changing some editing is required on the intermediate csv file. The exp…")
 
 
Line 4: Line 4:
 
the Preferences page.
 
the Preferences page.
  
The csv file format for Custom rules is:
+
So for example:
 +
 
 +
The csv file format for Custom rules is (this type of record appears at the start of each rules section):
  
 
   "Custom","stream","field","relation","data","score","comment","expiry"
 
   "Custom","stream","field","relation","data","score","comment","expiry"
  
So for example, in the webui you would go to the current stream to be
+
In the webui you would go to the current stream to be
 
copied and Export the Custom rules to a csv file. Then you would use an
 
copied and Export the Custom rules to a csv file. Then you would use an
 
editor to change all stream fields from the "current stream name" to the
 
editor to change all stream fields from the "current stream name" to the
Line 15: Line 17:
  
 
<div style="float:right; clear:both; margin-right:0.5em">[[Support Wiki | [Home]]]</div>
 
<div style="float:right; clear:both; margin-right:0.5em">[[Support Wiki | [Home]]]</div>
[[category:All]][[category:Configuration]][[Best Practices]]
+
[[category:All]][[category:Configuration]][[category:Best Practices]]

Latest revision as of 17:04, 6 August 2015

You can export, then import rules on a per stream basis but because the source and destination streams are changing some editing is required on the intermediate csv file. The export/import options are available from the Preferences page.

So for example:

The csv file format for Custom rules is (this type of record appears at the start of each rules section):

 "Custom","stream","field","relation","data","score","comment","expiry"

In the webui you would go to the current stream to be copied and Export the Custom rules to a csv file. Then you would use an editor to change all stream fields from the "current stream name" to the "new stream name". Then go to the new stream in the webui Import the file.