Questions tagged [splunk-sdk]
69 questions
0
votes
1 answer
How can I get "comma separated" data from .csv file into Json Format on Splunk Web?
I have one "Bal_123.csv" file and when I am searching its data on splunk web by providing query " sourcetype="Bal_123.csv" " I am getting latest indexed raw data in comma separated format. But for further operation I need that data in .Json…

Anshu
- 69
- 2
- 18
0
votes
0 answers
Splunk : formatting a csv file during indexing, values are being treated as new columns?
I am trying to create a new field during indexing however the fields become columns instead of values when i try to concat. What am i doing wrong ? I have looked in the docs and seems according ..
Would appreciate some help on this.
e.g.
.csv…

Mark
- 11
- 3
0
votes
0 answers
How to get Tomcat logs in Splunk 7.2.0?
I am working in machine learning recently. My goal is need to see logs from locally installed Tomcat in Splunk search.
I installed Apache Tomcat at a drive in my local machine. Then opened Splunk instance, I installed Tomcat add ons, followed this…

Kumaresan Perumal
- 1,926
- 2
- 29
- 35
0
votes
1 answer
Replace for loop with forEach function
I would like to replace for loop with a forEach function as the loop is not working in Splunk JavaScript.
The reason the for loop is not working is that my JavaScript code is embedded in XML, and when I use the < or > characters in my JavaScript…

Anmar Al Shammari
- 39
- 4
0
votes
1 answer
How to embed a timechart visualization from a Splunk query into a web app?
I have the following Splunk query that produces the following visualization:
I would like to embed this exact visualization into a web app using an iframe. How can I do this?
Currently, I am using the Splunk HTTP REST API and can submit & get the…

aBlaze
- 2,436
- 2
- 31
- 63
0
votes
2 answers
Splunk Custom Module
I am new in Splunk - as well as in Python and start working on Splunk Custom Module and I have taken reference from Splunk Site Custom Module. When I have created Same file structure using Visual Studio 2017 -> Python3 then its give me an error…

Dave Kapildev
- 471
- 1
- 7
- 18
0
votes
0 answers
splunk workflow actions not working
I am trying to create an incident using splunk POST workflow action. From event when i try to trigger the workflow action a new window is opened and the query string is getting appended to URL but the values are not filled in the fields.
how to…

jack
- 43
- 11
0
votes
1 answer
How can I automate Splunk iterations using REST API
I was looking for an endpoint to be able to get amount of available Events in "Splunk/App Search & Reporting/What to Search"
I would also appreciate endpoint to be able to get this kind of info provided clicking over "Data Summary" button and…

Xaruman
- 99
- 1
- 12
0
votes
1 answer
How can I connect my splunk using Splunk SDK Java?
I am getting Getting URI can't be null when trying with the url
Below is my code,
HttpService.setSslSecurityProtocol(SSLSecurityProtocol.SSLv3);
//Tried the below one also
//HttpService.setSslSecurityProtocol(SSLSecurityProtocol.TLSv1_2);
…

Gnik
- 7,120
- 20
- 79
- 129