All Posts

Find Answers
Ask questions. Get answers. Find technical product solutions from passionate members of the Splunk community.

All Posts

@ab73863- Try this approach with sessionKey. Specify Splunk Cloud URL and port number should be 8089 but you can confirm with your Splunk Cloud Representative or Splunk Cloud Support.   I hope... See more...
@ab73863- Try this approach with sessionKey. Specify Splunk Cloud URL and port number should be 8089 but you can confirm with your Splunk Cloud Representative or Splunk Cloud Support.   I hope this helps!!!
Thanks for your answer, let me do it and check if it works.   Also why are you doing ssl on inputs.conf as per docs it should be done on outsputs of HF
@Nawab- The answer is yes, you can setup SSL on both places and you can also set SSL only for HF to Indexer. I think it should not matter what you use from UF to HF and HF to Indexer, they should ac... See more...
@Nawab- The answer is yes, you can setup SSL on both places and you can also set SSL only for HF to Indexer. I think it should not matter what you use from UF to HF and HF to Indexer, they should act independent from each other.   Connection with SSL   inputs.conf --------------- [splunktcp-ssl:9997] serverCert = <string> sslPassword = <string> requireClientCert = <boolean> sslVersions = <string> cipherSuite = <cipher suite string> ecdhCurves = <comma separated list of ec curves> dhFile = <string> allowSslRenegotiation = <boolean> sslQuietShutdown = <boolean> sslCommonNameToCheck = <commonName1>, <commonName2>, ... sslAltNameToCheck = <alternateName1>, <alternateName2>, ... useSSLCompression = <boolean> outputs.conf ------------------ [tcpout] defaultGroup = my_indexers [tcpout:my_indexers] server = <indexer>:9997 sslPassword = password clientCert = $SPLUNK_HOME/etc/auth/server.pem (<Check outputs.conf.spec for other SSL configs)     Connection without SSL   inputs.conf --------------- [splunktcp:9997] outputs.conf ------------------ [tcpout] defaultGroup = my_indexers [tcpout:my_indexers] server = <indexer>:9997     I hope this helps!!!!
Hi @tuts , are you speaking of Enterprise Security? Anyway, if you install the Splunk Security Essentials App (https://splunkbase.splunk.com/app/3435) you have all the available Correlation Searche... See more...
Hi @tuts , are you speaking of Enterprise Security? Anyway, if you install the Splunk Security Essentials App (https://splunkbase.splunk.com/app/3435) you have all the available Correlation Searches and for each one there's s test data set that you can use. Ciao. Giuseppe
We have below deployement, UF ----> HF ----> IDX Uf are sending data to Hf and Hf is acting as and Intermediatry forwarder between UF and IDX. Now we want to do TLS b/w splunk components. can we do... See more...
We have below deployement, UF ----> HF ----> IDX Uf are sending data to Hf and Hf is acting as and Intermediatry forwarder between UF and IDX. Now we want to do TLS b/w splunk components. can we do TLS between HF and IDX and leave UFs. Will UF data will also be TLS complient? If not will UF still sends data to IDXs or we will stop receiving logs all together?
Hello, I am experiencing a periodic issue with smartstore where a bucket will try to be evicted then proceeds to fail and does that cycle thousands of times. The indexer IO is fine, the bucket is ... See more...
Hello, I am experiencing a periodic issue with smartstore where a bucket will try to be evicted then proceeds to fail and does that cycle thousands of times. The indexer IO is fine, the bucket is warm, we have enough cache sizing, and I have not been able to correlate any cache logs with when these failures begin on multiple indexer nodes in the cluster (~33% of indexers). 2 questions: * What is an urgent mode eviction? * What can cause warm buckets to be unable to be evicted when they rolled to warm ~a full day earlier?
Thanks @yuanliu ! I willl try this promptly tomorrow and let you know of the results - will accept as solution if it works:)
I'm not normally one to resurrect dead posts, but as I was myself trying to accomplish the same task and via Google found this post, figured I'd give an update.  Per the documentation for the TA (ht... See more...
I'm not normally one to resurrect dead posts, but as I was myself trying to accomplish the same task and via Google found this post, figured I'd give an update.  Per the documentation for the TA (https://docs.splunk.com/Documentation/AddOns/released/CiscoASA/Releasehistory) they removed the eventgen support in version 3.2.5  
Tom everything seems to be working fine. Your help was crucial in finding the problem. Thank you very much
If all else fails, it's always useful to check job log and see the lispy search. Might not solve the problem but can give valuable insight.
Peace be upon you. I am now running correlation searches and I do not have data to fully test them. I want to activate them in order to protect the company from any attack. I have MITRE ATT&CK Compli... See more...
Peace be upon you. I am now running correlation searches and I do not have data to fully test them. I want to activate them in order to protect the company from any attack. I have MITRE ATT&CK Compliance Security Content But I do not know where to start and how to arrange myself I hope for advice
Well, Splunk can be a bit inconsistent sometimes about using quotes. But when you're referencing something as an argument to the function (or a rvalue in an assignment), double quotes will mean that ... See more...
Well, Splunk can be a bit inconsistent sometimes about using quotes. But when you're referencing something as an argument to the function (or a rvalue in an assignment), double quotes will mean that Splunk will use literal string. So | eval new_value="Posted Transaction Date" Would yield a literal string, not the field contents. (Same with strptime arguments). But yes, in other places that can be a bit unobvious which form to use at any given point.
Hi Joe, there is a command documentation in default/searchbnf.conf [curl-command] syntax = CURL [choice:URI=<uri> OR URIFIELD=<urifield>] [optional: METHOD=<GET|PATCH|POST|PUT|DELETE> VERIFYSSL=<... See more...
Hi Joe, there is a command documentation in default/searchbnf.conf [curl-command] syntax = CURL [choice:URI=<uri> OR URIFIELD=<urifield>] [optional: METHOD=<GET|PATCH|POST|PUT|DELETE> VERIFYSSL=<TRUE|FALSE> DATAFIELD=<field_name> DATA=<data> HEADERFIELD=<json_header_field_name> HEADERS=<json_header> USER=<user> PASS=<password> DEBUG=<true|false> SPLUNKAUTH=<true|false> SPLUNKPASSWDNAME=<username_in_passwordsconf> SPLUNKPASSWDCONTEXT=<appcontext (optional)> TIMEOUT=<float>] -k = "VERIFYSSL=FALSE" headers="{\"content-type\":\"application/json\"}" best regards, Andreas
Hi @chimuru84 , sorry, I  ,isunderstood yur requirement! let me understand: you want to know the users connected to a third party authentication in the last hour that didn't do another connection i... See more...
Hi @chimuru84 , sorry, I  ,isunderstood yur requirement! let me understand: you want to know the users connected to a third party authentication in the last hour that didn't do another connection in the last year but they did before, is it correct? at first: how long do you want to run your check: two years? Then, when you say "authentication at the moment", are you meaning in the last hour or what else? With the above hypotesis So, please try this: index=...... earliest=-2y latest=-h [ search index=...... earliest=-h latest=now | dedup id | fields id ] | eval period=if(_time>now()-31536000, "last Year","Previous Year") | stats dc(Period) AS Period_count values(Period) AS Period BY id | where Period_count=1 AND Period!="Previous Year" | table id In ths way, you have yje users connected in the last hour  that did the last connection (except the last hour) more than one year. If you need a different condition, you can use my approach. Ciao. Giuseppe
Hi @gcusello! I think I didn't ask the question correctly. I want to make a query that returns the users who had a third-party authentication (at the moment), and the last time they passed the authen... See more...
Hi @gcusello! I think I didn't ask the question correctly. I want to make a query that returns the users who had a third-party authentication (at the moment), and the last time they passed the authentication was 365 days ago.
It looks like the script is failing for the data being used - depending on what the script actually does, you could try different time periods e.g. hourly through 5th to see if you can backfill your ... See more...
It looks like the script is failing for the data being used - depending on what the script actually does, you could try different time periods e.g. hourly through 5th to see if you can backfill your summary index that way. Alternatively, try running the search that the script uses (without the collect command) to see if there are any errors.
We are using Splunk cloud in our enterprise and as part of an automation project we want programatic way for doing Splunk search. Based on Splunk website we found that there is node module splunk-sdk... See more...
We are using Splunk cloud in our enterprise and as part of an automation project we want programatic way for doing Splunk search. Based on Splunk website we found that there is node module splunk-sdk (https://www.npmjs.com/package/splunk-sdk) using which we can access Splunk even though the module is not mentioning explicitly anything about Splunk cloud.  Following is the code we attempted but its failing to connect. Would like to know if any special configuration needs to be done in order to achieve the connection.   (async=>{ let splunkjs = require('splunk-sdk'); let service = new splunkjs.Service({username: "myusername", password: "***"}); async function myFunction() { try { await service.login(); console.log("Login was successful: " + success); let jobs = await jobs.fetch(); let jobList = jobs.list(); for(let i = 0; i < jobList.length; i++) { console.log("Job " + i + ": " + jobList[i].sid); } } catch(err) { console.log(err); }   Following is the error we are getting. Please help in understanding and resolving this issue if anyone has encountered the same issue.
Do you have Victoria or Classic experience? You could check it from support -> about or something similar on SCP GUI.
Just as an FYI, I find that a chart is typically most readable when the max value is around 3/4 of the Y-scale so you might want to do something like this: <eval token="chartmax">ceiling($result.ma... See more...
Just as an FYI, I find that a chart is typically most readable when the max value is around 3/4 of the Y-scale so you might want to do something like this: <eval token="chartmax">ceiling($result.max_duration$*4/300)*100</eval>
While kvdelim and pairdelim accept a string of characters as arguments, they will match against only one in each set.  It essentially means, "one of these characters is between each pair".  Try this ... See more...
While kvdelim and pairdelim accept a string of characters as arguments, they will match against only one in each set.  It essentially means, "one of these characters is between each pair".  Try this workaround. | rex mode=sed "s/ _: / = /g" | extract kv pairdelim=" " kvdelim="="