ITADN

Pulling logs from Elastic search

#138OpenDayNja 创建于 2024-01-30
D
DayNjacommented
Good day, hope you all are doing well. im having a little bit of trouble pulling logs from my standalone Elastic instance the command i ran is as follows python3 logontracer.py --es --es-server https://192.168.1.2:9200 --es-cafile /home/ubuntu/elasticsearch-ca.pem --es-user elastic --es-pass Aabc98765! -z +4 -f 2023-06-15T08:00:00 -t 2023-06-16T08:00:30 and i get this error Traceback (most recent call last): File "logontracer.py", line 2880, in main() File "logontracer.py", line 2874, in main parse_es(case) File "logontracer.py", line 2321, in parse_es context = create_default_context(cafile=FPATH + ES_CAFILE) File "/usr/lib/python3.8/ssl.py", line 745, in create_default_context context.load_verify_locations(cafile, capath, cadata) FileNotFoundError: [Errno 2] No such file or directory
1 条评论