All Posts

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

All Posts

Hello, There is an index named "linux" in our environment that needs to have the source universal forwarder changed to reflect a new server that is forwarding data. In other words, a server "syslog... See more...
Hello, There is an index named "linux" in our environment that needs to have the source universal forwarder changed to reflect a new server that is forwarding data. In other words, a server "syslog_01.server.net" was migrated to a new server "syslog_02.server.net". (not the actual domains.) The index "linux", I believe, is still listening to syslog_01, and needs to be changed to syslog_02. The universal forwarder was installed on the syslog_02 server. So I have two fairly high-level questions: 1.) How would I go about see the current configuration of the "linux" index (at least in terms of where it is listening?) 2.) How would I change where this index is listening? I've inherited the Splunk environment and am still a little fuzzy on how it was originally configured (the person who set it up no longer works here), but it looks like the data path goes like this: Universal forwarder  > heavy forwarder server > two index servers < master server to control index servers. I believe this is a standard configuration. The person who set up the environment left scant documentation regarding universal forwarder configuration. Apparently, universal forwarders are "Configured automatically by adding new universal forwarder server to linux_outputs or windows_outputs class" in the master server. However in the master server (splunk_home/etc/system/local), serverclass.conf doesn't contain any data. Although, I'm not entirely sure this would be the correct config file to change. Again, I'm fairly new to this environment and not sure how to proceed. Any and all input would be appreciated. Thank you!
Thank you richgalloway  ! it's works 
I really need help I'm trying to get my panels to move from red to green based on live stats, but nothing works. I tried the UI and I'm pretty sure I got the right thing selected but my panels won't ... See more...
I really need help I'm trying to get my panels to move from red to green based on live stats, but nothing works. I tried the UI and I'm pretty sure I got the right thing selected but my panels won't show up red, yellow or green can anyone please help me out. So, I figured out that percentages don't work well with dynamic element backgrounds how can I work around that?   
Have you tried the stats command? ... | stats distinct_count(username) as users by VLAN ...  
Hi, I have a scenario where I want to calculate the duration between 1st and last event. The thing is these events can happen multiple times for the same session.  The 1st event can happen multiple ... See more...
Hi, I have a scenario where I want to calculate the duration between 1st and last event. The thing is these events can happen multiple times for the same session.  The 1st event can happen multiple times and everytime it is the exact same thing but I only want the transaction to start from very first event so that we know what is the exact duration. Sample events below - See the last 2 events where one says MatchPending and another one says MatchCompleted. What I want is to calculate the duration between 1st event and last event where it says MatchCompleted   2024-08-16 13:43:34,232|catalina-exec-192|INFO|LoggingClientHttpRequestInterceptor|Sending GET request to https://myapi.com/test 2024-08-16 13:43:38,630|catalina-exec-192|INFO|LoggingClientHttpRequestInterceptor|Response Received in 114 milliseconds "200 OK" response for GET request to https://myapi.com/test: "status":"MatchPending" 2024-08-16 13:43:50,516|catalina-exec-192|INFO|LoggingClientHttpRequestInterceptor|Sending GET request to https://myapi.com/test 2024-08-16 13:43:57,630|catalina-exec-192|INFO|LoggingClientHttpRequestInterceptor|Response Received in 114 milliseconds "200 OK" response for GET request to https://myapi.com/test: "status":"MatchPending" 2024-08-16 13:44:15,516|catalina-exec-192|INFO|LoggingClientHttpRequestInterceptor|Sending GET request to https://myapi.com/test 2024-08-16 13:43:50,510|catalina-exec-192|INFO|LoggingClientHttpRequestInterceptor|Response Received in 114 milliseconds "200 OK" response for GET request to https://myapi.com/test: "status":"MatchCompleted"     Any help is appreciated.  Best Regards, Shashanlk
After reading through these cases, I can not still figure out an effective way to resolve my issue. I repeated the installation process carefully, but the result was the same. The Events Service resi... See more...
After reading through these cases, I can not still figure out an effective way to resolve my issue. I repeated the installation process carefully, but the result was the same. The Events Service resides on the same machine as Enterprise Console and Controller. The machine host name is specified in /etc/hosts as "appd-ctl", the name shown in the error messages. I even shutdown the firewall when starting the Events Service, but there was no difference. -------------------- error message ------------ Task failed: Starting the Events Service api store node on host: appd-ctl as user: root with message: Connection to [<a href="<a href="http://appd-ctl:9080/_ping" target="_blank">http://appd-ctl:9080/_ping</a>" target="_blank"><a href="http://appd-ctl:9080/_ping" target="_blank">http://appd-ctl:9080/_ping</a></a>] failed due to [Failed to connect to appd-ctl/fe80:0:0:0:be24:11ff:fe59:c94a%2:9080]. --------------------------------------------------------------------- . . . . . . . INFO [2024-08-16 14:35:06.202] com.appdynamics.orcha.core.executor.DefaultPlaybookExecutor: Executing : Starting the Events Service api store node                  ERROR [2024-08-16 14:45:07.060] com.appdynamics.orcha.core.executor.DefaultPlaybookExecutor: Error executing task: TaskSpec[async=false,deleteDir=true,heartbeatInterval=60,ignoreErrors=false,localModule=false,longRunning=false,longRunningInitInterval=500,longRunningPollInterval=1000,longRunningWriteInterval=200,name=Starting the Events Service api store node,operationSpecList=[ShellSpec[chdir=/opt/appdynamics/platform/product/events-service/processor,command=[nohup, bin/events-service.sh, start, -p, conf/events-service-api-store.properties],commandForLogging=<null>,consoleInputFile=<null>,consoleOutputFile=<null>,environment={DONOTDAEMONIZE=true,JAVA_HOME=/opt/appdynamics/platform/product/jre/1.8.0_422},failOnError=true,hideContext=false,spawn=true,timeout=0,assertionSpecList=[],isLocalOperation=false,name=shell], UriSpec[body=<null>,failOnError=true,format=TEXT,fragment=<null>,headers=<null>,hiddenQueryStringVars=<null>,host=<null>,ignoreStatusCode=-1,method=get,path=<null>,port=<null>,query=<null>,scheme=<null>,timeout=60,uri=http://appd-ctl:9080/_ping,userName=<null>,retryInterval=5,retryTimeout=600,assertionSpecList=[],isLocalOperation=false,name=uri]],registerOutputAs=<null>,runLocal=false,separateProcess=false,taskSshTimeout=7200000,uid=<null>,updateThreshold=30] ERROR [2024-08-16 14:45:07.073] com.appdynamics.orcha.core.OrchaRunnerImpl: Error executing: ERROR [2024-08-16 14:45:07.085] com.appdynamics.platformadmin.core.job.JobProcessor: Platform/Job [1/818959e9-5f25-49af-9510-591ca406a7f0]: Stage [Start Events Service Cluster] failed due to [Task failed: Starting the Events Service api store node on host: appd-ctl as user: root with message: Connection to [http://appd-ctl:9080/_ping] failed due to [Failed to connect to appd-ctl/fe80:0:0:0:be24:11ff:fe59:c94a%2:9080].]
We have had this same issue in our environment.  The fix we have come up with is to create an app for the 4300X events that are specific to cisco:ftd where we parse out all the fields (you can use kv... See more...
We have had this same issue in our environment.  The fix we have come up with is to create an app for the 4300X events that are specific to cisco:ftd where we parse out all the fields (you can use kvmode=auto for these, but some fields like url don't get extracted correctly since they oftentimes have '=' in the url string).   In order to address the other message IDs that match number/format with cisco:asa, we make a 'custom' app and update it each time we update Splunk_TA_cisco-asa.  In that app (we named it Splunk_TA_cisco-asa-ftd) we just copy over the /default/ and /local/ props.conf files and change the sourcetype declaration from [cisco:asa] to [cisco:ftd].  The other files (like transforms) aren't needed because splunk already has those definitions in the Splunk_TA_cisco-asa app, you just need to tell it to do all the eval/extract/transform/etc functions from props.conf for the other sourcetype.  If you use eventtypes, you should also update that. We updated Splunk_TA_cisco-asa/local/eventtypes.conf to use 'sourcetype IN (cisco:asa, cisco:ftd)' to address that issue in the 'standard' app. I know that seems like a lot of customization, but after doing the customization / upgrade a few times, it's not so bad.   
Hi @Lijesh.Athyalath, Were you able to read the latest reply your post got? If it helped answer your question, please click the "Accept as Solution" button on that reply.  If it does not answer ... See more...
Hi @Lijesh.Athyalath, Were you able to read the latest reply your post got? If it helped answer your question, please click the "Accept as Solution" button on that reply.  If it does not answer your question, reply to this post to keep the conversation going. 
Hi @Sarath Kumar.Sarepaka, Were you able to check out the latest reply your post got? If it helped answer your question, click the "Accept as Solution" button on the reply that helped.  If it do... See more...
Hi @Sarath Kumar.Sarepaka, Were you able to check out the latest reply your post got? If it helped answer your question, click the "Accept as Solution" button on the reply that helped.  If it does not answer your question, reply to this post to keep the conversation going. 
Hi @Nivedita.Kumari, We're you able to find a solution or check out the linked Documentation? Or do you still need help?
Hi @MARTINA.MELIANA, Can you check out the latest reply from @Easwar.C?
Thank you man this indeed deletes empty fields
In 9.21 How to change width of multiselect inputs in Dashboard Studio
Hi, I am looking to have the sum of users per vlan, for example vlan=xxx is used by username=A, B, C so I would have a table with VLAN = xxx and sum of users = 3, Thx
Thanks for your reply, I have tested it and it might work, i'm waiting for the results of any use cases.
A search is deferred if it cannot run because there are no search slots, but the schedule_window setting allows Splunk to wait for a slot to become available.  If no search slot opens up before the s... See more...
A search is deferred if it cannot run because there are no search slots, but the schedule_window setting allows Splunk to wait for a slot to become available.  If no search slot opens up before the schedule window closes then the search is skipped. A continued search is a continuous search (realtime_schedule=0) that could not be scheduled.  The scheduler will keep retrying the search and not skip it.
Hi, Need some help with the following JSON data. ModifiedProperties: [ [-] { [-] Name: Group.ObjectID NewValue: 111111-2222222-333333-444444 OldValue: } { [-] ... See more...
Hi, Need some help with the following JSON data. ModifiedProperties: [ [-] { [-] Name: Group.ObjectID NewValue: 111111-2222222-333333-444444 OldValue: } { [-] Name: Group.DisplayName NewValue: Group A OldValue: } { [-] Name: Group.WellKnownObjectName NewValue: OldValue: } ] I want to extract the 2nd set of values for each event such that Group.DisplayName can become a field in itself, e.g. Group.DisplayName.NewValue=A, Group.DisplayName.OldValue=B. But right now, default extraction is doing something like this     How can I create KV pairs for Group.DisplayName within this JSON array? I tried few combinations using spath but was not successful.   Thank you
Thank you for your answer! I have just been sent this information to the author. But I am also interested in another experience related to my case
Thank you PickleRick, I already got streamstats in my search query but got more results not only consecutive and I want isolate 3 consecutive results (see end of queary): | eval Description=cas... See more...
Thank you PickleRick, I already got streamstats in my search query but got more results not only consecutive and I want isolate 3 consecutive results (see end of queary): | eval Description=case(RML<104.008, "0", RML>108.425, "1", RML>=104.008, "OK", RML<=108.425, "OK") | eval Warning=case(Description==0, "LevelBreach", Description==1, "LevelBreach") | table LWL UWL RML | eval CR=if(RML<UWL,"0",if(RML>LWL,"1","0")) | accum CR AS ACC | streamstats window=3 reset_after="count=3" count
Something like this? https://community.splunk.com/t5/Splunk-Search/Removing-all-null-columns-from-stats-table/m-p/566579