Median spending by legal departments rose 29% to $3.1 million, from $2.4 million a year ago, according to the annual Law Department Management Benchmarking Report.