No, Elastic was licensed as Apache 2.0, which is much more liberal than AGPL. Also, they changed the license because a large company basically resold their solution withtout granting them a share of the revenue. OPs point about the (A)GPL was that it would hinder the adoption of OS software by companies.