简体   繁体   中英

How to convert log files into Json format?

I have a log files of my server data. I need to convert that data into json format. I need that data in json format to feed it into elastic-search.Help me with some sort of scripts which can convert this log data.

Look into lognormalizer . You can specify rules to match log lines, and it will generate json for you, that you can further ingest however you want.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM