salt.returners.cassandra_return
Return data to a Cassandra ColumnFamily
Here's an example Keyspace / ColumnFamily setup that works with this returner:
create keyspace salt; use salt; create column family returns with key_validation_class='UTF8Type' and comparator='UTF8Type' and default_validation_class='UTF8Type';
Required python modules: pycassa
To use the cassandra returner, append '--return cassandra' to the salt command. ex:
salt '*' test.ping --return cassandra
-
Do any work necessary to prepare a JID, including sending a custom id
salt.returners.cassandra_return.prep_jid(nocache=False, passed_jid=None)
-
Return data to a Cassandra ColumnFamily
salt.returners.cassandra_return.returner(ret)
© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/returners/all/salt.returners.cassandra_return.html