I didn't know in which category this should fit... anyway, I'm trying to get started on Elastic and found this page after watching a video. At the bottom is a quick tutorial that got me to Kibana on the browser... after that, I didn't know really where to go.
Then, I found the reference that says to do stuff on Kibana... but my Kibana just says that it's unable to fetch mapping. So I found this other link that says somethings about loading a sample and thought "ok, maybe now I'll get somewhere!" - but oh noes. Not yet.
I fired up powershell, tried running the piece of code to set up mapping for Shakespeare and failed. PS complains about "-d" parameter being ambiguous.
I know that I just probably only need a little more research online and I'll do it, but I felt like this warranted a little (ops) questioning about a Windows tutorial. Maybe I'm looking in the wrong place? Maybe I'm following the wrong steps? Maybe there's a hidden gem I've yet to find? =p
Anyway, thanks for putting up with a new guy, and congrats on what seems to be an awesome tool!
If you have Kibana installed, then head to Dev Tools > Console.
Then paste in the curl command and it'll convert it, you can then just run it in the browser.
You can store ES query into a variable using here-string format, then call Invoke-RestMethod -Body $your_query_variable. This is how I use PS to query and alert on ES logs.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.