Skip to main content

All Questions

Tagged with
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 ...
Tasslehoff Burrfoot's user avatar
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 ...
Nabob's user avatar
  • 15
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="{{...
CodeCracker's user avatar