Hi all
Im going to use the logstash to send my logfiles to s3 and later Archie it via Glacier .
But my issue was logstash by default add the @timestamp and "host" parameter details to the output log
Eg:
Input log:
195.88.209.245 - - [28/Mar/2016:14:53:18 +0530] "POST /xmlrpc.php HTTP/1.0" 200 665 "-" "Mozilla/4.0 (compatible: MSIE 7.0; Windows NT 6.0)"
Output Log of logstahsh
2016-03-28T09:25:32.624Z logstash.ihk.com 195.88.209.245 - - [28/Mar/2016:14:53:18 +0530] "POST /xmlrpc.php HTTP/1.0" 200 665 "-" "Mozilla/4.0 (compatible: MSIE 7.0; Windows NT 6.0)"
Basically i want to remove the ,
@timestamp - > 2016-03-28T09:25:32.624Z and host : logstash.ihk.com value from the output log so that i can copy the original log file to s3
is there any way to achieve it , please advice