roles/collect-logs/library/ara_influxdb.py
def create_file_with_data(data, path):
    '''Create a file with InfluxDB data to send

    :param data: data to write
    :param path: path of the file
    :return:
    '''
    with open(path, "w") as f:
        f.write(data + "\n")
Create a file with InfluxDB data to send

    :param data: data to write
    :param path: path of the file
    :return:
    
Create a file with InfluxDB data to send
Create a file with InfluxDB data to send
def create_file_with_data(data, path):
    with open(path, "w") as f:
        f.write(data + "\n")
def create_file_with_data ( data , path ) : with open ( path , "w" ) as f : f . write ( data + "\n" )
Create a file with InfluxDB data to send
Create a file with InfluxDB data to send
'''Create a file with InfluxDB data to send

    :param data: data to write
    :param path: path of the file
    :return:
    '''
None
data
data to write
data to write
path
path of the file
path of the file