log-ship-elastic-postfix icon indicating copy to clipboard operation
log-ship-elastic-postfix copied to clipboard

Small Howto? Can't figure out configuration

Open jc-ol opened this issue 5 years ago • 1 comments

Sorry, I am quite new to ELK and no node programmer (up to now). This seems to solve my problem of postfix distributing info for a mail over several lines. I can install and run log-ship-elastic, but cannot figure out which index names and types to use (and log-ship is throwing 400 errors). If there would be a small explanation for the way this is supposed to work, that would be great. I am also willing to add such a document once I have the basics running. Any comments or hints?

jc-ol avatar Jan 28 '20 15:01 jc-ol

If you're installing on an old Elasticsearch 4 cluster, and running node.js 6 (no longer supported by node.js), it should require very little to get working besides applying the included index template.

To get this working on a modern version of ES & node.js, there's a few updates I can immediately think of that will be needed.

  • update Elasticsearch syntax from version 4 to version 6
  • update JS code to use es6 and es7 patterns (dropping node 6 support, adding node 10 & 12)
  • update tests to validate functionality on newer stack

I have no availability this week but may have some next week if you'd like me to work on this for you. I estimate about 4 hours ($600) is needed to update this module and the two modules it depends on. Optionally, at no additional charge, I'd be happy to get it deployed for you in a dev/staging environment.

msimerson avatar Jan 28 '20 20:01 msimerson