All Posts

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

All Posts

for admin role that is enabled should I check all the other role ?
@Sathish28  Check this, if you have this capability or not.   
@Sathish28  ERROR script [3404833 SchedulerThread] - Error in 'sendemail' command: You do not have a role with the capability='run_custom_command' required to run this command='sendemail'. Contact y... See more...
@Sathish28  ERROR script [3404833 SchedulerThread] - Error in 'sendemail' command: You do not have a role with the capability='run_custom_command' required to run this command='sendemail'. Contact your Splunk administrator to request that this capability be added to your role. . This error indicates that your current role does not have the run_custom_command capability required to execute the sendemail command. To resolve this, you should contact your Splunk administrator and request that they add the run_custom_command capability to your role. This will allow you to use the sendemail command without encountering this error
@Sathish28  This indicates that the user has reached the maximum number of allowed concurrent real-time searches. ERROR SearchScheduler [3404833 SchedulerThread] - The maximum number of concurren... See more...
@Sathish28  This indicates that the user has reached the maximum number of allowed concurrent real-time searches. ERROR SearchScheduler [3404833 SchedulerThread] - The maximum number of concurrent real-time searches for this user based on their role quota has been reached. The maximum amount of concurrent searches that can be run system-wide is determined by a setting in https://docs.splunk.com/Documentation/Splunk/9.4.0/Admin/Limitsconf  [search] max_searches_per_cpu = <int> * the maximum number of concurrent searches per CPU. The system-wide number of searches * is computed as max_searches_per_cpu x number_of_cpus + 2 * Defaults to 2 You can increase this value in order to raise your system-wide concurrent search quota. But since you are not hitting the limit as admin, you likely have to increase your regular user's concurrent search quota. In https://docs.splunk.com/Documentation/Splunk/9.4.0/Admin/authorizeconf  srchJobsQuota = <number> * Maximum number of concurrently running historical searches a member of this role can have (excludes real-time searches, see rtSrchJobsQuota) and possibly rtSrchJobsQuota = <number> * Maximum number of concurrently running real-time searches a member of this role can have for the appropriate roles.
Recently we migrated Splunk search head from VM to physical machine.  Splunk ES Version: 9.0.3 In Splunkd.log We could the below error and warnings ERROR SearchScheduler [3404833 SchedulerTh... See more...
Recently we migrated Splunk search head from VM to physical machine.  Splunk ES Version: 9.0.3 In Splunkd.log We could the below error and warnings ERROR SearchScheduler [3404833 SchedulerThread] - The maximum number of concurrent real-time searches for this user based on their role quota has been reached. ERROR script [3404833 SchedulerThread] - Error in 'sendemail' command: You do not have a role with the capability='run_custom_command' required to run this command='sendemail'. Contact your Splunk administrator to request that this capability be added to your role. WARN DispatchManager [3404833 SchedulerThread] - Search not executed: reason="The maximum number of concurrent real-time searches for this user based on their role quota has been reached." user=****** currenct_concurrency=6 concurrency_limit=6, search_id= "**************" WARN DispatchManager [3404833 SchedulerThread] - Failed to start search for sid="***************". Dropping failedtostart token at path=/apps/splunk/splunk/var/run/splunk/dispatch/********************** to expedite dispatch cleanup.
@SN1  If you're migrating for the first time, I recommend testing the process in a test environment before applying it in production.
THIS is what worked for me   I did add the selective indexing stanz before but that alone was not enough   thx so much, I would have never EVER guessed to add that there 
@SN1  To move the apps from one server to another, I recommend using WinSCP or SCP and following the steps I mentioned above.
so I just have to paste enterprise security app folder ($SPLUNK_HOME/etc/apps)  from old to new sh?  
Hi Will, thanks for the hints. I didn't create a modular input, just a simple Data Inputs > Script in the Web UI, so when I try to run the command you suggested, Splunk says that "Scheme 'script' is... See more...
Hi Will, thanks for the hints. I didn't create a modular input, just a simple Data Inputs > Script in the Web UI, so when I try to run the command you suggested, Splunk says that "Scheme 'script' is not inizialized" (I used 'script' as scheme and script:///opt/splunk/etc/apps/adsmart_summary/bin/getCampaignData.py as stanza name as written in inputs.conf). I think it's the normal behaviour. In metrics.log I found that at some point Splunk got some events from my script, but anything has been written in the index. As I wrote in the other post, my supects are about avg_age and max_age that have negative values: 02-19-2025 10:49:29.584 +0100 INFO Metrics - group=per_source_thruput, series="/opt/splunk/etc/apps/adsmart_summary/bin/getcampaigndata.py", kbps=0.436, eps=0.677, kb=13.525, ev=21, avg_age=-3600.000, max_age=-3600 host = splunkidx01 source = /opt/splunk/var/log/splunk/metrics.log sourcetype = splunkd   Maybe there something about the timestamp of the events, I am still there trying to figure it out. Thanks!
@anooshac  1) Create the saved search. 2) Create a python script to call the saved search you created. Then, save the results in csv in the directory you want. 3) Schedule the python script as a s... See more...
@anooshac  1) Create the saved search. 2) Create a python script to call the saved search you created. Then, save the results in csv in the directory you want. 3) Schedule the python script as a script input in Splunk.  
Hello everyone, I am currently working on creating a Splunk SOAR playbook that collects variables from a case and appends them to a Splunk Lookup file (CSV). Unfortunately, I have not been able to f... See more...
Hello everyone, I am currently working on creating a Splunk SOAR playbook that collects variables from a case and appends them to a Splunk Lookup file (CSV). Unfortunately, I have not been able to find any resources on this topic. Has anyone had experience with this or can provide guidance? Thank you for your support !
It is not clear what your issue is here, nor what exactly you are doing and what is perhaps not working for you. Please can you provide more details and examples of what you are doing and the the res... See more...
It is not clear what your issue is here, nor what exactly you are doing and what is perhaps not working for you. Please can you provide more details and examples of what you are doing and the the results you are getting and explain why it is not what you expected/wanted.
hi @kiran_panchavat , thanks for the reply. Is it possible to automate this process? as i have a tool which is scheduled to run every 1 hour. So for every 1 hour the data needs to be imported.
@TallBear  For the Bar Chart panel we have written the option as : <option name="charting.fieldColors"> {"status":#00FF00,"date_hour":#FFF700,"count":#00009C}</option> Here status , date_hour and... See more...
@TallBear  For the Bar Chart panel we have written the option as : <option name="charting.fieldColors"> {"status":#00FF00,"date_hour":#FFF700,"count":#00009C}</option> Here status , date_hour and count are the fields names of the bar chart. Also you have to specify the hexadecimal codes of the colors for every fields which you want color  . You can put any hexadecimal color codes as per your wish. After adding the options in the source code click on Save to save the changes. NOTE: change your field name in the code. 
@TallBear  Green:- You can use hexadecimal color to change it.   
@TallBear  If you want to change the color, please use this.  In the source code you have to add an option inside the chart tag. For the Column Chart panel we have written the option as : ... See more...
@TallBear  If you want to change the color, please use this.  In the source code you have to add an option inside the chart tag. For the Column Chart panel we have written the option as : <option name="charting.fieldColors"> {"status":#66FF00,"date_hour":#FF0000,"amount":#00009C}</option> Here status , and amount are the fields names of the column chart. Also you have to specify the hexadecimal codes of the colors for every fields which you want color  . You can put any hexadecimal color codes as per your wish.  
 Charts are coloured by series i.e. each series has a different colour (until you have lots of series and the colours recycle). In your case, you only have one series, Status, which has two values. T... See more...
 Charts are coloured by series i.e. each series has a different colour (until you have lots of series and the colours recycle). In your case, you only have one series, Status, which has two values. To get different colours, you need different series. | makeresults | eval zip=split("Test-10264,Production;Test-10262,Production;Test-102123,Production;MGM-1,Development;MGM-2,Development;MGM-3,Development;MGM-4,Development",";") | mvexpand zip | table zip _time ```End of sample data``` | rex field=zip "(?<ticket>.+?),(?<Status>.+$)" | chart count(ticket) as tickets by _time Status
replaced | fields _time,program with | table _time,program and everything is working as expected. I really appreciate you help @livehybrid!
Hello all, Actually i have been using rest command  | rest /servicesNS/-/MYAPP/saved/searches | table title to call my saved searches and now we created a dashboard to updated this saved searc... See more...
Hello all, Actually i have been using rest command  | rest /servicesNS/-/MYAPP/saved/searches | table title to call my saved searches and now we created a dashboard to updated this saved search manually, but the scenario is to paste the entire query dynamically and run it, when the saved is updated in backend the same should be reflecting here. Thanks in advance and best regards.