http - masking data in logstash using web service -
i receiving data using logstash (2.3) , want mask them or add additional field, using external web service source.
i have web service available @ like: someserver:8080/webpage?id=1
i extract value using url, , inject data.
my config file looks like:
input { file { path => "/opt/logstash/test/*.csv" start_position => "beginning" sincedb_path => "/opt/logstash/test/output/test.db" } http { url => "http://localhost:8080/webpage" } } filter { csv { columns => ["col1", "col2", "col3" ] separator => "," skip_empty_columns => true } } output { stdout { codec => rubydebug } csv { fields => ["col1","col2","col3" ] path => "/opt/logstash/test/output/test.csv" } }
what achieve replace each col1 value value obtained such external source. found http plugin, doesn't straight forward me.
tnx
Comments
Post a Comment