I have the following setup: I have a Java tool that sends JSON messages to RabbitMQ. They look like this:
{
"a": 0,
"b": 1,
"c": 2
}
Now I use Logstash to read the RabbitMQ queue and store them in Elasticsearch, so I can analyze the data using Kibana. The JSON stored in Elasticsearch is as follows:
{
"a": 0,
"b": 1,
"c": 2,
"@version": "1",
"@timestamp": "2014-01-22T19:05:19.136Z"
}
I do not think the @timestamp field will be useful for what I am doing. When I use cURL to store the same JSON in Elasticsearch, only the @version field exists, the @timestamp field is missing. Is there a way to configure Logstash to save @timestamp?