All Posts

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

All Posts

@PickleRick Please don't take my words otherwise. I didn't mean to say that. Btw way thanks for correcting me. I will take care with my words from the next time.
I tried to update  $result.field$  in the Description of Custom fields as in the screenshot, but it is not updating in servicenow
@inventsekar I have added these  three corrected settings in props.conf. I am waiting for the real event to come in, if this works then the job will be done. LINE_BREAKER = <\/eqtext:EquipmentEven... See more...
@inventsekar I have added these  three corrected settings in props.conf. I am waiting for the real event to come in, if this works then the job will be done. LINE_BREAKER = <\/eqtext:EquipmentEvent>() TIME_PREFIX = ((?<!ReceiverFmInstanceName>))<eqtext:EventTime> TZ = America/Glace_Bay
Hi, I am new to splunk development .Please provide your assistance for creating a search  . Thanks advance. Trying to create a report where I need to fetch the requestId, propositions id based on o... See more...
Hi, I am new to splunk development .Please provide your assistance for creating a search  . Thanks advance. Trying to create a report where I need to fetch the requestId, propositions id based on odds and accountno. Attached a sample event where multiple requests are in a single event which comes as a combined event to splunk . I have used a query like below, but it displays all the propositions to all requests,odds combination. I want to display the propositionid  only related to a particular request id and odds. attaching a sample for reference   index=abc source="data.log" "Response.errors{}.message"="cobination" | spath "Response.errors{}.code" | search "Response.errors{}.code"=COMBINATION | spath "Response.b{}.legs{}.propositions{}.propositionId"| spath "Response.b{}.legs{}.odds"|rename "Response.b{}.legs{}.odds" as Odds | spath "accountDetails.accountNumber"|dedup "accountDetails.accountNumber" |rename "accountDetails.accountNumber" as AccountNumber | spath "Response.b{}.requestId" | stats values("Response.error{}.code") as ErrorCode ,values("Response.b{}.legs{}.propositions{}.propositionId") as PropositionId by AccountNumber,Odds,RequestId,_time  
1. For "ASAP" you pay your friendly consultant or PS. This is a community-driven forum - people help others in their own spare time. Saying "help me ASAP" can be perceived as rude. 2. How do you ing... See more...
1. For "ASAP" you pay your friendly consultant or PS. This is a community-driven forum - people help others in their own spare time. Saying "help me ASAP" can be perceived as rude. 2. How do you ingest your data? UF->indexer? HF->indexer? UF->HF->indexer? What input do the events come in by. Where do you have the props.conf for the sourcetype? 3. You have the timestamp relatively late in the event and - as you've shown - your MAX_TIMESTAMP_LOOKAHEAD is set to only 24. 4. When posting config excerpts or data samples please use code block or preformatted style. It greatly helps readability.
Hi @yuvaraj_m91 You can reference the required fields in your Splunk alert config using $name$ for the alert name and $result.field$ for other fields
if 3 results got good timestamp meaning, props.conf is working fine.  lets troubleshoot the 4th one..  pls copy paste your search query..  (remove the hostnames, confidential info etc.. )
@inventsekar  If you see the below attached screenshot. The first three events is matching but the last one event is always creating an issue.  FYI : I am using default timezone setting.  
1) Pls give us the search query you are using..  what you see on the results is your splunk user profile's timezone setting.  2) on your Splunk user profile, pls make sure you have the right timezo... See more...
1) Pls give us the search query you are using..  what you see on the results is your splunk user profile's timezone setting.  2) on your Splunk user profile, pls make sure you have the right timezone settings (click on your username---- > Account settings---- > Time Zone)
@inventsekar  I have updated this "TIME_FORMAT = %FT%H:%M:%S.%3Q%Z" other is in # I have already restarted the Splunkd services.
Hi @uagraw01 .. for the timeformat.. did you apply both mine and @yuanliu 's timeformat's?.. (after updating the props.conf, you must restart the splunk services.. then only the changes will be inse... See more...
Hi @uagraw01 .. for the timeformat.. did you apply both mine and @yuanliu 's timeformat's?.. (after updating the props.conf, you must restart the splunk services.. then only the changes will be inserted to Splunk)  
My Objective is to create an Alert in ServiceNow whenever an failure alert triggered in SPlunk. I have installed Splunk Add on for ServiceNow and configured the connection setup.  I was able to suc... See more...
My Objective is to create an Alert in ServiceNow whenever an failure alert triggered in SPlunk. I have installed Splunk Add on for ServiceNow and configured the connection setup.  I was able to successfully post the incident is ServiceNow with the default fields available in ServiceNow Incident Alert. However i need to update the Description field in ServiceNow with the details of Alert Name and Alert Result to identify why that alert triggered.
Hi Dev Team, It has been a while since the last update version for this App was released (mid 2023) and now lost Splunk Cloud certification for compatibility. Can we please have this App revised to... See more...
Hi Dev Team, It has been a while since the last update version for this App was released (mid 2023) and now lost Splunk Cloud certification for compatibility. Can we please have this App revised to match Splunk Cloud requirements for compatibility? Thank you. Regards.  
@inventsekar  [Scada_walmart_alarm] DATETIME_CONFIG = KV_MODE = xml NO_BINARY_CHECK = true CHARSET = UTF-8 LINE_BREAKER = <\/eqtext\:EquipmentEvent NO_BINARY_CHECK = true SHOULD_LINEMERGE = f... See more...
@inventsekar  [Scada_walmart_alarm] DATETIME_CONFIG = KV_MODE = xml NO_BINARY_CHECK = true CHARSET = UTF-8 LINE_BREAKER = <\/eqtext\:EquipmentEvent NO_BINARY_CHECK = true SHOULD_LINEMERGE = false MAX_TIMESTAMP_LOOKAHEAD = 24 TIME_FORMAT = %FT%H:%M:%S.%3Q%Z #TIME_FORMAT = %Y-%m-%dT%H:%M:%S.%3N%Z TIME_PREFIX = \<eqtext\:EventTime\> SEDCMD-first = s/^.*<eqtext:EquipmentEvent/<eqtext:EquipmentEvent/g
Hi @uagraw01 pls show us your props.conf    (if you dont know where to find the props.... are you using HF or not... if u use HF, then props.conf should be there if you dont use HF, then, you sho... See more...
Hi @uagraw01 pls show us your props.conf    (if you dont know where to find the props.... are you using HF or not... if u use HF, then props.conf should be there if you dont use HF, then, you should have props.conf for this should be in indexer)
@yuanliu @inventsekar  When I ingested to Splunk both the times varies ( index and event time). Please see below screenshot.  
Hi @uagraw01  |makeresults | eval logs="2024-07-13T16:21:31.287Z" | eval time=strptime(logs,"%Y-%m-%dT%H:%M:%S.%Q") | eval date = strftime(time,"%Y-%m-%d %H:%M:%S") | table logs time date ... pls ... See more...
Hi @uagraw01  |makeresults | eval logs="2024-07-13T16:21:31.287Z" | eval time=strptime(logs,"%Y-%m-%dT%H:%M:%S.%Q") | eval date = strftime(time,"%Y-%m-%d %H:%M:%S") | table logs time date ... pls check "%Y-%m-%dT%H:%M:%S.%Q" 
Should be "%FT%H:%M:%S.%3Q%Z".  You can always test your time format with an emulation, like | makeresults format=csv data="eqtext:EventTime 2024-07-13T16:21:31.287Z" | eval _time = strptime('eqtext... See more...
Should be "%FT%H:%M:%S.%3Q%Z".  You can always test your time format with an emulation, like | makeresults format=csv data="eqtext:EventTime 2024-07-13T16:21:31.287Z" | eval _time = strptime('eqtext:EventTime', "%FT%H:%M:%S.%3Q%Z")  
Is there anyway to fix this error, given that it is may be caused by the application?
Try this:   index=xyz Feature IN (Create, Update, Search, Health) | timechart span=1m count as TotalHits, perc90(Elapsed) by Feature | appendpipe [stats max("Total Hits: *") as * | eval _ti... See more...
Try this:   index=xyz Feature IN (Create, Update, Search, Health) | timechart span=1m count as TotalHits, perc90(Elapsed) by Feature | appendpipe [stats max("Total Hits: *") as * | eval _time = "Total Hits"] | fields - "Total Hits: *" | appendpipe [stats max("perc90(Elapsed): *") as * | eval _time = "perc90(Elapsed)"] | fields - "perc90*" | tail 2 | transpose header_field=_time column_name=Feature | where Feature != "_span"   Two additional pointers: Do not use a second search line if Feature is already available in indexed data. Do not use a separate command for time bucket if you are going to use timechart. This is my emulation:   index=_internal | rename date_second as Elapsed, log_level as Feature | eval Feature = case(Feature == "INFO", "Create", Feature == "WARN", "Health", Feature == "ERROR", "Search", true(), "Update") ``` the above emulates index=xyz Feature IN (Create, Update, Search, Health) ```   With this, the result is Feature perc90(Elapsed) Total Hits Create 59.000000000000000 1283 Health 48.700000000000000 191 Search 59 212 Update 52.000000000000000 551