From 1846d15cac03bfe2ee9896a0759a2eb7021e156e Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Wed, 1 May 2019 21:16:45 +0200 Subject: [PATCH] Changed elastic param from file to path to be more consistent with elastic fields. --- transatlanticTorrentExpress.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transatlanticTorrentExpress.py b/transatlanticTorrentExpress.py index f153b46..1b1bb36 100755 --- a/transatlanticTorrentExpress.py +++ b/transatlanticTorrentExpress.py @@ -7,7 +7,7 @@ from logger import logger from utils import getConfig def getFiles(path, host=None, user=None): - logger.info('Getting filenames from path: {}'.format(path), es={'filename': path}) + logger.info('Getting filenames from path: {}'.format(path), es={'path': path}) if (host and user): cmd = "ssh {}@{} ls '{}'".format(user, host, path) else: