config.sh.example 753 Bytes
Newer Older
1 2
# WARNING: This is only an example file. You should copy it and rename to 'config.sh' in the same directory as this file, and then apply your modifications.

3 4 5 6
# This file only contains some config variables:

# Index prefix: The prefix of the index in elasticsearch. Ex: gastos

7
index="despesas-diarias"
8

9
# Column Name: The name of the column we will use to filter data.
10

11
columnName="Código Órgão Superior"
12 13 14

# Filter: An associative array that will be used to filter data. The key should be the initials, and they will be used to generate the index name.
# The value should be the same as in the CSV, since it will be used to match data.
15

16 17
declare -A filter
filter=(
18
    [mec]="26000"
19
)
20

21
# Host: ElasticSearch's host. Ex: "localhost"
22 23

host="localhost"