elastic-stack

How to make python ELK APM log correlation works

How to make python ELK APM log correlation works Question: I am using python with ecs_logg https://www.elastic.co/guide/en/ecs-logging/python/current/installation.html. It output to a file. Then I am having a logstash reading the logs. Here is an example of the log {"@timestamp":"2022-03-31T11:55:49.303Z","log.level":"warning","message":"Cannot get float field. target_field: fxRate","ecs":{"version":"1.6.0"},"log":{"logger":"parser.internal.convertor","origin":{"file":{"line":317,"name":"convertor.py"},"function":"__get_double"},"original":"Cannot get float field. target_field: fxRate"},"process":{"name":"MainProcess","pid":15124,"thread":{"id":140000415979328,"name":"MainThread"}},"service":{"name":"Parser"},"trace":{"id":"264c816a6cdd1f92a26dfad80bdc3e91"},"transaction":{"id":"a8a1ed2ab0b38ca0"}} Here is the config of my …

Total answers: 2

elasticsearch `No connection could be made because the target machine actively refused it` after using password auth

elasticsearch `No connection could be made because the target machine actively refused it` after using password auth Question: I am trying to connect to my elasticsearch instance using the python elasticsearch library: es = Elasticsearch(HOST="https://elastic:[email protected]",PORT=9243) es = Elasticsearch() but I keep getting the error : elasticsearch.exceptions.ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection object at 0x000002BD624E6208>: Failed to establish a new …

Total answers: 1