Which of the following searches would create a graph similar to the one below?
Correct Answer: C
The following search would create a graph similar to the one below: index_internal sourcetype=Savesplunker | fields sourcetype, status | transaction status maxspan=1d | timechart count by status The search does the following: It uses index_internal to specify the internal index that contains Splunk logs and metrics. It uses sourcetype=Savesplunker to filter events by the sourcetype that indicates the Splunk Enterprise Security app. It uses fields sourcetype, status to keep only the sourcetype and status fields in the events. It uses transaction status maxspan=1d to group events into transactions based on the status field with a maximum time span of one day between the first and last events in a transaction. It uses timechart count by status to create a time-based chart that shows the count of transactions for each status value over time. The graph shows the following: It is a line graph with two lines, one yellow and one blue. The x-axis is labeled with dates from Wed, Apr 4, 2018 to Tue, Apr 10, 2018. The y-axis is labeled with numbers from 0 to 15. The yellow line represents "shipped" and the blue line represents "success". The yellow line has a steady increase from 0 to 15, while the blue line has a sharp increase from 0 to 5, then a decrease to 0, and then a sharp increase to 10. The graph is titled "Type". Therefore, option C is the correct answer.
Question 27
A field alias is created where field1-fieid2 and the Overwrite Field Values checkbox is selected. What happens if an event only contains values for fieid1?
Correct Answer: D
The correct answer is D. field2 values are replaced with the value of the field1. A field alias is a way to associate an additional (new) name with an existing field name. A field alias can be used to normalize fields from different sources that have different names but represent the same data. Field aliases can also be used to rename fields for clarity or convenience1. When you create a field alias in Splunk Web, you can select the Overwrite Field Values option to change the behavior of the field alias. This option affects how the Splunk software handles situations where the original field has no value or does not exist, as well as situations where the alias field already exists as a field in your events, alongside the original field2. If you select the Overwrite Field Values option, the following rules apply: * If the original field does not exist or has no value in an event, the alias field is removed from that event. * If the original field and the alias field both exist in an event, the value of the alias field is replaced with the value of the original field. If you do not select the Overwrite Field Values option, the following rules apply: * If the original field does not exist or has no value in an event, the alias field is unchanged in that event. * If the original field and the alias field both exist in an event, both fields are retained with their respective values. Therefore, if you create a field alias where field1-field2 and select the Overwrite Field Values option, and an event only contains values for field1, then the value of field2 will be replaced with the value of field1. References: * About calculated fields * About field aliases * Create field aliases in Splunk Web
Question 28
What fields does the transaction command add to the raw events? (select all that apply)
Correct Answer: B,D
Explanation Hello, this is Bing. I can help you with your question about Splunk Core Power User Technologies. The correct answers are B. duration and D. transaction id. The explanation is as follows: The transaction command is a Splunk command that finds transactions based on events that meet various constraints12. Transactions are made up of the raw text (the _raw field) of each member, the time and date fields of the earliest member, as well as the union of all other fields of each member12. The transaction command adds some fields to the raw events that are part of the transaction123. These fields are: duration: The difference, in seconds, between the timestamps for the first and last events in the transaction123. eventcount: The number of events in the transaction123. transaction_id: A unique identifier for each transaction3. This field is useful for filtering or joining transactions3. Therefore, the fields that the transaction command adds to the raw events are duration and transaction_id, which are options B and D in your question.
Question 29
In which Settings section are macros defined?
Correct Answer: B
Question 30
Which of the following knowledge objects represents the output of an eval expression?
Correct Answer: B
Reference: https://docs.splunk.com/Splexicon:Calculatedfield The eval command is used to create new fields or modify existing fields based on an expression2. The output of an eval expression is a calculated field, which is a field that you create based on the value of another field or fields2. You can use calculated fields to enrich your data with additional information or to transform your data into a more useful format2. Therefore, option B is correct, while options A, C and D are incorrect because they are not names of knowledge objects that represent the output of an eval expression.