Correlation of two log (sources)

Hello
Newbie here, can someone help me out please?

2 log servers producing:
connection logs (user ip etc) (generated every 10 mins)
http logs (user actions) (generated on the fly)

the connection logs have username and ip (sent via filebeat to logstash)
the http logs are missing the username (sent via syslog, then loaded from syslog file to logstash)
(i cannot change this, i dont think)

how is best to fuse these two? can i add something in the logstash, or is there something I can do to merge the logs in a search in kibana?

thanks

Hi mr_rob,
can use correlation filter to correlate the field from one index to another index by matching value from both logs.

mant thanks...... could you give a hint to where to look for help on this? (sorry dont want to appear too demanding):smiley:

By using of the this filter you can achieve tat @mr_rob,
https://www.elastic.co/guide/en/logstash/current/plugins-filters-elasticsearch.html

oooh interesting. I will look, i think i might have an issue with the timing sequence of the logs... they at the moment dont arrive together. I could look into that, its a manual script that is run to produce a list of customer's current IP addresses.

the elasticsearch plugin, do i put that in another config file? I have one config that inputs and processes logs from the two sources.

i then want to merge these two as above

Did you get it done ?