WuChuan
November 5, 2017, 8:22am
#1
Hi,
Here I need to query logs from an external ELK system which only supports HTTP GET request for security.
So I guess I can only use the URI-api to do that. There are many logs but I need only two types in "/var/ftds/trace/
" and "/var/log/stat/
".
I tried to query them by "q=path:/var/ftds/trace/
" or "q=path:/\/var\/ftds\/trace/*/
" but failed(no result or not the exact documents).
any suggestions? Thanks.
dadoonet
(David Pilato)
November 5, 2017, 8:36am
#2
You can do GET with a body according to the RFC and elasticsearch
1 Like
WuChuan
November 5, 2017, 9:13am
#4
OK, I'll try later, but I am a bit worried if this can effect because the target ELK system is not the original elasticsearch. if it does not support, any way else in URI-search?
thanks.
dadoonet
(David Pilato)
November 5, 2017, 9:28am
#5
What is « the target ELK » means?
BTW we say elastic stack and not ELK anymore.
WuChuan
November 5, 2017, 10:25am
#6
“the target elastic stack” is a further developed system based on the open source ES which I query from.
dadoonet
(David Pilato)
November 5, 2017, 11:24am
#7
a further developed system
Which is?
I mean is that something internal you have in your company and a known product?
WuChuan
November 5, 2017, 11:33am
#8
not our company's, we just call it ELK.
dadoonet
(David Pilato)
November 5, 2017, 12:30pm
#9
I don’t understand sorry.
What is the system you’re talking about?
Is it Elasticsearch, Logstash, Kibana ? Or something else?
WuChuan
November 7, 2017, 1:33pm
#10
dadoonet:
I don’t understand sorry.
What is the system you’re talking about?
Is it Elasticsearch, Logstash, Kibana ? Or something else?
Yes, it is Elasticsearch, Logstash and Kibana.
And GET with a body
works. thank you!
system
(system)
closed
December 5, 2017, 1:33pm
#11
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.