diff operator - Search Language Test (oxiclean)
- search test: diff operator through the UI.
comment splunk> start with '/'
open / (open the main interface)
comment Wait for server response 'completed'
waitForDispatchCompleted 5000
comment Change time line to 'All Time'
select //select[@id='timelineValues'] value=ALL_TIME
comment Clear search and hit report tab
type //textarea[@id='entry']
click //input[@id='entrySubmit'] (Click submit button)
comment Wait for server response 'completed'
waitForDispatchCompleted 10000
comment **** diff Simple Case (_raw) ****
type //textarea[@id='entry'] index::sampledata | diff 1 3
click //input[@id='entrySubmit'] (Click submit button)
comment Wait for query to load
waitForDispatchCompleted 100000
comment Validate that we have diff text
verifyText //div[@id='eventResults']//div[@id='r0'] *diff*