I am running a curl command which gives me a numeric output. I have the input setup as exec > command > curl. I am outputting that data into Elastic search. I see the message as the numeric output. When I try to visualize the data, I get Count = (number of docs) but what I would like is Count = (number in the message field).
Welcome to our community! 
Can you share your config?