All Questions
Tagged with elasticsearch bash
3 questions
0
votes
2
answers
69
views
bash: filter except the latest n records
I'm creating a small script that will delete indexes on an Elasticsearch cluster to prevent it for fill up all the storage with logstash data.
I have a list of records, and I would like to keep the ...
0
votes
1
answer
59
views
I want remove repeated records and remove those lines in awk
I want check repeated records in column 2 and remove those lines in awk
create a
delete a
create b
create c
delete c
create d
delete f
create f
create g
create h
Expected Output
create b
create d
...
0
votes
0
answers
632
views
Curl argument list too long error in elastic search mapping and setting
mapping=(</index_automation/{product}/mapping/Mapping/"$tempmappingfile")
settings=(</index_automation/{product}/mapping/Mapping/"$tempsettingsfile")
dataraw="{{...