Json files from a voip switch


#1

Greetings members,
I have a voip switch(Freeswitch) which generates json files for each call in a directory. Directory contains files like below.
55438eca-ebb2-4815-9abc-c2f7f5e884bb.cdr.json
34324fdfv-veeff-48ce-4r44-rr4r4vffvf5efef.cdr.json

Whereas data in files consists of multiple json objects. I want to see data in these files in kibana.
Could someone please give me some pointers how to get started.
I am new to elasticsearch and totally blind which way i should go.

Best Regards.


(Vijay Parashar) #2

you can use file beat to Index data in elasticsearch and then you can query them or aggregate them in Kibana.


(David Pilato) #3

If there is one single doc per file you can give a look at FSCrawler which can do that.


#4

Thanks, but this sends the whole file as it, can i modify some part of json file, i.e, i want to show only few part of whole json file.


#5

Will filebeat automatically detect the new files created in the directory? Its actually one document per file.


(David Pilato) #6

You can use an ingest pipeline if you want to remove some fields.


(system) #7

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.