most suitable program type
Posted: Sun Sep 30, 2018 10:25 pm
Hi
I have a stream of text files which contain regular application logs info. All the events are writing line by line. One event starts with [ Event name] and then next lines give some description, timestamp, ....so on.
I want to add these txt files to NLS using shipper.py
cat /mnt/logs/app1.txt | python shipper.py program:apache_access | nc <NLS_IP> 2057
My question is, just for txt content input, what would be the program type? can I use "import_json" as the type? How can we identify which type we want to use in NLS ?
cat /mnt/logs/app1.txt | python shipper.py import_json | nc <NLS_IP> 2057, is this correct?
Thank you
Luke
I have a stream of text files which contain regular application logs info. All the events are writing line by line. One event starts with [ Event name] and then next lines give some description, timestamp, ....so on.
I want to add these txt files to NLS using shipper.py
cat /mnt/logs/app1.txt | python shipper.py program:apache_access | nc <NLS_IP> 2057
My question is, just for txt content input, what would be the program type? can I use "import_json" as the type? How can we identify which type we want to use in NLS ?
cat /mnt/logs/app1.txt | python shipper.py import_json | nc <NLS_IP> 2057, is this correct?
Thank you
Luke