4 steps to follow when creating a new Rudder category

Sep 23, 2015Blog

When you want to add a custom technique to Rudder, you might want to create your own category directory.

To do so:

  • Create your directory in /var/rudder/configuration-repository/techniques/
cd /var/rudder/configuration-repository/techniques
mkdir foobar
cat > foobar/category.xml <<EOF
<xml><name>My Foobar Category</name><description>My Foobar Category is Awesome</description></xml>
  • Commit it in the underlying git repository
git add foobar
git commit -m "Add foobar category"
  • Reload the technique library
curl -s -f -k "https://localhost/rudder/api/techniqueLibrary/reload"
  • Check the error log in /var/log/rudder/webapp
tail /var/log/rudder/webapp/$(date +%Y_%m_%d).*