How to analyze log file with out knowing the data types?

Hi there,

Lets suppose we have a huge log file with unstructured data and we are also not sure about the data types involved in it, how can we analyze this type of log file?

Your help is much appreciated.

Thanks.

Every log file will have a structured data right?. By observing the data we can decide what data type to use. Can you give an example where log files have unstructured data?

@Pranaysahith - Thanks for the input. As of now i don’t have example for such log file.
It was a general question .

thanks

I think you will have to read the file as is and cast specific fields to appropriate data types as needed. It would depend on a case by case basis