All Posts

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

All Posts

After upgrading from Splunk Enterprise 9.2.2 to 9.2.4, the following error is displayed in the Splunk Web message: After upgrading Splunk Enterprise from 9.2.2 to 9.2.4, the following error message ... See more...
After upgrading from Splunk Enterprise 9.2.2 to 9.2.4, the following error is displayed in the Splunk Web message: After upgrading Splunk Enterprise from 9.2.2 to 9.2.4, the following error message started appearing on Splunk Web. Log collection and searching is possible. A-Server acts as an indexer, and one search and indexer are used. Search peer A-Server has the following message: Failed to start KV Store process. See mongod.log and splunkd.log for details. 2024/12/25 11:34:12 Search peer A-Server has the following message: KV Store changed status to failed. KVStore process terminated.. 2024/12/25 11:34:11 Search peer A-Server has the following message: KV Store process terminated abnormally (exit code 14, status PID 29873 exited with code 14). See mongod.log and splunkd.log for details. 2024/12/25 11:34:11 Search peer A-Server has the following message: Security risk warning: Found an empty value for 'allowedDomainList' in the alert_actions.conf configuration file. If you do not configure this setting, then users can send email alerts with search results to any domain. You can add values for 'allowedDomainList' either in the alert_actions.conf file or in Server Settings > Email Settings > Email Domains in Splunk Web. 2024/12/25 11:34:11 Failed to start KV Store process. See mongod.log and splunkd.log for details. 2024/12/25 11:26:57 Security risk warning: Found an empty value for 'allowedDomainList' in the alert_actions.conf configuration file. If you do not configure this setting, then users can send email alerts with search results to any domain. You can add values for 'allowedDomainList' either in the alert_actions.conf file or in Server Settings > Email Settings > Email Domains in Splunk Web. 2024/12/25 11:26:57 KV Store changed status to failed. KVStore process terminated.. 2024/12/25 11:26:56 KV Store process terminated abnormally (exit code 14, status PID 2757 exited with code 14). See mongod.log and splunkd.log for details. 2024/12/25 11:26:56
Hi All, I have dashboard which shows table of exceptions that happened within in 24 hours. My table has columns App_Name and time of exception. I tokenized these into $app_name$ and as $excep_time$ ... See more...
Hi All, I have dashboard which shows table of exceptions that happened within in 24 hours. My table has columns App_Name and time of exception. I tokenized these into $app_name$ and as $excep_time$ so that I can pass it to another panel in same dashboard. However once I click first panel, the second panel takes should take $app_name$ and $excep_time$ as inputs and show logs for that particualr app with time picker of $excep_time$. I have no problem adding +120 seconds but when I use earliest and latest its throwing invalid input message and when I use _time>= or _time<= it still taking UI time picker but not the search time. How do I pass time from one row to another panel and search in that passed time window  
You don't have to make up your own process for reading historical data - Splunk has documentation for that.  See https://docs.splunk.com/Documentation/Splunk/9.4.0/Indexer/Restorearchiveddata
1) Share which OS version, which UF version, and roughly how many inputs on those hosts 2) Search _internal for your hostname(IP) for error codes 2.1) Is the UF generating errors 2.2) Does the UF ... See more...
1) Share which OS version, which UF version, and roughly how many inputs on those hosts 2) Search _internal for your hostname(IP) for error codes 2.1) Is the UF generating errors 2.2) Does the UF get indexing paused/congested reports back from the IDX tier. 2.3) Does the UF show round robin to all IDX elements or is there a discrepancy in outputs.conf? Lets start with these.
If your indexers and other devices are no longer indexing data then you need to check individual server splunkd.log files.  Tail and grep for details around connections. Any error codes will help yo... See more...
If your indexers and other devices are no longer indexing data then you need to check individual server splunkd.log files.  Tail and grep for details around connections. Any error codes will help you and us in determining the issues.
Hello everyone I currently have a cluster of 2 indexes and also 1 search header mounted on Linux and everything is going well with it, these days what I need is to restore indexed data from 1 year a... See more...
Hello everyone I currently have a cluster of 2 indexes and also 1 search header mounted on Linux and everything is going well with it, these days what I need is to restore indexed data from 1 year ago, which I have on a disk mounted on the server, I am trying to be able to view that data from my header, but I can't do it, I have done tests like the following: -I have created a new index called mydb2, so as not to alter my original index (mydb), and I have copied several of the directories that have this name "db_1711654894_1711568541_1281_6C91679A-EBBC-4F09-A710-1CC8C8CA8FDC" to the $SPLUNK_DB/mydb2/db/ directory, when doing this I was not successful -From the cluster I restarted the 2 indexes, and it didn't work either, but after 2 days, data began to appear, but only the data corresponding to 4 days, however the data directories that I copied to $SPLUNK_DB/mydb2/db/ are several and correspond to 5 months, more days have passed, and I have restarted, and no more data has appeared Does anyone in the community have knowledge of this? To know how to view historical data that has been restored from a backup  
It's nice to see that you can now post a URL in ES - thank you!
I have followed the configuration steps as outlined, but unfortunately, I have lost the connection between the components. I have applied the certificate configurations and other related settings in ... See more...
I have followed the configuration steps as outlined, but unfortunately, I have lost the connection between the components. I have applied the certificate configurations and other related settings in server.conf, including modifying the search peers to use HTTPS in distsearch.conf. I also modified the master license slave to use HTTPS, but I did not make any changes to the license master itself. Could you confirm if there are any specific configurations required on the master license? After applying the changes, the Server Manager has become extremely slow, and I can no longer access its web interface. Additionnaly, I lost connectivity between the components.  Is there someone who could help me with resolving this issue please?
Hi @BRFZ , KV-Store is usually enabled only on Search Heads and disabled on the other roles (Indexers, Heavy Forwarders, et...) Ciao. Giuseppe
Hello Splunk Community, I am working on the configuration of a distributed Splunk deployment, and I need clarification regarding the KV Store. Could you please confirm where the KV Store should be c... See more...
Hello Splunk Community, I am working on the configuration of a distributed Splunk deployment, and I need clarification regarding the KV Store. Could you please confirm where the KV Store should be configured in a distributed environment? Should it be enabled on the Search Heads, Indexers, or another component of the deployment? Any guidance on best practices would be greatly appreciated. Thank you for your help! Best regards,
No I do not see that menu. More information: I am using Trial Observability (requested through Splunk website) to clear an accreditation course. When I click new token, I only see "Create access to... See more...
No I do not see that menu. More information: I am using Trial Observability (requested through Splunk website) to clear an accreditation course. When I click new token, I only see "Create access token" which has "Name", "capability scope", "description; followed by "Permission" and "Expiration" when I click next. Once the above steps are complete, I only get "New token has been created".  I have now moved to using "add implementation" to get the token ID to be used.
Hello, I have a case where the logs from 4 host are lagging behind. Why I say inconsistant is the laggig is differ from 5 to 30 minutes, sometime didn't at all.  When the log don't show up 30 minute... See more...
Hello, I have a case where the logs from 4 host are lagging behind. Why I say inconsistant is the laggig is differ from 5 to 30 minutes, sometime didn't at all.  When the log don't show up 30 minutes or more, I go to the forwarder management and disable/enable apps, restart Splunkd, then the log continue with 1, 2 seconds lag. The other host also lagging behind at peak hour, but only for 1 or 2 minutes (maximum 5' for source with large amount of logs).  I admit that our indexer cluster is not up to par in IOPS requirement but for 4 paticular host to be visible underperform is quite concerning.  Can someone show me steps to debug and solve the problems. 
Oh my, you are right, I made a stupid mistake! I so used to use props.conf in the most (personal) cases that I automatically tried to use sourcetype in stanza name. But I need the input of splunk U... See more...
Oh my, you are right, I made a stupid mistake! I so used to use props.conf in the most (personal) cases that I automatically tried to use sourcetype in stanza name. But I need the input of splunk UF introspection, that generates splunkd 'sourcetype'. And this monitor named 'monitor://$SPLUNK_HOME\var\log\splunk\splunkd.log'
Ok, finically I figured out by myself. Here is correct code ``` transform/istio-proxy: error_mode: ignore log_statements: - context: log statements: - keep_keys(resource.attributes, ["_time",... See more...
Ok, finically I figured out by myself. Here is correct code ``` transform/istio-proxy: error_mode: ignore log_statements: - context: log statements: - keep_keys(resource.attributes, ["_time", "cluster_codename", "host.name", "com.splunk.index", "splunk_server", "com.splunk.source", "com.splunk.sourcetype"]) where resource.attributes["com.splunk.sourcetype"] == "kube:container:istio-proxy" - delete_key(attributes, "logtag") where resource.attributes["com.splunk.sourcetype"] == "kube:container:istio-proxy" ```  The point is should use resource.attributes["com.splunk.sourcetype"] instead of  attributes["sourcetype"] 
Wait. What is that [splunkd] stanza? You have an input called splunkd? What is it ingesting?
I am trying to use the Splunk Add-on for Tomcat  first time. When I try Add Account this results in error message below. I think the add-on expects Java to be somewhere. Java is installed on my all-i... See more...
I am trying to use the Splunk Add-on for Tomcat  first time. When I try Add Account this results in error message below. I think the add-on expects Java to be somewhere. Java is installed on my all-in-one Splunk server, where the add-on is installed. How do I make Java available to this add-on? Traceback (most recent call last): File "/opt/splunk/etc/apps/Splunk_TA_tomcat/lib/splunktaucclib/rest_handler/handler.py", line 142, in wrapper for name, data, acl in meth(self, *args, **kwargs): File "/opt/splunk/etc/apps/Splunk_TA_tomcat/lib/splunktaucclib/rest_handler/handler.py", line 107, in wrapper self.endpoint.validate( File "/opt/splunk/etc/apps/Splunk_TA_tomcat/lib/splunktaucclib/rest_handler/endpoint/init.py", line 85, in validate self._loop_fields("validate", name, data, existing=existing) File "/opt/splunk/etc/apps/Splunk_TA_tomcat/lib/splunktaucclib/rest_handler/endpoint/init.py", line 82, in _loop_fields return [getattr(f, meth)(data, *args, **kwargs) for f in model.fields] File "/opt/splunk/etc/apps/Splunk_TA_tomcat/lib/splunktaucclib/rest_handler/endpoint/init.py", line 82, in <listcomp> return [getattr(f, meth)(data, *args, **kwargs) for f in model.fields] File "/opt/splunk/etc/apps/Splunk_TA_tomcat/lib/splunktaucclib/rest_handler/endpoint/field.py", line 56, in validate res = self.validator.validate(value, data) File "/opt/splunk/etc/apps/Splunk_TA_tomcat/bin/Splunk_TA_tomcat_account_validator.py", line 85, in validate self._process = subprocess.Popen( # nosemgrep false-positive : The value java_args is File "/opt/splunk/lib/python3.9/subprocess.py", line 951, in __init_ self._execute_child(args, executable, preexec_fn, close_fds, File "/opt/splunk/lib/python3.9/subprocess.py", line 1837, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'java'
Still feel myself as a dummy I set this in the UF inputs.conf: [splunkd] _meta = my_field::abc   Then I set this in the feilds.conf of SH: [my_field] INDEXED = true INDEXED_VALUE = false   O... See more...
Still feel myself as a dummy I set this in the UF inputs.conf: [splunkd] _meta = my_field::abc   Then I set this in the feilds.conf of SH: [my_field] INDEXED = true INDEXED_VALUE = false   Of course, I applied config on both instances and still can't find new field created in "_meta"
I give you karma for this, i forget my client using Palo Alto to detect it.
You should add \s* in both side of = to found also “index =*” etc definition. Also there could be a macro or eventtypes where this definition is. Even role’s default index or search filters could cont... See more...
You should add \s* in both side of = to found also “index =*” etc definition. Also there could be a macro or eventtypes where this definition is. Even role’s default index or search filters could contains this definition. As you see it’s not as easy than look “index=*” from saved searches or even from _audit. There are lot of similar questions and answers in community where you could see more information about this subject.
I think this endpoint just took some time to deploy. Its working as expected now.