Curl command to logstash

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! :smiley:

Can you share your config?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.