I have a file that looks like the following:
Previously, tried creating a slider based on datetime, but could not get the slider to work down to the millisecond. My work around was to abstract the timestamp to a line number and provide a slider so they can filter lines down to the approximate timestamps they are looking for within the logcat.
minLine=min(df['lineNum']) maxLine=max(df['lineNum']) dtSelection=st.sidebar.slider("Filter Line Number",0,1,(minLine,maxLine)) ...... st.dataframe(df[(df.priority.isin(prioritySelection)) & (df.lineNum.between(dtSelection, dtSelection)) & (df.app.str.contains(keyword)) & (df.message.str.contains(keyword))])
Users do not really like this experience–which I agree with from their perspective.
Is there a way to have the slider use timestamps rather than line numbers?
Is there a way to use a user input field to search for a timestamp range instead?