Hello All,
Thanks in advance.
We have succesfully sending the data to the Logz.io console via custom application.
There was a specific request to add one more path in addition to the existing path. The logs that are present in the new path is not sending any data to the Logz.io.
Existing log file path: \QWEFY/#QWEFY/HUWA_LOG/BLOCK/S000//.txt
New log file path: \QWEFY/#QWEFY/BLOCK_LOG/BLOCK/S000//.txt
The pipeline.conf file as shown below. please help me.
input {
http {
codec => json_lines
port => 4503
user => "${BLOCK_CONDITION_USER_STAGING}"
password => "${BLOCK_CONDITION_PASSWORD_STAGING}"
ssl => false
}
file {
codec => json
path => ["\QWEFY/#QWEFY/HUWA_LOG/BLOCK/S000//.txt","\QWEFY/#QWEFY/BLOCK_LOG/BLOCK/S000//.txt"]
start_position => "beginning"
sincedb_path => "D:/FileShippers/logstash-7.16.1_BLOCK/sincedb/S000/.sincedb"
sincedb_clean_after => "2"
close_older => "15 m"
}
}
output {
vdhttp {
url => "https://listener-us.logz.io:5601?token=${BLOCK_LOGZIO_TOKEN_STAGING}"
http_method => "post"
format => "logzio_batch"
content_type => "application/json"
proxy => {
host => "block.krty.com"
port => "8080"
scheme => 'http'
}
}
}