I find myself at a crossroad. I want to automate some processes that include mainly: telnet session with a Linux OS and to interpret(autonomously)the log files from the Linux machine.
I admit that it is a question about experience rather than a specific technical question.
My question is: which programming language will best fit my needs?
What I analyzed up to this point(possibilities):
Python, using logtools library.
Dedicated solutions for log analysis : LogParser, LogExpert other web based solutions etc(usually do not include telnet session option or do not work on embedded Linux board,that is what I use).
A combination of Expect scripting(for log extraction) with Python log interpreter.I would like to have a single environment for the entire process. *I managed to use Expect for some basic commands sequence.
To be more specific I will give a theoretical example(sequence of actions):
Create telnet session -> Give credentials -> Send a command -> Save command output -> Analyze/Extract/Interpret parts from output.
Log interpretation will not be trivial, it might need: control structures,arithmetic operations, graphical representation etc.
Added question: Will Python impose some limitations/difficulties with respect to above stated requirements?
Your input will be much appreciated!
Thank you!