All Posts

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

All Posts

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.
Have these instructions changed since this was posted? The Splunk Cloud URL doesn't resolve for me. I am on the free version of Splunk Cloud with an Enabled HEC.
https://docs.splunk.com/Documentation/ES/8.0.1/Install/InstallSplunkESinSHC#Differences_between_deploying_on_a_search_head_and_a_search_head_cluster_environment I think the rest of the SHC ES instal... See more...
https://docs.splunk.com/Documentation/ES/8.0.1/Install/InstallSplunkESinSHC#Differences_between_deploying_on_a_search_head_and_a_search_head_cluster_environment I think the rest of the SHC ES installation is mistakenly copied and not adjusted from the single-instance. This manual could use a feedback.
Two things. 1. Stanzas are (unless explicitly set for source or host) based on sourcetype. Don't put "sourcetype::" in stanza specification. 2. If your idea was to cast sourcetype from A to B and t... See more...
Two things. 1. Stanzas are (unless explicitly set for source or host) based on sourcetype. Don't put "sourcetype::" in stanza specification. 2. If your idea was to cast sourcetype from A to B and then use transforms defined for sourcetype B then it won't work. The list of operations which will be performed on an event is decided at the beginning of the ingestion pipeline. The only way to change it "midflight" is to use the CLONE_SOURCETYPE transform but it's more complicated than simple sourcetype rewrite.